clearpathrobotics / clearpath_config

Clearpath Configuration YAML Parser
https://docs.clearpathrobotics.com/
BSD 3-Clause "New" or "Revised" License
9 stars 9 forks source link

ROS Parameters #10

Closed luis-camero closed 1 year ago

luis-camero commented 1 year ago

Every sensor has it's own ros_parameters dictionary through which any parameter can be set.

The parameters that are understood by the ClearpathConfig parser are in the sample config.

Any other key, value pair passed will get stored and returned with a call to get_ros_parameters.

Any changes made to sensors at run-time (i.e. after reading the config) will be reflected in the config returned by the get_ros_parameters function.

Nested parameters, i.e. rgb_camera.profile are interpreted as nested dictionaries:

{
rgb_camera: 
  {
   profile: ""
  }
}