Skip to content

Commit

Permalink
Use EmergencyState instead of deprecated EmergencyMode (autowarefound…
Browse files Browse the repository at this point in the history
…ation#390)

* Use EmergencyState instead of deprecated EmergencyMode

Signed-off-by: Kenji Miyake <[email protected]>

* Update control.launch.py
  • Loading branch information
kenji-miyake authored Sep 10, 2021
1 parent 2a66503 commit b3b834f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions control_launch/launch/control.launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,8 +174,7 @@ def launch_setup(context, *args, **kwargs):
plugin='VehicleCmdGate',
name='vehicle_cmd_gate',
remappings=[
('input/system_emergency', '/system/emergency/is_emergency'),
('input/emergency', '/system/emergency/is_emergency'),
('input/emergency_state', '/system/emergency/emergency_state'),
('input/steering', '/vehicle/status/steering'),

('input/auto/control_cmd', 'trajectory_follower/control_cmd'),
Expand All @@ -185,7 +184,7 @@ def launch_setup(context, *args, **kwargs):
('input/external/control_cmd', '/external/selected/control_cmd'),
('input/external/turn_signal_cmd', '/external/selected/turn_signal_cmd'),
('input/external/shift_cmd', '/external/selected/shift_cmd'),
('input/external_emergency_stop', '/external/selected/heartbeat'),
('input/external_emergency_stop_heartbeat', '/external/selected/heartbeat'),
('input/gate_mode', '/control/gate_mode_cmd'),

('input/emergency/control_cmd', '/system/emergency/control_cmd'),
Expand Down

0 comments on commit b3b834f

Please sign in to comment.