Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Extremely large network traffic using RosLibJs - possible solutions

Hello!

I am using RosLibJs for a web GUI that shows robot data like position, battery status, map etc.

Unfortunately, it uses a lot of network traffic (around 20 GBytes per day!). I am thinking this is due to the direct subscriptions to topics and the high frequency the robot emits data on those topics (like at 10 Hz, for example).

Now, I am unsure how to solve this problem. I thought of 2 possible solutions, maybe you people can help me with it:

  1. Create specialized nodes that only publish data when needed and not in the frequency the robot requires it internally,
  2. Request data periodically from JS side and offer a service from ROS side.

Do you have other ideas? Is there maybe a simpler way?

Thank you!