Skip to content

Commit

Permalink
Revert "[DEBUG] launch behavior_path_planner in konsole with gdb"
Browse files Browse the repository at this point in the history
This reverts commit da6a8c4.
  • Loading branch information
maxime-clem committed Nov 21, 2023
1 parent b59ae7b commit 51afe9f
Showing 1 changed file with 45 additions and 43 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -111,50 +111,52 @@
/>
<let name="behavior_velocity_planner_launch_modules" value="$(eval &quot;'$(var behavior_velocity_planner_launch_modules)' + ']'&quot;)"/>

<node pkg="behavior_path_planner" exec="behavior_path_planner" name="behavior_path_planner" namespace="" launch-prefix="konsole -e gdb -ex run --args">
<!-- topic remap -->
<remap from="~/input/route" to="$(var input_route_topic_name)"/>
<remap from="~/input/vector_map" to="$(var input_vector_map_topic_name)"/>
<remap from="~/input/perception" to="/perception/object_recognition/objects"/>
<remap from="~/input/occupancy_grid_map" to="/perception/occupancy_grid_map/map"/>
<remap from="~/input/costmap" to="/planning/scenario_planning/parking/costmap_generator/occupancy_grid"/>
<remap from="~/input/traffic_signals" to="$(var input_traffic_light_topic_name)"/>
<remap from="~/input/odometry" to="/localization/kinematic_state"/>
<remap from="~/input/accel" to="/localization/acceleration"/>
<remap from="~/input/scenario" to="/planning/scenario_planning/scenario"/>
<remap from="~/output/path" to="path_with_lane_id"/>
<remap from="~/output/turn_indicators_cmd" to="/planning/turn_indicators_cmd"/>
<remap from="~/output/hazard_lights_cmd" to="/planning/hazard_lights_cmd"/>
<remap from="~/output/modified_goal" to="/planning/scenario_planning/modified_goal"/>
<remap from="~/output/stop_reasons" to="/planning/scenario_planning/status/stop_reasons"/>
<!-- params -->
<param name="avoidance.enable_module" value="$(var launch_avoidance_module)"/>
<param name="avoidance_by_lc.enable_module" value="$(var launch_avoidance_by_lane_change_module)"/>
<param name="dynamic_avoidance.enable_module" value="$(var launch_dynamic_avoidance_module)"/>
<param name="lane_change_right.enable_module" value="$(var launch_lane_change_right_module)"/>
<param name="lane_change_left.enable_module" value="$(var launch_lane_change_left_module)"/>
<param name="external_request_lane_change_left.enable_module" value="$(var launch_external_request_lane_change_left_module)"/>
<param name="external_request_lane_change_right.enable_module" value="$(var launch_external_request_lane_change_right_module)"/>
<param name="goal_planner.enable_module" value="$(var launch_goal_planner_module)"/>
<param name="start_planner.enable_module" value="$(var launch_start_planner_module)"/>
<param name="side_shift.enable_module" value="$(var launch_side_shift_module)"/>
<param from="$(var common_param_path)"/>
<param from="$(var vehicle_param_file)"/>
<param from="$(var nearest_search_param_path)"/>
<param from="$(var behavior_path_planner_side_shift_module_param_path)"/>
<param from="$(var behavior_path_planner_avoidance_module_param_path)"/>
<param from="$(var behavior_path_planner_avoidance_by_lc_module_param_path)"/>
<param from="$(var behavior_path_planner_dynamic_avoidance_module_param_path)"/>
<param from="$(var behavior_path_planner_lane_change_module_param_path)"/>
<param from="$(var behavior_path_planner_goal_planner_module_param_path)"/>
<param from="$(var behavior_path_planner_start_planner_module_param_path)"/>
<param from="$(var behavior_path_planner_drivable_area_expansion_param_path)"/>
<param from="$(var behavior_path_planner_scene_module_manager_param_path)"/>
<param from="$(var behavior_path_planner_common_param_path)"/>
<param name="use_experimental_lane_change_function" value="$(var use_experimental_lane_change_function)"/>
<!-- composable node config -->
</node>
<node_container pkg="rclcpp_components" exec="$(var container_type)" name="behavior_planning_container" namespace="" args="" output="screen">
<composable_node pkg="behavior_path_planner" plugin="behavior_path_planner::BehaviorPathPlannerNode" name="behavior_path_planner" namespace="">
<!-- topic remap -->
<remap from="~/input/route" to="$(var input_route_topic_name)"/>
<remap from="~/input/vector_map" to="$(var input_vector_map_topic_name)"/>
<remap from="~/input/perception" to="/perception/object_recognition/objects"/>
<remap from="~/input/occupancy_grid_map" to="/perception/occupancy_grid_map/map"/>
<remap from="~/input/costmap" to="/planning/scenario_planning/parking/costmap_generator/occupancy_grid"/>
<remap from="~/input/traffic_signals" to="$(var input_traffic_light_topic_name)"/>
<remap from="~/input/odometry" to="/localization/kinematic_state"/>
<remap from="~/input/accel" to="/localization/acceleration"/>
<remap from="~/input/scenario" to="/planning/scenario_planning/scenario"/>
<remap from="~/output/path" to="path_with_lane_id"/>
<remap from="~/output/turn_indicators_cmd" to="/planning/turn_indicators_cmd"/>
<remap from="~/output/hazard_lights_cmd" to="/planning/hazard_lights_cmd"/>
<remap from="~/output/modified_goal" to="/planning/scenario_planning/modified_goal"/>
<remap from="~/output/stop_reasons" to="/planning/scenario_planning/status/stop_reasons"/>
<!-- params -->
<param name="avoidance.enable_module" value="$(var launch_avoidance_module)"/>
<param name="avoidance_by_lc.enable_module" value="$(var launch_avoidance_by_lane_change_module)"/>
<param name="dynamic_avoidance.enable_module" value="$(var launch_dynamic_avoidance_module)"/>
<param name="lane_change_right.enable_module" value="$(var launch_lane_change_right_module)"/>
<param name="lane_change_left.enable_module" value="$(var launch_lane_change_left_module)"/>
<param name="external_request_lane_change_left.enable_module" value="$(var launch_external_request_lane_change_left_module)"/>
<param name="external_request_lane_change_right.enable_module" value="$(var launch_external_request_lane_change_right_module)"/>
<param name="goal_planner.enable_module" value="$(var launch_goal_planner_module)"/>
<param name="start_planner.enable_module" value="$(var launch_start_planner_module)"/>
<param name="side_shift.enable_module" value="$(var launch_side_shift_module)"/>
<param from="$(var common_param_path)"/>
<param from="$(var vehicle_param_file)"/>
<param from="$(var nearest_search_param_path)"/>
<param from="$(var behavior_path_planner_side_shift_module_param_path)"/>
<param from="$(var behavior_path_planner_avoidance_module_param_path)"/>
<param from="$(var behavior_path_planner_avoidance_by_lc_module_param_path)"/>
<param from="$(var behavior_path_planner_dynamic_avoidance_module_param_path)"/>
<param from="$(var behavior_path_planner_lane_change_module_param_path)"/>
<param from="$(var behavior_path_planner_goal_planner_module_param_path)"/>
<param from="$(var behavior_path_planner_start_planner_module_param_path)"/>
<param from="$(var behavior_path_planner_drivable_area_expansion_param_path)"/>
<param from="$(var behavior_path_planner_scene_module_manager_param_path)"/>
<param from="$(var behavior_path_planner_common_param_path)"/>
<param name="use_experimental_lane_change_function" value="$(var use_experimental_lane_change_function)"/>
<!-- composable node config -->
<extra_arg name="use_intra_process_comms" value="false"/>
</composable_node>

<composable_node pkg="behavior_velocity_planner" plugin="behavior_velocity_planner::BehaviorVelocityPlannerNode" name="behavior_velocity_planner" namespace="">
<!-- topic remap -->
<remap from="~/input/path_with_lane_id" to="path_with_lane_id"/>
Expand Down

0 comments on commit 51afe9f

Please sign in to comment.