ROS-Mobile / ROS-Mobile-Android

Visualization and controlling application for Android
472 stars 150 forks source link

Joystick publishing rate #80

Open ghost opened 2 years ago

ghost commented 2 years ago

Is there any way to set the publishing frequency? We need the joysticks to publish with pretty much exactly 10Hz. Even with a hardcoded 10Hz we receive fluctuating 10-15Hz which leads to security stops on our robot. Do you think this is depending on the device we use or faulty in the app?

nicostudt commented 2 years ago

Currently you can't set the publishing frequency for widgets like the joystick. I will mark this as a feature request. What you can do, is to republish your topic with throttle and limit the frequency. Or just write an additional node, which subscribes your topic and publishes at a fixed frequency.

I hope, this will help you a bit!