|
mrs_lib
Various reusable classes, functions and utilities for use in MRS projects
|
Options for creating a thread-based timer. More...
#include <timer.hpp>
Public Attributes | |
| TimerNodeInterfaces | node_interfaces |
| ROS node interfaces used by the timer. | |
| bool | autostart = true |
| Whether the timer should start automatically after construction. | |
| bool | oneshot = false |
| Whether the timer should execute its callback only once. | |
Options for creating a thread-based timer.
These options configure a timer that runs on a separate thread. (See mrs_lib::Timer documentation for differences in implementations.)
| bool mrs_lib::ThreadTimerOptions::oneshot = false |
Whether the timer should execute its callback only once.
If true, the timer stops after exactly one callback is executed.