Skip to content

Commit

Permalink
feat: actuation cmd interface (#78)
Browse files Browse the repository at this point in the history
Signed-off-by: Takagi, Isamu <[email protected]>
  • Loading branch information
isamu-takagi authored Sep 26, 2024
1 parent 39f97ae commit c2dfcf0
Show file tree
Hide file tree
Showing 2 changed files with 52 additions and 18 deletions.
35 changes: 26 additions & 9 deletions docs/specifications/interface.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,18 @@
| Service | `/control/control_mode_request` | `autoware_auto_vehicle_msgs/srv/ControlModeCommand` |
| Publisher | `/vehicle/status/control_mode` | `autoware_auto_vehicle_msgs/msg/ControlModeReport` |
| Subscription | `/control/command/control_cmd` | `autoware_auto_control_msgs/msg/AckermannControlCommand` |
| Subscription | `/control/command/actuation_cmd` | `tier4_vehicle_msgs/msg/ActuationCommandStamped` |
| Publisher | `/vehicle/status/actuation_status` | `tier4_vehicle_msgs/msg/ActuationStatusStamped` |
| Publisher | `/vehicle/status/velocity_status` | `autoware_auto_vehicle_msgs/msg/VelocityReport` |
| Publisher | `/vehicle/status/steering_status` | `autoware_auto_vehicle_msgs/msg/SteeringReport` |
| Subscription | `/control/command/gear_cmd` | `autoware_auto_vehicle_msgs/msg/GearCommand` |
| Publisher | `/vehicle/status/gear_status` | `autoware_auto_vehicle_msgs/msg/GearReport` |
| Publisher | `/sensing/gnss/pose_with_covariance` | `geometry_msgs/msg/PoseWithCovarianceStamped` |
| Publisher | `/sensing/imu/imu_raw` | `sensor_msgs/msg/Imu` |
| Publisher | `/aichallenge/objects` | `sstd_msgs/msg/Float64MultiArray` |
| Publisher | `/aichallenge/pitstop/area` | `std_msgs.msg.Float64MultiArray` |
| Publisher | `/aichallenge/pitstop/condition` | `std_msgs.msg.Int32` |
| Publisher | `/aichallenge/pitstop/status` | `std_msgs.msg.Float32` |

<!--
| Subscription | `/vehicle/status/actuation_status` | `tier4_vehicle_msgs/msg/ActuationCommandStamped` |
| Publisher | `/vehicle/status/actuation_status` | `tier4_vehicle_msgs/msg/ActuationStatusStamped` |
-->
| Publisher | `/aichallenge/objects` | `std_msgs/msg/Float64MultiArray` |
| Publisher | `/aichallenge/pitstop/area` | `std_msgs/msg/Float64MultiArray` |
| Publisher | `/aichallenge/pitstop/condition` | `std_msgs/msg/Int32` |
| Publisher | `/aichallenge/pitstop/status` | `std_msgs/msg/Float32` |

### `/control/command/control_cmd`

Expand All @@ -36,6 +33,26 @@
| longitudinal.acceleration | Target acceleration |
| longitudinal.jerk | Unused |

### `/control/command/actuation_cmd`

| Name | Description |
| --------------------- | -------------------------------- |
| header.stamp | Message timestamp |
| header.frame_id | Unused |
| actuation.accel_cmd | Accel command value (0.0 to 1.0) |
| actuation.brake_cmd | Brake command value (0.0 to 1.0) |
| actuation.steer_cmd | Tire angle command value (rad) |

### `/vehicle/status/actuation_status`

| Name | Description |
| --------------------- | -------------------------------- |
| header.stamp | Data acquisition time |
| header.frame_id | Unused |
| status.accel_status | Accel current value (0.0 to 1.0) |
| status.brake_status | Brake current value (0.0 to 1.0) |
| status.steer_status | Tire angle current value (rad) |

### `/vehicle/status/velocity_status`

| Name | Description |
Expand Down
35 changes: 26 additions & 9 deletions docs/specifications/interface.ja.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,18 @@
| Service | `/control/control_mode_request` | `autoware_auto_vehicle_msgs/srv/ControlModeCommand` |
| Publisher | `/vehicle/status/control_mode` | `autoware_auto_vehicle_msgs/msg/ControlModeReport` |
| Subscription | `/control/command/control_cmd` | `autoware_auto_control_msgs/msg/AckermannControlCommand` |
| Subscription | `/control/command/actuation_cmd` | `tier4_vehicle_msgs/msg/ActuationCommandStamped` |
| Publisher | `/vehicle/status/actuation_status` | `tier4_vehicle_msgs/msg/ActuationStatusStamped` |
| Publisher | `/vehicle/status/velocity_status` | `autoware_auto_vehicle_msgs/msg/VelocityReport` |
| Publisher | `/vehicle/status/steering_status` | `autoware_auto_vehicle_msgs/msg/SteeringReport` |
| Subscription | `/control/command/gear_cmd` | `autoware_auto_vehicle_msgs/msg/GearCommand` |
| Publisher | `/vehicle/status/gear_status` | `autoware_auto_vehicle_msgs/msg/GearReport` |
| Publisher | `/sensing/gnss/pose_with_covariance` | `geometry_msgs/msg/PoseWithCovarianceStamped` |
| Publisher | `/sensing/imu/imu_raw` | `sensor_msgs/msg/Imu` |
| Publisher | `/aichallenge/objects` | `std_msgs.msg.Float64MultiArray` |
| Publisher | `/aichallenge/pitstop/area` | `std_msgs.msg.Float64MultiArray` |
| Publisher | `/aichallenge/pitstop/condition` | `std_msgs.msg.Int32` |
| Publisher | `/aichallenge/pitstop/status` | `std_msgs.msg.Float32` |

<!--
| Subscription | `/vehicle/status/actuation_status` | `tier4_vehicle_msgs/msg/ActuationCommandStamped` |
| Publisher | `/vehicle/status/actuation_status` | `tier4_vehicle_msgs/msg/ActuationStatusStamped` |
-->
| Publisher | `/aichallenge/objects` | `std_msgs/msg/Float64MultiArray` |
| Publisher | `/aichallenge/pitstop/area` | `std_msgs/msg/Float64MultiArray` |
| Publisher | `/aichallenge/pitstop/condition` | `std_msgs/msg/Int32` |
| Publisher | `/aichallenge/pitstop/status` | `std_msgs/msg/Float32` |

### `/control/command/control_cmd`

Expand All @@ -36,6 +33,26 @@
| longitudinal.acceleration | 目標加速度 |
| longitudinal.jerk | 未使用 |

### `/control/command/actuation_cmd`

| Name | Description |
| --------------------- | --------------------------- |
| header.stamp | メッセージの送信時刻 |
| header.frame_id | 未使用 |
| actuation.accel_cmd | アクセル指示値 (0.0 〜 1.0) |
| actuation.brake_cmd | ブレーキ指示値 (0.0 〜 1.0) |
| actuation.steer_cmd | タイヤ角指示値 (rad) |

### `/vehicle/status/actuation_status`

| Name | Description |
| --------------------- | --------------------------- |
| header.stamp | データの取得時刻 |
| header.frame_id | 未使用 |
| status.accel_status | アクセル現在値 (0.0 〜 1.0) |
| status.brake_status | ブレーキ現在値 (0.0 〜 1.0) |
| status.steer_status | タイヤ角現在値 (rad) |

### `/vehicle/status/velocity_status`

| Name | Description |
Expand Down

0 comments on commit c2dfcf0

Please sign in to comment.