-
Notifications
You must be signed in to change notification settings - Fork 195
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
Failure to open a new remotecontrolboard client in simulink #1850
Comments
@Yeshasvitvs have you tried to check out that adding a delay in the port opening is solving the problem? Otherwise blaming YARP may be a bit premature. |
@traversaro Yes he added a delay and it did not solve it. As far as I understood this is related to the sequential opening of two @Yeshasvitvs Could you please try what follows?
|
Error from matlab diagnostic viewer while running test.mdl@diegoferigo While using the simple model
|
@diegoferigo I tried to run the |
Ping @barbalberto and/or @randaz81.
you are using the newest yarp (3.1.0), are you using |
@Nicogene The source should be this: yarp/src/libYARP_dev/src/devices/RemoteControlBoard/RemoteControlBoard.cpp Lines 1102 to 1118 in f5e903f
|
@Nicogene That error is misleading: there is a failure in connecting to the |
I see, the first step is then to fix that misleading warning 😬 |
I don't know how the code is structured in matlab, my first guess is that the
|
Describe the bug
In simulink I have a main
config
block with all the control boards i.e.,{'torso','left_arm','right_arm','left_leg','right_leg'}
. Then I have a subsystem with a new config block containing only a subset of the control boards i.e.,{'torso','left_arm','right_arm'}
. I used different prefixes for both the config blocks. Now, when I try to run the controller it terminates with the following error:when trying to open the new client for the subsystem
If the subsystem is commented out, the model runs without any errors
NOTE: This behavior is observed with icubGazeboSim and is not checked on the real robot.
To Reproduce
Create a simple simulink model with the name
test.mdl
and with a config block and any simple get measurements block as shown below. Set theLocal Name
under config block asWBT
Now, create a subsystem within this model and use another config block with a subset of control boards under the
control board names
tab and set theLocal Name
asWBT_SUB
. Place either a get measurements or set measurements block as shown belowNow, when you run the controller, you will see the following error
Expected behavior
Ideally, a new controlboard client should open for the subsystem with the port prefix
WBT_SUB
and connect to the robot ports without error.Screenshots
If applicable, add screenshots to help explain your problem.
Configuration (please complete the following information):
Additional context
Add any other context about the problem here.
@diegoferigo Please add any missing details. Thanks
The text was updated successfully, but these errors were encountered: