Project

General

Profile

TimerDocumentation

  • Timers are useful for waiting a periodic amount of time while doing other things in your node, or just waiting. It's better than busy-looping (i.e. "while (1);")to allow the CPU to be used by other nodes/behaviors, and to decrease power consumption
  • In roscpp, the Node Handle API provides timers that allow periodic timers which utilize callbacks to process alarm events.
  • Instructions for use are available