-
Notifications
You must be signed in to change notification settings - Fork 938
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
Makes rviz trajectory visualization topic relative #2835
Makes rviz trajectory visualization topic relative #2835
Conversation
This commit makes the trajectory visualization topic relative. This was done to make sure that it respects the namespaces that are set in launch files. Updates MIGRATION document
Thanks for helping in improving MoveIt and open source robotics! |
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.
LGTM and it looks like it should work, but I didn't test
Co-authored-by: Felix von Drigalski <FvDrigalski@gmail.com>
@felixvd Thanks for looking into my pull request. I applied the changes you requested. I tested this pull request using the following steps:
I did not encounter any errors while performing this steps. |
Does it display the trajectory like in this tutorial? :) |
@felixvd Ah that's a good tutorial to test it on. It seems to work, see GIF below. There are some warnings shown under the MarkerArray, but these look unrelated to my pull request as they also are present on the master branch. |
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 for double checking!
Codecov Report
@@ Coverage Diff @@
## master #2835 +/- ##
==========================================
+ Coverage 60.81% 60.83% +0.02%
==========================================
Files 366 366
Lines 31717 31717
==========================================
+ Hits 19285 19291 +6
+ Misses 12432 12426 -6
Continue to review full report at Codecov.
|
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.
Obvious fix, thank you. I wouldn't even mention it in the MIGRATIONS.md
, but as you want it there, I just added another guard so most people can skip it when they look at the list :)
Congrats on getting your first MoveIt pull request merged and improving open source robotics! |
This commit makes sure the RVIZ trajectory visualization plugin looks for the trajectory topic to be on the relative ns instead of the absolute ns when it is first added to Rviz (i.e.
move_group/display_planned_path
vs./move_group/display_planned_path
). This was done to make sure that it respects the namespaces that are set in launch files. This is useful when you are using MoveIt for multi robot control.I did not find any images or text in the documentation that needs to be updates. Please let me know if I missed something.