Skip to content
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 yarp rpc block #177

Open
yeshasvitirupachuri opened this issue Jun 5, 2019 · 2 comments
Open

Add yarp rpc block #177

yeshasvitirupachuri opened this issue Jun 5, 2019 · 2 comments

Comments

@yeshasvitirupachuri
Copy link
Member

yeshasvitirupachuri commented Jun 5, 2019

Currently, the WBToolbox has only yarp read and yarp write blocks which serve the purpose of reading and writing to yarp ports from simulink. It is very useful to have a block that will enable users to communicate with rpc ports from simulink directly. In this issue we handle the details related to adding a YarpRpc block to WBToolbox library.

@diegoferigo

@yeshasvitirupachuri
Copy link
Member Author

YarpRpc block is implemented and a PR is opened #178

This block behaves as the command 'yarp rpc'.

It takes two parameters:

  1. Rpc server port name to which user wants to send rpc commands. This is a string datatype.
  2. Rpc command which is the command user wants to send. This is a string datatype.

This block has an input signal called Trigger. This is intended to be a boolean datatype and when the signal is true the rpc command is sent to the rpc server port.

@yeshasvitirupachuri
Copy link
Member Author

Tests

WholeBodyDynamics Rpc port
Screenshots

Screenshot from 2019-06-05 15-40-39

Screenshot from 2019-06-05 15-40-53

Gif

ezgif com-video-to-gif (6)

GazeboYarp ExternalWrench plugin Rpc port
Screenshots

Screenshot from 2019-06-05 15-41-22

Screenshot from 2019-06-05 15-41-54

Screenshot from 2019-06-05 15-41-39

Gif

ezgif com-video-to-gif (7)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants