|
45 | 45 | <let name="container_executable" value="component_container" unless="$(var use_multithread)"/>
|
46 | 46 | <let name="container_executable" value="component_container_mt" if="$(var use_multithread)"/>
|
47 | 47 |
|
| 48 | + <!-- temporary: control_command_gate migration --> |
| 49 | + <arg name="use_control_command_gate" default="false"/> |
| 50 | + |
48 | 51 | <group>
|
49 | 52 | <push-ros-namespace namespace="control"/>
|
50 | 53 |
|
| 54 | + <group if="$(var use_control_command_gate)"> |
| 55 | + <include file="$(find-pkg-share autoware_control_command_gate)/launch/control_command_gate.launch.xml"/> |
| 56 | + </group> |
| 57 | + <group if="$(var use_control_command_gate)"> |
| 58 | + <include file="$(find-pkg-share autoware_stop_mode_operator)/launch/stop_mode_operator.launch.xml"/> |
| 59 | + </group> |
| 60 | + |
51 | 61 | <group>
|
52 | 62 | <!-- set a control container to run all required components in the same process -->
|
53 | 63 | <node_container pkg="rclcpp_components" exec="$(var container_executable)" name="control_container" namespace="">
|
|
61 | 71 | <param from="$(var shift_decider_param_path)"/>
|
62 | 72 | <extra_arg name="use_intra_process_comms" value="$(var use_intra_process)"/>
|
63 | 73 | </composable_node>
|
| 74 | + |
64 | 75 | <!-- vehicle cmd gate -->
|
65 |
| - <composable_node pkg="autoware_vehicle_cmd_gate" plugin="autoware::vehicle_cmd_gate::VehicleCmdGate" name="vehicle_cmd_gate"> |
| 76 | + <composable_node pkg="autoware_vehicle_cmd_gate" plugin="autoware::vehicle_cmd_gate::VehicleCmdGate" name="vehicle_cmd_gate" unless="$(var use_control_command_gate)"> |
66 | 77 | <remap from="input/steering" to="/vehicle/status/steering_status"/>
|
67 | 78 | <remap from="input/operation_mode" to="/system/operation_mode/state"/>
|
68 | 79 | <remap from="input/auto/control_cmd" to="/control/trajectory_follower/control_cmd"/>
|
|
101 | 112 | <param name="check_external_emergency_heartbeat" value="$(var check_external_emergency_heartbeat)"/>
|
102 | 113 | <extra_arg name="use_intra_process_comms" value="$(var use_intra_process)"/>
|
103 | 114 | </composable_node>
|
| 115 | + |
104 | 116 | <!-- operation mode transition manager -->
|
105 | 117 | <composable_node
|
106 | 118 | pkg="autoware_operation_mode_transition_manager"
|
107 | 119 | plugin="autoware::operation_mode_transition_manager::OperationModeTransitionManager"
|
108 | 120 | name="autoware_operation_mode_transition_manager"
|
| 121 | + unless="$(var use_control_command_gate)" |
109 | 122 | >
|
110 | 123 | <!-- input -->
|
111 | 124 | <remap from="kinematics" to="/localization/kinematic_state"/>
|
|
0 commit comments