Skip to content
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

Attached bodies in RViz don't show a trail #190

Closed
Jntzko opened this issue Aug 30, 2016 · 8 comments
Closed

Attached bodies in RViz don't show a trail #190

Jntzko opened this issue Aug 30, 2016 · 8 comments
Labels
enhancement moveit day candidate This issue can likely be resolved in less than a day simple improvements This issue can likely be resolved in less than a day

Comments

@Jntzko
Copy link
Contributor

Jntzko commented Aug 30, 2016

At the moment attached bodies are not displayed in the trail of the generated robot trajectory.
However, it would be nice to see them there.

rviz_screenshot_2016_08_30-13_30_17

@gavanderhoorn gavanderhoorn changed the title Attached bodies in rviz trail Attached bodies in RViz don't show a trail Aug 30, 2016
@v4hn v4hn added enhancement simple improvements This issue can likely be resolved in less than a day labels Aug 30, 2016
@davetcoleman
Copy link
Member

This should be possible since that Rviz display plugin takes as input a moveit_msgs/DisplayTrajectory.msg that includes a moveit_msgs/RobotState.msg that includes a vector AttachedCollisionObject[]

You simply need to add this notion to moveit/moveit_ros/visualization/rviz_plugin_render_tools/src/trajectory_visualization.cpp

@v4hn v4hn added the moveit day candidate This issue can likely be resolved in less than a day label Oct 8, 2017
@davetcoleman davetcoleman added the assigned someone is/should be currently working on this label Oct 18, 2017
@thummel26
Copy link

Presently working on this

@davetcoleman
Copy link
Member

i suspect this image is misleading and collision objects are never attached - rather they are only in the RobotState for start and goal

@rhaschke
Copy link
Contributor

@davetcoleman There is a fundamental issue in the design of moveit_msgs/DisplayTrajectory.msg: There is only a single field for the (initial) RobotState. However, if we a have a more complex trajectory, e.g. due to pick + place, the RobotState, particularly the set of attached objects, might change multiple times along the whole trajectory.
Hence, I suggest to extend DisplayTrajectory.msg to take an array of RobotStates (of same dimension as trajectory). What do you think? Probably this will break some things elsewhere?

@v4hn
Copy link
Contributor

v4hn commented Nov 17, 2017 via email

@v4hn
Copy link
Contributor

v4hn commented Nov 17, 2017

@thummel26 Did you manage to implement a patch for this issue last month?

@v4hn v4hn removed the assigned someone is/should be currently working on this label Sep 6, 2019
@felixvd
Copy link
Contributor

felixvd commented Mar 23, 2020

I think this can be closed.

@rhaschke
Copy link
Contributor

Yes, fixed in #1766

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement moveit day candidate This issue can likely be resolved in less than a day simple improvements This issue can likely be resolved in less than a day
Projects
None yet
Development

No branches or pull requests

6 participants