Function rclc_add_parameter

Function Documentation

rcl_ret_t rclc_add_parameter(rclc_parameter_server_t *parameter_server, const char *parameter_name, rclc_parameter_type_t type)

Adds a RCLC parameter to a server This method is disabled on user callback execution.

Attribute

Adherence

Allocates Memory

Yes

Thread-Safe

No

Uses Atomics

No

Lock-Free

No

Parameters:
  • parameter_server[in] preallocated rclc_parameter_server_t

  • parameter_name[in] name of the parameter

  • type[in] type of the parameter

Returns:

RCL_RET_OK if success