Expand description

API in rcl/timer.h

Structs

Structure which encapsulates a ROS Timer.

Functions

Return a zero initialized timer.

Call the timer’s callback and set the last call time.

Cancel a timer.

Retrieve the clock of the timer.

Exchange the current timer callback and return the current callback.

Exchange the period of the timer and return the previous period.

Finalize a timer.

Return the allocator for the timer.

Return the current timer callback.

Retrieve a guard condition used by the timer to wake the waitset when using ROSTime.

Retrieve the period of the timer.

Retrieve the time since the previous call to rcl_timer_call() occurred.

Calculate and retrieve the time until the next call in nanoseconds.

Initialize a timer.

Retrieve the canceled state of a timer.

Calculates whether or not the timer should be called.

Reset a timer.

Type Definitions

User callback signature for timers.