Skip to content

Commit 04fe796

Browse files
authored
chore(behavior_path_planner): remove unnecessary debug publisher (autowarefoundation#1690)
1 parent dd5144e commit 04fe796

File tree

2 files changed

+0
-7
lines changed

2 files changed

+0
-7
lines changed

planning/behavior_path_planner/include/behavior_path_planner/behavior_path_planner_node.hpp

-2
Original file line numberDiff line numberDiff line change
@@ -146,9 +146,7 @@ class BehaviorPathPlannerNode : public rclcpp::Node
146146
const std::vector<std::shared_ptr<SceneModuleStatus>> & statuses) const;
147147

148148
// debug
149-
rclcpp::Publisher<OccupancyGrid>::SharedPtr debug_drivable_area_publisher_;
150149
rclcpp::Publisher<MarkerArray>::SharedPtr debug_drivable_area_lanelets_publisher_;
151-
rclcpp::Publisher<Path>::SharedPtr debug_path_publisher_;
152150
rclcpp::Publisher<AvoidanceDebugMsgArray>::SharedPtr debug_avoidance_msg_array_publisher_;
153151
rclcpp::Publisher<MarkerArray>::SharedPtr debug_marker_publisher_;
154152
void publishDebugMarker(const std::vector<MarkerArray> & debug_markers);

planning/behavior_path_planner/src/behavior_path_planner_node.cpp

-5
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,6 @@ BehaviorPathPlannerNode::BehaviorPathPlannerNode(const rclcpp::NodeOptions & nod
6565
turn_signal_publisher_ =
6666
create_publisher<TurnIndicatorsCommand>("~/output/turn_indicators_cmd", 1);
6767
hazard_signal_publisher_ = create_publisher<HazardLightsCommand>("~/output/hazard_lights_cmd", 1);
68-
debug_drivable_area_publisher_ = create_publisher<OccupancyGrid>("~/debug/drivable_area", 1);
69-
debug_path_publisher_ = create_publisher<Path>("~/debug/path_for_visualize", 1);
7068
debug_avoidance_msg_array_publisher_ =
7169
create_publisher<AvoidanceDebugMsgArray>("~/debug/avoidance_debug_message_array", 1);
7270

@@ -578,9 +576,6 @@ void BehaviorPathPlannerNode::run()
578576

579577
path_candidate_publisher_->publish(util::toPath(*path_candidate));
580578

581-
// debug_path_publisher_->publish(util::toPath(path));
582-
debug_drivable_area_publisher_->publish(path->drivable_area);
583-
584579
// for turn signal
585580
{
586581
TurnIndicatorsCommand turn_signal;

0 commit comments

Comments
 (0)