Skip to content

Commit

Permalink
chore(behavior_path_planner): remove unnecessary debug publisher (#1690)
Browse files Browse the repository at this point in the history
  • Loading branch information
TakaHoribe authored Aug 26, 2022
1 parent dd5144e commit 04fe796
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -146,9 +146,7 @@ class BehaviorPathPlannerNode : public rclcpp::Node
const std::vector<std::shared_ptr<SceneModuleStatus>> & statuses) const;

// debug
rclcpp::Publisher<OccupancyGrid>::SharedPtr debug_drivable_area_publisher_;
rclcpp::Publisher<MarkerArray>::SharedPtr debug_drivable_area_lanelets_publisher_;
rclcpp::Publisher<Path>::SharedPtr debug_path_publisher_;
rclcpp::Publisher<AvoidanceDebugMsgArray>::SharedPtr debug_avoidance_msg_array_publisher_;
rclcpp::Publisher<MarkerArray>::SharedPtr debug_marker_publisher_;
void publishDebugMarker(const std::vector<MarkerArray> & debug_markers);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,6 @@ BehaviorPathPlannerNode::BehaviorPathPlannerNode(const rclcpp::NodeOptions & nod
turn_signal_publisher_ =
create_publisher<TurnIndicatorsCommand>("~/output/turn_indicators_cmd", 1);
hazard_signal_publisher_ = create_publisher<HazardLightsCommand>("~/output/hazard_lights_cmd", 1);
debug_drivable_area_publisher_ = create_publisher<OccupancyGrid>("~/debug/drivable_area", 1);
debug_path_publisher_ = create_publisher<Path>("~/debug/path_for_visualize", 1);
debug_avoidance_msg_array_publisher_ =
create_publisher<AvoidanceDebugMsgArray>("~/debug/avoidance_debug_message_array", 1);

Expand Down Expand Up @@ -578,9 +576,6 @@ void BehaviorPathPlannerNode::run()

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

// debug_path_publisher_->publish(util::toPath(path));
debug_drivable_area_publisher_->publish(path->drivable_area);

// for turn signal
{
TurnIndicatorsCommand turn_signal;
Expand Down

0 comments on commit 04fe796

Please sign in to comment.