0
$\begingroup$

Rosanswers logo

I'm using ROS Hydro on Ubuntu precise.

I started with the robot steering RQT plugin (http://wiki.ros.org/rqt/Plugins) which is a python plugin and I tweaked it to show about 20 or so of my robot Topic values in real time. Most of the robot Topic values are being published at 5 or 10 Hz. This new plugin likes to crash quite often, but there's no one thing that I can do to make it crash.

Do python RQT plugins have trouble displaying a lot of 5 to 10 Hz data? Should I throttle the data specifically for my user interface? Or am I barking up the wrong tree?


Originally posted by Kurt Leucht on ROS Answers with karma: 486 on 2014-11-03

Post score: 0

$\endgroup$

1 Answer 1

0
$\begingroup$

Rosanswers logo

RQT plugins such as rqt_plot regularly handle high data rates (100Hz+) without issue.

If your plugin (or any program, really) crashes randomly at different places, you probably have some combination of memory corruption and threading bugs. Keeping in mind that the drawing code and ROS callbacks are often serviced from different threads, I would go through your code and make sure that you have locking or thread-safe data structures in the appropriate places.


Originally posted by ahendrix with karma: 47576 on 2014-11-03

This answer was ACCEPTED on the original site

Post score: 1

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.