Skip to content

Commit

Permalink
Publish collision points for debug purposes (ros-navigation#3879)
Browse files Browse the repository at this point in the history
* Rename PushRosNamespace to PushROSNamespace

* Fix min_points checking

* .

* fixes

* add to collision detector

* fix

* fix

* .

* fixes

* add namespace to topic

* fixes

(cherry picked from commit c0fd78f)
  • Loading branch information
Tony Najjar authored and jplapp committed Jan 17, 2024
1 parent 52f9370 commit f50b01d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion nav2_collision_monitor/src/collision_detector_node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,6 @@ void CollisionDetector::process()
marker.color.r = 1.0;
marker.color.a = 1.0;
marker.lifetime = rclcpp::Duration(0, 0);
marker.frame_locked = true;

for (const auto & point : collision_points) {
geometry_msgs::msg::Point p;
Expand Down
1 change: 0 additions & 1 deletion nav2_collision_monitor/src/collision_monitor_node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,6 @@ void CollisionMonitor::process(const Velocity & cmd_vel_in)
marker.color.r = 1.0;
marker.color.a = 1.0;
marker.lifetime = rclcpp::Duration(0, 0);
marker.frame_locked = true;

for (const auto & point : collision_points) {
geometry_msgs::msg::Point p;
Expand Down

0 comments on commit f50b01d

Please sign in to comment.