-
Notifications
You must be signed in to change notification settings - Fork 194
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
Modify libYARP_robotinterface and yarprobotinterface to support passing using ${portprefix} in parameters #2819
Conversation
Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would update the release notes by adding a file in |
5f0b766
to
b063caf
Compare
bea9883
to
6b5b176
Compare
8b3d193
to
93abb25
Compare
93abb25
to
1770f56
Compare
it seems that it has been killed, I've tried to re-run the first to see if it changes |
@@ -0,0 +1,5 @@ | |||
robotinterface_portprefix {#yarp_3_6} |
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.
Shouldn't this be on master @elandini84 @randaz81? (yarp 3.7)
robotinterface_portprefix {#yarp_3_6} | |
robotinterface_portprefix {#yarp_3_7} |
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.
We can have it on yarp 3.7 (master), but I guess this will delay gazebo-yarp-plugins 5 release (see robotology/gazebo-yarp-plugins#594) until YARP 3.7 is released.
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.
for me can be also merged in 3.6, @randaz81 @elandini84 do you agree?
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.
Since the new feature is actually fixing part of a reported issue (#2492) and it doesn't affect the already existing code or xml files, for me it can be merged on yarp-3.6
.
btw for me it is ok to merge |
351d29a
to
ed5d6b5
Compare
104ecab
to
a9e6a37
Compare
a9e6a37
to
32bbf59
Compare
As agreed with @randaz81 face to face, we moved this PR to target master as no further release will be done on the |
32bbf59
to
3ed3ea6
Compare
/rebase |
3ed3ea6
to
f11823f
Compare
Fix half of #2492 by actually making use of the
portprefix
attribute.For example, this can be used as in the following example XML example:
if this xml is put in file is called
config.xml
, then it would be possible to call:and the YARP ports
/icub/body/stateExt:o
will be created. If one calls instead:the YARP ports
/icub02/body/stateExt:o
will be createdHelp robotology/icub-models-generator#215 by providing a way in which two identical models can be spawned in a simulation while changing only the
${portprefix}
.Note: until now the
portprefix
was used without initial/
(see for example https://github.com/robotology/robots-configuration/blob/f3fef4277717ae87d825a9a46d994ccd21fef3ec/experimentalSetups/torsoSkinLaptop/torsoSkinLaptop.xml#L2). However, it seems to be more in line with the rest of the devices to be explicit and indicate the initial/
. In any case, the existing configuration files would need to be modified to use the${portprefix}
attribute, so it should not be a big problem to add the/
to theportprefix
.Progress:
${portprefix}
option