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
Add more light options to SetLightProperties (kinetic) #881
Add more light options to SetLightProperties (kinetic) #881
Conversation
4f0817c
to
275849b
Compare
@j-rivero Can you have a look at this? |
@j-rivero Can you comment on this PR? Any objections to get this merged? |
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 really like this PR in principle, my only concern is backwards-compatibility.
Admittedly, I don't know much about compatibility of ROS messages. Do you know if a service client using the old message would be able to make a successful request to this service once it expects the new message?
@@ -1,8 +1,12 @@ | |||
string light_name # name of Gazebo Light | |||
bool cast_shadows |
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.
Could you document the new fields?
@chapulina This feature is actually already part of the current
It is source compatible. That is, you can recompile your C++ code or run a python node without the need to change the code. But it is not binary compatible. That means you cannot exchange messages with nodes that use different message definitions. |
Ah thanks, I knew I had seen this before 😄
Yes, that's my main concern. Changing message definitions within a distribution can break existing systems. I think it would be better to leave this in Noetic-only, sorry 😕 |
Ok. I will then go ahead and close this to keep the breaking change just in However, it would now make sense to make |
That's an interesting idea. Maybe @j-rivero can comment on this. My impression is that this repository's default branch has always been the oldest supported version, so if we change this now it may break their expectations. |
Well, at least I only check out the git repo if I need the latest version with a feature that hasn't made it to a bloom released version yet. Otherwise, it is much more convenient to just install the binary packages via apt. |
This is a backport of #874 to the kinetic-devel branch.