Function rclc_executor_trigger_one

Function Documentation

bool rclc_executor_trigger_one(rclc_executor_handle_t *handles, unsigned int size, void *obj)

Trigger condition: one, returns true, if rcl handle obj is ready (when obj is a subscription, if new data available, when obj is a timer, if the timer is ready)

Attribute

Adherence

Allocates Memory

No

Thread-Safe

No

Uses Atomics

No

Lock-Free

Yes

Parameters:
  • handles[in] pointer to array of handles (not used)

  • size[in] size of array (not used)

  • obj[in] trigger_object set by rclc_executor_set_trigger

Returns:

true if rcl-handle obj is ready

Returns:

false otherwise