class documentation
class ParameterDescription:
What a ROS2 node says about one of its parameters, beyond the value it holds.
Everything an operator needs to write a declaration for the parameter.
| Instance Variable | additional |
The node's own free text about what it accepts, verbatim. |
| Instance Variable | description |
The node's own one-line description, verbatim; empty if it gave none. |
| Instance Variable | dynamic |
Whether the node lets the parameter change type. A declaration names one type, so declaring such a parameter narrows what the node allows. |
| Instance Variable | name |
The ROS2 parameter name, dotted as the node spells it. |
| Instance Variable | present |
Whether the node declares that name at all. |
| Instance Variable | range |
The numeric range the node declares, or None. |
| Instance Variable | read |
Whether the node refuses every write. Such a parameter is still declarable, and every write to it is then refused, so this is a warning and not an error. |
| Instance Variable | type |
The type the node declares it as, or None when the node answered a code with no member here (PARAMETER_NOT_SET). Always None when present is False. |
Whether the node lets the parameter change type. A declaration names one type, so declaring such a parameter narrows what the node allows.
Whether the node refuses every write. Such a parameter is still declarable, and every write to it is then refused, so this is a warning and not an error.