|
| 1 | +# autoware_control_msgs |
| 2 | + |
| 3 | +## Design |
| 4 | + |
| 5 | +Vehicle dimensions and axes: <https://autowarefoundation.github.io/autoware-documentation/main/design/autoware-interfaces/components/vehicle-dimensions/> |
| 6 | + |
| 7 | +### Lateral.msg |
| 8 | + |
| 9 | +Defines a lateral control command message with a timestamp. |
| 10 | + |
| 11 | +The message conveys the expectation for vehicle's lateral state to be in the given configuration in the time point: `control_time`. |
| 12 | + |
| 13 | +- The field `steering_tire_angle` is required. |
| 14 | +- The field `steering_tire_rotation_rate` is optional but may be required by some nodes. |
| 15 | + - If this field is used, `is_defined_steering_tire_rotation_rate` must be set `true`. |
| 16 | + |
| 17 | +### Longitudinal.msg |
| 18 | + |
| 19 | +Defines a longitudinal control command message with a timestamp. |
| 20 | + |
| 21 | +The message conveys the expectation for vehicle's longitudinal state to be in the given configuration in the time point: `control_time`. |
| 22 | + |
| 23 | +- The field `velocity` is required. |
| 24 | +- The field `acceleration` is optional but may be required by some nodes. |
| 25 | + - If this field is used, `is_defined_acceleration` must be set `true`. |
| 26 | +- The field `jerk` is optional but may be required by some nodes. |
| 27 | + - If this field is used, `is_defined_jerk` must be set `true`. |
| 28 | + |
| 29 | +### Control.msg |
| 30 | + |
| 31 | +Defines a control command message, combining `Lateral.msg` and `Longitudinal.msg`. |
| 32 | + |
| 33 | +The message conveys the expectation for vehicle's combined control state to be in the given configuration in the time point: `control_time`. |
| 34 | + |
| 35 | +If the `control_time` is defined, the `control_time` field in the `lateral` and `longitudinal` fields are ignored. |
| 36 | + |
| 37 | +### ControlHorizon.msg |
| 38 | + |
| 39 | +Defines a control commands array calculated for a future horizon. |
| 40 | + |
| 41 | +- Control messages are ordered from near to far future `[0 to N)` with `time_step_ms` increments. |
| 42 | +- First element of the array contains the control signals at the `control_time` of this message. |
| 43 | +- The `control_time` field in each element of the controls array can be ignored. |
0 commit comments