roshask-0.2.1: Haskell support for the ROS robotics framework.

Safe HaskellSafe
LanguageHaskell2010

Ros.Rate

Description

Provides a rate limiting mechanism that can be used to control the rate at which IO actions produce values.

Synopsis

Documentation

rateLimiter :: Double -> IO a -> IO (IO a) Source

Produces an action that runs the supplied IO action no faster than given rate in Hz.