|
Formula Student Autonomous Systems
The code for the main driverless system
|
Classes | |
| class | PublishThread |
| Thread to publish control commands to the robot. More... | |
Functions | |
| get_key (settings, timeout) | |
| Get a single key from the user. | |
| print_status (acceleration, steering) | |
| Print current status without clearing the screen. | |
| create_bar (value, min_val, max_val, length) | |
| Create a visual bar representation of a value. | |
| main () | |
| Main function to control the pacsim robot using the keyboard. | |
Variables | |
| lateral_command_msg = StampedScalar() | |
| longitudinal_command_msg = StampedScalar() | |
| str | help_msg |
| car_keys.main.create_bar | ( | value, | |
| min_val, | |||
| max_val, | |||
| length | |||
| ) |
| car_keys.main.get_key | ( | settings, | |
| timeout | |||
| ) |
| car_keys.main.main | ( | ) |
| car_keys.main.print_status | ( | acceleration, | |
| steering | |||
| ) |
| str car_keys.main.help_msg |
| car_keys.main.lateral_command_msg = StampedScalar() |
| car_keys.main.longitudinal_command_msg = StampedScalar() |