Skip to content

Commit

Permalink
feat: add interface about pit stop
Browse files Browse the repository at this point in the history
Signed-off-by: Takagi, Isamu <[email protected]>
  • Loading branch information
isamu-takagi committed Jul 18, 2024
1 parent 75f7c79 commit e64367f
Show file tree
Hide file tree
Showing 2 changed files with 59 additions and 1 deletion.
29 changes: 29 additions & 0 deletions docs/specifications/interface.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@
| 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` |
Expand Down Expand Up @@ -92,3 +95,29 @@
| data[N * 4 + 1] | Y coordinate of Nth object |
| data[N * 4 + 2] | Z coordinate of Nth object |
| data[N * 4 + 3] | Radius of Nth object |

### `/aichallenge/pitstop/area`

| Name | Description |
| ------- | --------------------------------------------- |
| data[0] | X position of Pit Stop Area |
| data[1] | Y position of Pit Stop Area |
| data[2] | Z position of Pit Stop Area |
| data[3] | X quaternion of Pit Stop Area |
| data[4] | Y quaternion of Pit Stop Area |
| data[5] | Z quaternion of Pit Stop Area |
| data[6] | W quaternion of Pit Stop Area |
| data[7] | X size of of Pit Stop Area |
| data[8] | Y size of of Pit Stop Area |

### `/aichallenge/pitstop/condition`

| Name | Description |
| ---- | ----------------------- |
| data | Current condition value |

### `/aichallenge/pitstop/status`

| Name | Description |
| ---- | ------------------------------------- |
| data | Number of seconds a pit stop is valid |
31 changes: 30 additions & 1 deletion docs/specifications/interface.ja.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@
| 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/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` |
Expand Down Expand Up @@ -92,3 +95,29 @@
| data[N * 4 + 1] | N番目の仮想障害物のY座標 |
| data[N * 4 + 2] | N番目の仮想障害物のZ座標 |
| data[N * 4 + 3] | N番目の仮想障害物の半径 |

### `/aichallenge/pitstop/area`

| Name | Description |
| ------- | --------------------------------------------- |
| data[0] | ピットストップエリア中心のX座標 |
| data[1] | ピットストップエリア中心のY座標 |
| data[2] | ピットストップエリア中心のZ座標 |
| data[3] | ピットストップエリアの方向のクオータニオンX値 |
| data[4] | ピットストップエリアの方向のクオータニオンY値 |
| data[5] | ピットストップエリアの方向のクオータニオンZ値 |
| data[6] | ピットストップエリアの方向のクオータニオンW値 |
| data[7] | ピットストップエリアのX方向のサイズ |
| data[8] | ピットストップエリアのY方向のサイズ |

### `/aichallenge/pitstop/condition`

| Name | Description |
| ---- | ---------------------- |
| data | 車両のコンディション値 |

### `/aichallenge/pitstop/status`

| Name | Description |
| ---- | -------------------------------------- |
| data | ピットストップの判定が成立している秒数 |

0 comments on commit e64367f

Please sign in to comment.