|
66 | 66 | #include <trajectory_msgs/JointTrajectory.h>
|
67 | 67 |
|
68 | 68 | // rviz_visual_tools
|
69 |
| -#include <rviz_visual_tools/deprecation.h> |
70 | 69 | #include <rviz_visual_tools/remote_control.h>
|
71 | 70 |
|
72 | 71 | // Import/export for windows dll's and visibility for gcc shared libraries.
|
@@ -399,10 +398,16 @@ class RvizVisualTools
|
399 | 398 |
|
400 | 399 | /**
|
401 | 400 | * \brief Display an array of markers, allows reuse of the ROS publisher
|
402 |
| - * \param markers |
| 401 | + * This will automatically call publish(), skipping the need for trigger() |
| 402 | + * \param markers: array of visualizations to display in Rviz |
403 | 403 | * \return true on success
|
404 | 404 | */
|
405 |
| - bool publishMarkers(visualization_msgs::MarkerArray& markers); |
| 405 | + bool publishMarkersWithoutTrigger(visualization_msgs::MarkerArray& markers); |
| 406 | + // TODO(davetcoleman): Deprecated August 2019, remove in 1 year |
| 407 | + [[deprecated]] bool publishMarkers(visualization_msgs::MarkerArray& markers) |
| 408 | + { |
| 409 | + publishMarkersWithoutTrigger(markers); |
| 410 | + } |
406 | 411 |
|
407 | 412 | /**
|
408 | 413 | * \brief Display a cone of a given angle along the x-axis
|
@@ -647,14 +652,15 @@ class RvizVisualTools
|
647 | 652 | const std::vector<std_msgs::ColorRGBA>& colors, const geometry_msgs::Vector3& scale);
|
648 | 653 |
|
649 | 654 | /**
|
650 |
| - * \brief Display a series of connected lines using the LINE_STRIP method - deprecated because visual bugs |
| 655 | + * \brief Display a series of connected lines using the LINE_STRIP method |
651 | 656 | * \param path - a series of points to connect with lines
|
652 | 657 | * \param color - an enum pre-defined name of a color
|
653 | 658 | * \param scale - an enum pre-defined name of a size
|
654 | 659 | * \param ns - namespace of marker
|
655 | 660 | * \return true on success
|
656 | 661 | */
|
657 |
| - bool publishLineStrip(const std::vector<geometry_msgs::Point>& path, colors color = RED, scales scale = MEDIUM, |
| 662 | + // TODO(davetcoleman): deprecated August 2019 because visual bugs |
| 663 | + [[deprecated]] bool publishLineStrip(const std::vector<geometry_msgs::Point>& path, colors color = RED, scales scale = MEDIUM, |
658 | 664 | const std::string& ns = "Path");
|
659 | 665 |
|
660 | 666 | /**
|
|
0 commit comments