-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Building a custom rviz display #3384
Conversation
Review please? |
@clalancette ? @audrow ? Any movement? |
Sorry I never looked back at this. I think this would be a good tutorial to have, but I also think it belongs in a series with other RViz changes. I'm going to hold off on looking at this one until we land #4040 , at which point this will have a natural place to slot into. |
OK, we've now landed #4040. So I'm going to suggest that this gets moved into a tutorial under the new Tutorials/Intermediate/RViz directory. |
397e1be
to
4afcbb5
Compare
Rebased, and moved to the new |
source/Tutorials/Intermediate/RViz/RViz-Custom-Display/RViz-Custom-Display.rst
Outdated
Show resolved
Hide resolved
source/Tutorials/Intermediate/RViz/RViz-Custom-Display/RViz-Custom-Display.rst
Outdated
Show resolved
Hide resolved
.. code-block:: c++ | ||
|
||
|
||
#pragma once |
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.
do you mind to use include guards? as we are doing on RViz ?
If you are using the common linters probaby it will require this
#ifndef BLAH_H
#define BLAH_H
#endif // BLAH_H
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.
I was going to argue with you about using modern standards, but then I dug and found this bit of the Google guide.
That's not going to stop me from posting a gif that came to mind.
(I'm not calling this a stupid decision, because upon further research, pragma is generally supported but is not official lore)
source/Tutorials/Intermediate/RViz/RViz-Custom-Display/RViz-Custom-Display.rst
Outdated
Show resolved
Hide resolved
source/Tutorials/Intermediate/RViz/RViz-Custom-Display/RViz-Custom-Display.rst
Outdated
Show resolved
Hide resolved
source/Tutorials/Intermediate/RViz/RViz-Custom-Display/RViz-Custom-Display.rst
Outdated
Show resolved
Hide resolved
Co-authored-by: Alejandro Hernández Cordero <ahcorde@gmail.com> Signed-off-by: David V. Lu!! <davidvlu@gmail.com>
…ion into rviz_plugin_tutorial
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.
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.
Overall, this is great. Thanks for moving it around.
I left a bunch of stuff to cleanup.
source/Tutorials/Intermediate/RViz/RViz-Custom-Display/RViz-Custom-Display.rst
Outdated
Show resolved
Hide resolved
source/Tutorials/Intermediate/RViz/RViz-Custom-Display/RViz-Custom-Display.rst
Outdated
Show resolved
Hide resolved
source/Tutorials/Intermediate/RViz/RViz-Custom-Display/RViz-Custom-Display.rst
Outdated
Show resolved
Hide resolved
source/Tutorials/Intermediate/RViz/RViz-Custom-Display/RViz-Custom-Display.rst
Outdated
Show resolved
Hide resolved
source/Tutorials/Intermediate/RViz/RViz-Custom-Display/RViz-Custom-Display.rst
Outdated
Show resolved
Hide resolved
source/Tutorials/Intermediate/RViz/RViz-Custom-Display/RViz-Custom-Display.rst
Outdated
Show resolved
Hide resolved
source/Tutorials/Intermediate/RViz/RViz-Custom-Display/RViz-Custom-Display.rst
Outdated
Show resolved
Hide resolved
source/Tutorials/Intermediate/RViz/RViz-Custom-Display/RViz-Custom-Display.rst
Outdated
Show resolved
Hide resolved
source/Tutorials/Intermediate/RViz/RViz-Custom-Display/RViz-Custom-Display.rst
Outdated
Show resolved
Hide resolved
source/Tutorials/Intermediate/RViz/RViz-Custom-Display/RViz-Custom-Display.rst
Outdated
Show resolved
Hide resolved
Co-authored-by: Chris Lalancette <clalancette@gmail.com> Signed-off-by: David V. Lu!! <davidvlu@gmail.com>
I will update the code style if you can provide a I find this process frustrating, to have a PR sit untouched for a year, then get held up in the end for the placement of curly braces. This seems like perfect is the enemy of the good. If you want to do something to increase the number of community generated tutorials, you need to lower the bar a little. |
Unfortunately, that is impossible; |
source/Tutorials/Intermediate/RViz/RViz-Custom-Display/RViz-Custom-Display.rst
Show resolved
Hide resolved
Sorry, that was a little terse. We can't do |
All right, see MetroRobots/rviz_plugin_tutorial#1 |
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 sticking with this one. I've left a few more grammatical/layout things to change, but this is looking close.
source/Tutorials/Intermediate/RViz/RViz-Custom-Display/RViz-Custom-Display.rst
Outdated
Show resolved
Hide resolved
source/Tutorials/Intermediate/RViz/RViz-Custom-Display/RViz-Custom-Display.rst
Outdated
Show resolved
Hide resolved
source/Tutorials/Intermediate/RViz/RViz-Custom-Display/RViz-Custom-Display.rst
Outdated
Show resolved
Hide resolved
source/Tutorials/Intermediate/RViz/RViz-Custom-Display/RViz-Custom-Display.rst
Outdated
Show resolved
Hide resolved
source/Tutorials/Intermediate/RViz/RViz-Custom-Display/RViz-Custom-Display.rst
Outdated
Show resolved
Hide resolved
source/Tutorials/Intermediate/RViz/RViz-Custom-Display/RViz-Custom-Display.rst
Outdated
Show resolved
Hide resolved
source/Tutorials/Intermediate/RViz/RViz-Custom-Display/RViz-Custom-Display.rst
Outdated
Show resolved
Hide resolved
source/Tutorials/Intermediate/RViz/RViz-Custom-Display/RViz-Custom-Display.rst
Outdated
Show resolved
Hide resolved
Co-authored-by: Chris Lalancette <clalancette@gmail.com> Signed-off-by: David V. Lu!! <davidvlu@gmail.com>
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.
This is great. Thanks @DLu for sticking with this. I'm going to go ahead and merge this in, and also backport to iron
and humble
.
@Mergifyio backport humble iron |
✅ Backports have been created
|
* Building a custom rviz display * Move to RViz folder Signed-off-by: David V. Lu!! <davidvlu@gmail.com> Co-authored-by: Alejandro Hernández Cordero <ahcorde@gmail.com> Co-authored-by: Chris Lalancette <clalancette@gmail.com> (cherry picked from commit d9bca49)
* Building a custom rviz display * Move to RViz folder Signed-off-by: David V. Lu!! <davidvlu@gmail.com> Co-authored-by: Alejandro Hernández Cordero <ahcorde@gmail.com> Co-authored-by: Chris Lalancette <clalancette@gmail.com> (cherry picked from commit d9bca49)
* Building a custom rviz display * Move to RViz folder Signed-off-by: David V. Lu!! <davidvlu@gmail.com> Co-authored-by: Alejandro Hernández Cordero <ahcorde@gmail.com> Co-authored-by: Chris Lalancette <clalancette@gmail.com> (cherry picked from commit d9bca49) Co-authored-by: David V. Lu!! <davidvlu@gmail.com>
* Building a custom rviz display * Move to RViz folder Signed-off-by: David V. Lu!! <davidvlu@gmail.com> Co-authored-by: Alejandro Hernández Cordero <ahcorde@gmail.com> Co-authored-by: Chris Lalancette <clalancette@gmail.com> (cherry picked from commit d9bca49) Co-authored-by: David V. Lu!! <davidvlu@gmail.com>
I hate RST.