Quick Start
Initialize a Config
Include the config header.
Retrieve the concrete config from a file on the local filesystem.
Retrieve the concrete config from a file on the local filesystem.
Retrieve the concrete config from the Miru agent.
The Miru agent must be running on the same machine as the application executing this code.
Get a Parameter
To retrieve a parameter within a config, simply specify the parameter’s path.
A parameter’s path is a dot-separated list of keys starting with the config slug. Say we have the following config schema and concrete config.
The parameter’s path is motion-control.joint-1.position.x
, which follows the format <config-slug>.<concrete-config-path>
.
The default method for retrieving a parameter is the get_param
function. However, if you’re coming from ROS2, you may prefer the get_parameter
function from the ROS2 config wrapper.