Metadata for Robotis servo control table parameters.
Categorises parameters and determines access permissions for the parameter bridge. Status parameters (temperature, voltage, current, etc.) are excluded as they are exposed via sensor messages instead.
Categories
:info- Read-only identification (model_number, firmware_version):config- EEPROM settings, require torque off to write (limits, operating_mode):control- RAM settings, writable at runtime (PID gains, profiles)
Summary
Functions
List all parameter names for a control table, excluding status and indirect params.
Get metadata for a specific parameter.
Check if a parameter requires torque to be disabled before writing.
Check if a parameter is a status parameter (excluded from bridge).
Check if a parameter is writable.
Types
Functions
@spec list_params(control_table()) :: [atom()]
List all parameter names for a control table, excluding status and indirect params.
@spec param_info(control_table(), atom()) :: {:ok, param_info()} | {:error, :unknown_param}
Get metadata for a specific parameter.
@spec requires_torque_off?(control_table(), atom()) :: boolean()
Check if a parameter requires torque to be disabled before writing.
Check if a parameter is a status parameter (excluded from bridge).
@spec writable?(control_table(), atom()) :: boolean()
Check if a parameter is writable.