-
Notifications
You must be signed in to change notification settings - Fork 299
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
[parameter_bridge] add srv to the type to keep yaml description consistent #249
Conversation
Hmm, I'd be inclined towards keeping it consistent with how message bridges are described (i.e. using just |
@mikaelarguedas friendly ping. |
This is really just a fix because the "srv" was silently added in https://github.com/ros2/ros1_bridge/pull/194/files#diff-72198d9d0a32d2518cd7a4cedb8d26caR89 forcing people to add it by hand to their yaml file. So it doesn't strike me as a case where this needs to preserve backward compatibility. Regarding describing services similarly to topics, it would be great. This could result in a significant refactor that I won't be able to work on by the foxy freeze so I'd prefer to target a minimum convenience change. |
@hidmic how do you feel about this ? is there anything that needs to be changed for this to get into Foxy ? |
Ideally, I'd (personally) prefer something closer to #249 (comment). But we can move forward with this as an incremental improvement. Do you have the bits to run CI? |
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, i am good to go with this fix.
Signed-off-by: Mikael Arguedas <mikael.arguedas@gmail.com>
d7a3941
to
d34640f
Compare
Support for services was added in #176 to the parameter bridge. That state has been released into Eloquent so I think it is desirable to keep backward compatibility with potentially existing parameters. Please see #263 which deprecates the |
Similar to #194
Before this PR the syntax for bridging services in both directions was the following:
Having to specify the type as
srv/AddTwoInts
seems uncommon and counter intuitiveAfter this PR
This is still breaking pattern from what is used to specify topic bridging:
Not sure what the reason was in the first place for splitting the package and the type name only for services, but this PR keeps that behavior.