Function rclc_executor_add_parameter_server_with_context

Function Documentation

rcl_ret_t rclc_executor_add_parameter_server_with_context(rclc_executor_t *executor, rclc_parameter_server_t *parameter_server, rclc_parameter_callback_t on_modification, void *context)

Adds a RCLC parameter server to an RCLC executor

Attribute

Adherence

Allocates Memory

Yes

Thread-Safe

No

Uses Atomics

No

Lock-Free

No

Parameters:
  • executor[in] RCLC executor

  • parameter_server[in] preallocated rclc_parameter_server_t

  • on_modification[in] on parameter modification callback

  • context[in] context of the parameter modification callback

Returns:

RCL_RET_OK if success