Function rcl_action_server_set_expired_event_callback

Function Documentation

rcl_ret_t rcl_action_server_set_expired_event_callback(const rcl_action_server_t *action_server, const rcl_event_callback_t callback, const void *user_data)

Set an event callback which will be called when the action goal expiration timer fires.

This should be invoked from action servers registering callbacks for events based execution.

Attribute

Adherence

Allocates Memory

No

Thread-Safe

No

Uses Atomics

No

Lock-Free

No

Parameters:
  • action_server[in] the action server on which to add a callback

  • callback[in] event callback which will be invoked by the expire timer’s timer callback

  • user_data[in] data that can be passed to the event callback