Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Signed-off-by: kosuke murakami <kosuke.murakami@tier4.jp>
Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

Co-authored-by: Kosuke Murakami <kosuke.murakami@tier4.jp>
Co-authored-by: Takeshi Miura <57553950+1222-takeshi@users.noreply.github.com>
  • Loading branch information
3 people authored Dec 8, 2021
1 parent 3f89b9f commit eb29d93
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions control/external_cmd_selector/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# external_cmd_selector

## Purpose

`external_cmd_selector` is the package to publish `external_control_cmd`, `gear_cmd`, `hazard_lights_cmd`, `heartbeat` and `turn_indicators_cmd`, according to the current mode, which is `remote` or `local`.

The current mode is set via service, `remote` is remotely operated, `local` is to use the values calculated by Autoware.

## Input / Output

### Input topics

| Name | Type | Description |
| ---------------------------------------------- | ---- | ------------------------------------------------------- |
| `/api/external/set/command/local/control` | TBD | Local. Calculated control value. |
| `/api/external/set/command/local/heartbeat` | TBD | Local. Heartbeat. |
| `/api/external/set/command/local/shift` | TBD | Local. Gear shift like drive, rear and etc. |
| `/api/external/set/command/local/turn_signal` | TBD | Local. Turn signal like left turn, right turn and etc. |
| `/api/external/set/command/remote/control` | TBD | Remote. Calculated control value. |
| `/api/external/set/command/remote/heartbeat` | TBD | Remote. Heartbeat. |
| `/api/external/set/command/remote/shift` | TBD | Remote. Gear shift like drive, rear and etc. |
| `/api/external/set/command/remote/turn_signal` | TBD | Remote. Turn signal like left turn, right turn and etc. |

### Output topics

| Name | Type | Description |
| ------------------------------------------------------ | ------------------------------------------------------ | ----------------------------------------------- |
| `/control/external_cmd_selector/current_selector_mode` | TBD | Current selected mode, remote or local. |
| `/diagnostics` | diagnostic_msgs::msg::DiagnosticArray | Check if node is active or not. |
| `/external/selected/external_control_cmd` | TBD | Pass through control command with current mode. |
| `/external/selected/gear_cmd` | autoware_auto_vehicle_msgs::msg::GearCommand | Pass through gear command with current mode. |
| `/external/selected/hazard_lights_cmd` | autoware_auto_vehicle_msgs::msg::HazardLightsCommand | Pass through hazard light with current mode. |
| `/external/selected/heartbeat` | TBD | Pass through heartbeat with current mode. |
| `/external/selected/turn_indicators_cmd` | autoware_auto_vehicle_msgs::msg::TurnIndicatorsCommand | Pass through turn indicator with current mode. |

0 comments on commit eb29d93

Please sign in to comment.