class documentation

class ParameterType(Enum):

View In Hierarchy

The declarable members of rcl_interfaces/msg/ParameterType.

Nine of the ten codes: PARAMETER_NOT_SET is a reading, never a declaration, and arrives as a ParameterReading that is present and holds nothing. The member value is the constant name without its PARAMETER_ prefix, lower-cased, for use in declarations.

Constant BOOL Undocumented
Constant BOOL_ARRAY Undocumented
Constant BYTE_ARRAY Undocumented
Constant DOUBLE Undocumented
Constant DOUBLE_ARRAY Undocumented
Constant INTEGER Undocumented
Constant INTEGER_ARRAY Undocumented
Constant STRING Undocumented
Constant STRING_ARRAY Undocumented
Property code Return the number rcl_interfaces/msg/ParameterType gives this type.
Property field_type Return the ROS2 field type a value of this type is.
Property value_field Return the field of rcl_interfaces/msg/ParameterValue that carries this type.
BOOL: str =

Undocumented

Value
'bool'
BOOL_ARRAY: str =

Undocumented

Value
'bool_array'
BYTE_ARRAY: str =

Undocumented

Value
'byte_array'
DOUBLE: str =

Undocumented

Value
'double'
DOUBLE_ARRAY: str =

Undocumented

Value
'double_array'
INTEGER: str =

Undocumented

Value
'integer'
INTEGER_ARRAY: str =

Undocumented

Value
'integer_array'
STRING: str =

Undocumented

Value
'string'
STRING_ARRAY: str =

Undocumented

Value
'string_array'
@property
code: int =

Return the number rcl_interfaces/msg/ParameterType gives this type.

@property
field_type: FieldType =

Return the ROS2 field type a value of this type is.

An integer is an int64, a double is a float64 and a byte_array is a sequence of uint8, so a parameter value goes through the same conversion as a message field (opensmi.ros2.server.projection.ros2_value).

@property
value_field: str =

Return the field of rcl_interfaces/msg/ParameterValue that carries this type.