Change/Update frequency of Rate or Timer
Is it possible to update the frequency of the current running loops of a ros::Rate or ros::Timer object?
ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
Is it possible to update the frequency of the current running loops of a ros::Rate or ros::Timer object?
A Rate object does not support changing it's frequency. Just make a new one. You can update the period on the Timer, just call setPeriod on it.
Asked: 2014-09-05 08:58:23 -0500
Seen: 1,107 times
Last updated: Sep 05 '14
why node handler not publishing without infinite loop on pr2?
How to get my LED blinking? (while loop breaks rosserial python node)
how to interrupt a process in arduino by receiving a message?
ros node misses data while subscribed to another node
Keep running the function without restarting it?
Subcriber callback within a while loop?
PID: Infinite loop in a ROS listener node?