271 14

Redirect a yarp read to a yarp write while filtering the data

cut -c 5- will remove all the lines from 1 to 5
tr -d 'characters' will remove all the listed characters

By piping the yarp read to the yarp write it is possible to "clean" the input format
Copy Embed Code
<iframe id="embedFrame" style="width:600px; height:300px;"
Click on the embed code to copy it into your clipboard Width Height
Leave empty to retrieve all the content Start End
# Enter here the actual content of the snippet. yarp read ... /wholeBodyDynamicsTree/floatingbasestate:o | cut -c 5- | tr -d '()' | yarp write /wbd3/clean:o
If you want to be updated about similar snippets, Sign in and follow our Channels

blog comments powered by Disqus