|
180 | 180 | />
|
181 | 181 | <let name="behavior_velocity_planner_launch_modules" value="$(eval "'$(var behavior_velocity_planner_launch_modules)' + '$(var launch_module_list_end)'")"/>
|
182 | 182 |
|
183 |
| - <node pkg="behavior_path_planner" exec="behavior_path_planner_node" name="behavior_path_planner" namespace="" launch-prefix="xterm -l -lf /home/zulfaqar/develop/aw.txt -e gdb -ex run --args"> |
184 |
| - <!-- topic remap --> |
185 |
| - <remap from="~/input/route" to="$(var input_route_topic_name)"/> |
186 |
| - <remap from="~/input/vector_map" to="$(var input_vector_map_topic_name)"/> |
187 |
| - <remap from="~/input/perception" to="/perception/object_recognition/objects"/> |
188 |
| - <remap from="~/input/occupancy_grid_map" to="/perception/occupancy_grid_map/map"/> |
189 |
| - <remap from="~/input/costmap" to="/planning/scenario_planning/parking/costmap_generator/occupancy_grid"/> |
190 |
| - <remap from="~/input/traffic_signals" to="$(var input_traffic_light_topic_name)"/> |
191 |
| - <remap from="~/input/odometry" to="/localization/kinematic_state"/> |
192 |
| - <remap from="~/input/accel" to="/localization/acceleration"/> |
193 |
| - <remap from="~/input/scenario" to="/planning/scenario_planning/scenario"/> |
194 |
| - <remap from="~/output/path" to="path_with_lane_id"/> |
195 |
| - <remap from="~/output/turn_indicators_cmd" to="/planning/turn_indicators_cmd"/> |
196 |
| - <remap from="~/output/hazard_lights_cmd" to="/planning/behavior_path_planner/hazard_lights_cmd"/> |
197 |
| - <remap from="~/output/modified_goal" to="/planning/scenario_planning/modified_goal"/> |
198 |
| - <remap from="~/output/stop_reasons" to="/planning/scenario_planning/status/stop_reasons"/> |
199 |
| - <!-- params --> |
200 |
| - <param from="$(var common_param_path)"/> |
201 |
| - <param from="$(var vehicle_param_file)"/> |
202 |
| - <param from="$(var nearest_search_param_path)"/> |
203 |
| - <param name="launch_modules" value="$(var behavior_path_planner_launch_modules)"/> |
204 |
| - <param name="enable_all_modules_auto_mode" value="$(var enable_all_modules_auto_mode)"/> |
205 |
| - <param name="is_simulation" value="$(var is_simulation)"/> |
206 |
| - <param from="$(var behavior_path_planner_side_shift_module_param_path)"/> |
207 |
| - <param from="$(var behavior_path_planner_avoidance_module_param_path)"/> |
208 |
| - <param from="$(var behavior_path_planner_avoidance_by_lc_module_param_path)"/> |
209 |
| - <param from="$(var behavior_path_planner_dynamic_avoidance_module_param_path)"/> |
210 |
| - <param from="$(var behavior_path_planner_lane_change_module_param_path)"/> |
211 |
| - <param from="$(var behavior_path_planner_goal_planner_module_param_path)"/> |
212 |
| - <param from="$(var behavior_path_planner_start_planner_module_param_path)"/> |
213 |
| - <param from="$(var behavior_path_planner_drivable_area_expansion_param_path)"/> |
214 |
| - <param from="$(var behavior_path_planner_scene_module_manager_param_path)"/> |
215 |
| - <param from="$(var behavior_path_planner_common_param_path)"/> |
216 |
| - <!-- composable node config --> |
217 |
| - </node> |
218 |
| - |
219 | 183 | <node_container pkg="rclcpp_components" exec="$(var container_type)" name="behavior_planning_container" namespace="" args="" output="screen">
|
| 184 | + <composable_node pkg="behavior_path_planner" plugin="behavior_path_planner::BehaviorPathPlannerNode" name="behavior_path_planner" namespace=""> |
| 185 | + <!-- topic remap --> |
| 186 | + <remap from="~/input/route" to="$(var input_route_topic_name)"/> |
| 187 | + <remap from="~/input/vector_map" to="$(var input_vector_map_topic_name)"/> |
| 188 | + <remap from="~/input/perception" to="/perception/object_recognition/objects"/> |
| 189 | + <remap from="~/input/occupancy_grid_map" to="/perception/occupancy_grid_map/map"/> |
| 190 | + <remap from="~/input/costmap" to="/planning/scenario_planning/parking/costmap_generator/occupancy_grid"/> |
| 191 | + <remap from="~/input/traffic_signals" to="$(var input_traffic_light_topic_name)"/> |
| 192 | + <remap from="~/input/odometry" to="/localization/kinematic_state"/> |
| 193 | + <remap from="~/input/accel" to="/localization/acceleration"/> |
| 194 | + <remap from="~/input/scenario" to="/planning/scenario_planning/scenario"/> |
| 195 | + <remap from="~/output/path" to="path_with_lane_id"/> |
| 196 | + <remap from="~/output/turn_indicators_cmd" to="/planning/turn_indicators_cmd"/> |
| 197 | + <remap from="~/output/hazard_lights_cmd" to="/planning/behavior_path_planner/hazard_lights_cmd"/> |
| 198 | + <remap from="~/output/modified_goal" to="/planning/scenario_planning/modified_goal"/> |
| 199 | + <remap from="~/output/stop_reasons" to="/planning/scenario_planning/status/stop_reasons"/> |
| 200 | + <!-- params --> |
| 201 | + <param from="$(var common_param_path)"/> |
| 202 | + <param from="$(var vehicle_param_file)"/> |
| 203 | + <param from="$(var nearest_search_param_path)"/> |
| 204 | + <param name="launch_modules" value="$(var behavior_path_planner_launch_modules)"/> |
| 205 | + <param name="enable_all_modules_auto_mode" value="$(var enable_all_modules_auto_mode)"/> |
| 206 | + <param name="is_simulation" value="$(var is_simulation)"/> |
| 207 | + <param from="$(var behavior_path_planner_side_shift_module_param_path)"/> |
| 208 | + <param from="$(var behavior_path_planner_avoidance_module_param_path)"/> |
| 209 | + <param from="$(var behavior_path_planner_avoidance_by_lc_module_param_path)"/> |
| 210 | + <param from="$(var behavior_path_planner_dynamic_avoidance_module_param_path)"/> |
| 211 | + <param from="$(var behavior_path_planner_lane_change_module_param_path)"/> |
| 212 | + <param from="$(var behavior_path_planner_goal_planner_module_param_path)"/> |
| 213 | + <param from="$(var behavior_path_planner_start_planner_module_param_path)"/> |
| 214 | + <param from="$(var behavior_path_planner_drivable_area_expansion_param_path)"/> |
| 215 | + <param from="$(var behavior_path_planner_scene_module_manager_param_path)"/> |
| 216 | + <param from="$(var behavior_path_planner_common_param_path)"/> |
| 217 | + <!-- composable node config --> |
| 218 | + <extra_arg name="use_intra_process_comms" value="false"/> |
| 219 | + </composable_node> |
| 220 | + |
220 | 221 | <composable_node pkg="behavior_velocity_planner" plugin="behavior_velocity_planner::BehaviorVelocityPlannerNode" name="behavior_velocity_planner" namespace="">
|
221 | 222 | <!-- topic remap -->
|
222 | 223 | <remap from="~/input/path_with_lane_id" to="path_with_lane_id"/>
|
|
0 commit comments