Which rate should we call spinOnce()
I'm using Qt GUI and a timer in a slot to call spinOnce() periodically. I would like to ask at which rate should I call this function spinOnce()?
ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
I'm using Qt GUI and a timer in a slot to call spinOnce() periodically. I would like to ask at which rate should I call this function spinOnce()?
I'm using Qt GUI and a timer in a slot to call spinOnce() periodically. I would like to ask at which rate should I call this function spinOnce()?
At a minimum at the lowest rate you expect messages to come in / events to be scheduled -- if you care about delays.
Ideally at a much higher rate, as delaying processing the event queue (ie: calling spinOnce()
) will introduce artificial delays in your event processing.
Asked: 2021-11-07 20:35:30 -0600
Seen: 95 times
Last updated: Nov 08 '21
Is ROS still looking at using Qt?
Is anybody in ROS community using PySide?
how to use external libraries in ROS code?
Why all pop-up windows can't appear on ROS diamondback?
image colors change when starting application with launch file
Looking for an existing ROS + Qt example
Send data from one laptop(code blocks) to another laptop(ros packages)?