moveit / moveit_visual_tools

Helper functions for displaying and debugging MoveIt! data in Rviz via published markers
BSD 3-Clause "New" or "Revised" License
151 stars 102 forks source link

Return error in publishTrajectoryLine if no end-effectors are defined #127

Closed marioprats closed 1 year ago

marioprats commented 1 year ago

If a joint model group doesn't define an end-effector, 'publishTrajectoryLine' can't create and publish the markers. But it would still succeed. This change adds a check for missing end-effectors, logs a warning and returns false, since markers can't be published.

marioprats commented 1 year ago

@JafarAbdi could you please take a look or forward as needed? thanks!