Rclex.Parameter (Rclex (Experimental) v0.12.0)

Copy Markdown View Source

Utilities for working with ROS 2 parameters.

This module provides functionality for parameter management including parameter types, validation, and conversion utilities.

Summary

Functions

Create a parameter descriptor.

Create a new parameter with the given name and value. The type is automatically inferred from the value.

Create a new parameter with explicit type specification.

Get the parameter type from a ParameterValue.

Functions

descriptor(name, type, opts \\ [])

Create a parameter descriptor.

new(name, value)

Create a new parameter with the given name and value. The type is automatically inferred from the value.

new(name, value, type)

Create a new parameter with explicit type specification.

parameter_value_type(param_value)

Get the parameter type from a ParameterValue.