Skip to content

Options on how to reduce a YARP port output frequency #46

Answered by drdanz
plinioMoreno asked this question in Q&A
Discussion options

You must be logged in to vote

yarp sample creates a process that reads on a port and outputs on another port with a different frequency. This means that you have an extra process, an extra connection (meaning that the data is sent twice, even though one of the connections is likely to be local), and (if yarp sample is not running on the same computer as the sender process) extra data on the network.

Another option is to use the portmonitor to modify the rate directly on the sender connection, see this example. It is written in lua, but you can write a small compiled plugin if you don't want to use lua.

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by pattacini
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #46 on December 08, 2020 16:06.