Autonomous Racing  1
f1tenth Project Group of Technical University Dortmund, Germany
simulation_tools.speedometer Namespace Reference

Functions

def model_state_callback (message)
 
def link_state_callback (message)
 
def calculate_car_velocity ()
 
def calculate_wheel_velocity ()
 
def show_info ()
 
def calculate_velocity (event)
 

Variables

 wheel_velocity = None
 
 car_velocity = None
 
int max_car_velocity = 0
 
 model_states_message = None
 
 link_states_message = None
 
list LINK_NAMES
 
float WHEEL_RADIUS = 0.05
 
bool idle = True
 

Function Documentation

def simulation_tools.speedometer.calculate_car_velocity ( )

Definition at line 26 of file speedometer.py.

Here is the caller graph for this function:

def simulation_tools.speedometer.calculate_velocity (   event)

Definition at line 81 of file speedometer.py.

Here is the call graph for this function:

def simulation_tools.speedometer.calculate_wheel_velocity ( )

Definition at line 44 of file speedometer.py.

Here is the caller graph for this function:

def simulation_tools.speedometer.link_state_callback (   message)

Definition at line 21 of file speedometer.py.

def simulation_tools.speedometer.model_state_callback (   message)

Definition at line 16 of file speedometer.py.

def simulation_tools.speedometer.show_info ( )

Definition at line 55 of file speedometer.py.

Here is the caller graph for this function:

Variable Documentation

simulation_tools.speedometer.car_velocity = None

Definition at line 9 of file speedometer.py.

bool simulation_tools.speedometer.idle = True

Definition at line 78 of file speedometer.py.

list simulation_tools.speedometer.LINK_NAMES
Initial value:
1 = [
2  'racer::left_wheel_front',
3  'racer::left_wheel_back',
4  'racer::right_wheel_front',
5  'racer::right_wheel_back']

Definition at line 36 of file speedometer.py.

simulation_tools.speedometer.link_states_message = None

Definition at line 13 of file speedometer.py.

int simulation_tools.speedometer.max_car_velocity = 0

Definition at line 10 of file speedometer.py.

simulation_tools.speedometer.model_states_message = None

Definition at line 12 of file speedometer.py.

float simulation_tools.speedometer.WHEEL_RADIUS = 0.05

Definition at line 41 of file speedometer.py.

simulation_tools.speedometer.wheel_velocity = None

Definition at line 8 of file speedometer.py.