-
Notifications
You must be signed in to change notification settings - Fork 939
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Show attached bodies trail in RViz #1766
Conversation
rviz::robot didn't include attached objects in the visualization, RobotStateVisualization does.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Anyway, the bodies color is always green, I didn't find a proper way to get the color of the attached object and set it in the update method.
Objects only have colors in the PlanningScene due to the implementation and changing this is outside the scope of this patch.
Approved after addressing the minor comment inline.
moveit_ros/visualization/rviz_plugin_render_tools/src/trajectory_visualization.cpp
Outdated
Show resolved
Hide resolved
Alternatively, I suggest to use a unique_ptr.
That's not perfectly true. There is a |
true! thanks for adding patches for that! |
Description
Attached bodies were not included in the trail visualization of a trajectory, changing the type from rviz::Robot to RobotStateVisualization solves this issue (#190).
Anyway, the bodies color is always green, I didn't find a proper way to get the color of the attached object and set it in the update method.
Checklist