Thread to publish control commands to the robot.
More...
Thread to publish control commands to the robot.
Definition at line 28 of file main.py.
◆ __init__()
| pacsim_keys.main.PublishThread.__init__ |
( |
|
self, |
|
|
|
rate |
|
) |
| |
Constructor for the PublishThread class.
- Parameters
-
| rate | Rate at which to publish control commands |
Definition at line 33 of file main.py.
◆ run()
| pacsim_keys.main.PublishThread.run |
( |
|
self | ) |
|
◆ stop()
| pacsim_keys.main.PublishThread.stop |
( |
|
self | ) |
|
◆ update()
| pacsim_keys.main.PublishThread.update |
( |
|
self, |
|
|
float |
acceleration, |
|
|
float |
steering_angle |
|
) |
| |
Update the control commands to be published.
- Parameters
-
| acceleration | Acceleration value |
| steering_angle | Steering angle value |
Definition at line 57 of file main.py.
◆ acceleration
| pacsim_keys.main.PublishThread.acceleration |
◆ acceleration_publisher
| pacsim_keys.main.PublishThread.acceleration_publisher |
◆ condition
| pacsim_keys.main.PublishThread.condition |
◆ done
| pacsim_keys.main.PublishThread.done |
◆ node
| pacsim_keys.main.PublishThread.node |
◆ steering_angle
| pacsim_keys.main.PublishThread.steering_angle |
◆ steering_publisher
| pacsim_keys.main.PublishThread.steering_publisher |
◆ timeout
| pacsim_keys.main.PublishThread.timeout |
The documentation for this class was generated from the following file:
- src/pacsim_keys/pacsim_keys/main.py