Skip to content

Commit

Permalink
fix: modified to reflect the argument "initial_selector_mode" in cont…
Browse files Browse the repository at this point in the history
…rol launch (porting autowarefoundation#496) (autowarefoundation#564)

fix: modified to reflect the argument "initial_selector_mode" in control launch (autowarefoundation#496)

Co-authored-by: Azumi Suzuki <[email protected]>
  • Loading branch information
h-ohta and s-azumi authored Nov 15, 2022
1 parent 61fe153 commit a5076ee
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion control_launch/launch/control.launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ def launch_setup(context, *args, **kwargs):
launch_arguments=[
("use_intra_process", LaunchConfiguration("use_intra_process")),
("target_container", "/control/control_container"),
("initial_selector_mode", "remote"),
("initial_selector_mode", LaunchConfiguration("initial_selector_mode")),
],
)

Expand Down
2 changes: 2 additions & 0 deletions control_launch/launch/control.launch.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
<arg name="vehicle_cmd_gate_param_path" default="$(find-pkg-share control_launch)/config/vehicle_cmd_gate/vehicle_cmd_gate.param.yaml"/>
<arg name="operation_mode_transition_manager_param_path" default="$(find-pkg-share control_launch)/config/operation_mode_transition_manager/operation_mode_transition_manager.param.yaml"/>
<arg name="shift_decider_param_path" default="$(find-pkg-share control_launch)/config/shift_decider/shift_decider.param.yaml"/>
<arg name="initial_selector_mode" default="remote"/>
<arg name="use_external_emergency_stop" default="true"/>

<include file="$(find-pkg-share control_launch)/launch/control.launch.py">
Expand All @@ -15,6 +16,7 @@
<arg name="vehicle_cmd_gate_param_path" value="$(var vehicle_cmd_gate_param_path)"/>
<arg name="operation_mode_transition_manager_param_path" value="$(var operation_mode_transition_manager_param_path)"/>
<arg name="shift_decider_param_path" value="$(var shift_decider_param_path)"/>
<arg name="initial_selector_mode" value="$(var initial_selector_mode)"/>
<arg name="use_external_emergency_stop" value="$(var use_external_emergency_stop)"/>
</include>

Expand Down

0 comments on commit a5076ee

Please sign in to comment.