[ros-users] how fast can roscpp timers run?

Josh Faust jfaust at willowgarage.com
Fri Aug 27 02:47:27 UTC 2010


No.  If you want guaranteed 1kHz control you need a realtime kernel.  The
lower limit on Rate/Timer are dependent entirely on your system and load
level.

Josh

On Thu, Aug 26, 2010 at 7:33 PM, Adam Leeper <aleeper at stanford.edu> wrote:

> Hello-
>
> I'm writing a node that will be my servo loop for a robot. In a previous
> implementation the timing consisted of checking the system microsecond
> counter and calling the servo update each millisecond.
>
> Can I use ros::Rate or ros::Timer to get anywhere near 1 kHz rate? If not,
> what is the practical lower limit for these?
>
> Thanks,
>
> Adam Leeper
> Stanford University
> aleeper at stanford.edu
> 719.358.3804
>
> _______________________________________________
> ros-users mailing list
> ros-users at code.ros.org
> https://code.ros.org/mailman/listinfo/ros-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ros.org/pipermail/ros-users/attachments/20100826/25580330/attachment-0003.html>


More information about the ros-users mailing list