|
3 | 3 | <arg name="interface_output_topic" default="/planning/scenario_planning/lane_driving/trajectory"/>
|
4 | 4 |
|
5 | 5 | <arg name="launch_out_of_lane_module" default="true"/>
|
| 6 | + <arg name="launch_obstacle_velocity_limiter_module" default="true"/> |
6 | 7 | <!-- <arg name="launch_dynamic_obstacle_stop_module" default="true"/> -->
|
7 | 8 | <arg name="launch_module_list_end" default="""]"/>
|
8 | 9 |
|
|
13 | 14 | value="$(eval "'$(var motion_velocity_planner_launch_modules)' + 'autoware::motion_velocity_planner::OutOfLaneModule, '")"
|
14 | 15 | if="$(var launch_out_of_lane_module)"
|
15 | 16 | />
|
| 17 | + <let |
| 18 | + name="motion_velocity_planner_launch_modules" |
| 19 | + value="$(eval "'$(var motion_velocity_planner_launch_modules)' + 'autoware::motion_velocity_planner::ObstacleVelocityLimiterModule, '")" |
| 20 | + if="$(var launch_obstacle_velocity_limiter_module)" |
| 21 | + /> |
16 | 22 | <!-- <let -->
|
17 | 23 | <!-- name="motion_velocity_planner_launch_modules" -->
|
18 | 24 | <!-- value="$(eval "'$(var motion_velocity_planner_launch_modules)' + 'motion_velocity_planner::DynamicObstacleStopModule, '")" -->
|
|
135 | 141 | <param from="$(var motion_velocity_planner_velocity_smoother_type_param_path)"/>
|
136 | 142 | <param from="$(var motion_velocity_planner_param_path)"/>
|
137 | 143 | <param from="$(var motion_velocity_planner_out_of_lane_module_param_path)"/>
|
| 144 | + <param from="$(var motion_velocity_planner_obstacle_velocity_limiter_param_path)"/> |
138 | 145 | <!-- <param from="$(var motion_velocity_planner_template_param_path)"/> -->
|
139 | 146 | <!-- composable node config -->
|
140 | 147 | <extra_arg name="use_intra_process_comms" value="false"/>
|
141 | 148 | </composable_node>
|
142 | 149 | </load_composable_node>
|
143 | 150 | </group>
|
144 |
| - <!-- velocity limiter TODO(Maxime): move this node to the motion_velocity_planner --> |
145 |
| - <group> |
146 |
| - <load_composable_node target="/planning/scenario_planning/lane_driving/motion_planning/motion_planning_container"> |
147 |
| - <composable_node pkg="obstacle_velocity_limiter" plugin="obstacle_velocity_limiter::ObstacleVelocityLimiterNode" name="obstacle_velocity_limiter" namespace=""> |
148 |
| - <!-- topic remap --> |
149 |
| - <remap from="~/input/trajectory" to="motion_velocity_planner/trajectory"/> |
150 |
| - <remap from="~/input/odometry" to="/localization/kinematic_state"/> |
151 |
| - <remap from="~/input/dynamic_obstacles" to="/perception/object_recognition/objects"/> |
152 |
| - <remap from="~/input/occupancy_grid" to="/perception/occupancy_grid_map/map"/> |
153 |
| - <remap from="~/input/obstacle_pointcloud" to="/perception/obstacle_segmentation/pointcloud"/> |
154 |
| - <remap from="~/input/map" to="/map/vector_map"/> |
155 |
| - <remap from="~/output/trajectory" to="obstacle_velocity_limiter/trajectory"/> |
156 |
| - <remap from="~/output/debug_markers" to="debug_markers"/> |
157 |
| - <!-- params --> |
158 |
| - <param from="$(var common_param_path)"/> |
159 |
| - <param from="$(var vehicle_param_file)"/> |
160 |
| - <param from="$(var nearest_search_param_path)"/> |
161 |
| - <param from="$(var obstacle_velocity_limiter_param_path)"/> |
162 |
| - <!-- composable node config --> |
163 |
| - <extra_arg name="use_intra_process_comms" value="false"/> |
164 |
| - </composable_node> |
165 |
| - </load_composable_node> |
166 |
| - </group> |
167 | 151 |
|
168 | 152 | <!-- obstacle stop, adaptive cruise -->
|
169 | 153 | <group>
|
170 | 154 | <group if="$(eval "'$(var motion_stop_planner_type)' == 'obstacle_cruise_planner'")">
|
171 | 155 | <load_composable_node target="/planning/scenario_planning/lane_driving/motion_planning/motion_planning_container">
|
172 | 156 | <composable_node pkg="autoware_obstacle_cruise_planner" plugin="autoware::motion_planning::ObstacleCruisePlannerNode" name="obstacle_cruise_planner" namespace="">
|
173 | 157 | <!-- topic remap -->
|
174 |
| - <remap from="~/input/trajectory" to="obstacle_velocity_limiter/trajectory"/> |
| 158 | + <remap from="~/input/trajectory" to="motion_velocity_planner/trajectory"/> |
175 | 159 | <remap from="~/input/odometry" to="/localization/kinematic_state"/>
|
176 | 160 | <remap from="~/input/acceleration" to="/localization/acceleration"/>
|
177 | 161 | <remap from="~/input/objects" to="/perception/object_recognition/objects"/>
|
|
194 | 178 | <load_composable_node target="/planning/scenario_planning/lane_driving/motion_planning/motion_planning_container">
|
195 | 179 | <composable_node pkg="obstacle_stop_planner" plugin="motion_planning::ObstacleStopPlannerNode" name="obstacle_stop_planner" namespace="">
|
196 | 180 | <!-- topic remap -->
|
197 |
| - <remap from="~/input/trajectory" to="obstacle_velocity_limiter/trajectory"/> |
| 181 | + <remap from="~/input/trajectory" to="motion_velocity_planner/trajectory"/> |
198 | 182 | <remap from="~/input/odometry" to="/localization/kinematic_state"/>
|
199 | 183 | <remap from="~/input/acceleration" to="/localization/acceleration"/>
|
200 | 184 | <remap from="~/input/pointcloud" to="/perception/obstacle_segmentation/pointcloud"/>
|
|
219 | 203 | <load_composable_node target="/planning/scenario_planning/lane_driving/motion_planning/motion_planning_container">
|
220 | 204 | <composable_node pkg="topic_tools" plugin="topic_tools::RelayNode" name="obstacle_stop_relay" namespace="">
|
221 | 205 | <!-- params -->
|
222 |
| - <param name="input_topic" value="obstacle_velocity_limiter/trajectory"/> |
| 206 | + <param name="input_topic" value="motion_velocity_planner/trajectory"/> |
223 | 207 | <param name="output_topic" value="$(var interface_output_topic)"/>
|
224 | 208 | <param name="type" value="autoware_planning_msgs/msg/Trajectory"/>
|
225 | 209 | <!-- composable node config -->
|
|
0 commit comments