-
Notifications
You must be signed in to change notification settings - Fork 219
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
Query regarding creating a custom display plugin. #1310
Comments
After looking at the codebase further, I observe that the access control doesn't seem to be consistent across different messages that inherit from
In use cases such as mine, I feel like it is best to leave it public / protected for all of them. Will a PR help here? Please let me know. |
I'm fine with switching them all to |
Great! Thanks. I'll raise a PR for this. |
Hello @clalancette ! |
Hello!
I had a question while writing a custom display plugin to visualize my custom messages.
I have the following custom message
In my display plugin, I thought it would be simpler to directly use the
processMessage
function fromrviz_default_plugins
individually for the point, polygon and the pose.I've got the PointStamped section and the PolygonStamped section of my custom message to work fine because the
processMessage
function was public and protected respectively and hence accessible by my custom display plugin. However, it's not the case with the defaultPoseStamped
rviz display plugin. TheprocessMessage
is made private here.Any suggestions on how I should proceed in this case? Was this function supposed to be protected / public?
Thanks for your help in advance!
The text was updated successfully, but these errors were encountered: