new Parameter(parameterMsg) → {Parameter}
Create a Parameter instance from an rlc_interfaces/msg/Parameter message.
Parameters:
Name | Type | Description |
---|---|---|
parameterMsg |
rcl_interfaces/msg/Parameter | The message to convert to a parameter. |
- Source:
Returns:
- The new instance.
- Type
- Parameter
Members
name
Get name
- Source:
type
Get type
- Source:
value
Get value.
- Source:
value
Set value.
Value must be compatible with the type property.
- Source:
Methods
toParameterMessage() → {rcl_interfaces.msg.Parameter}
Create a rcl_interfaces.msg.Parameter from this instance.
- Source:
Returns:
- The new instance.
- Type
- rcl_interfaces.msg.Parameter
toParameterValueMessage() → {rcl_interfaces.msg.ParameterValue}
Create a rcl_interfaces.msg.ParameterValue from this instance.
- Source:
Returns:
- The new instance.
- Type
- rcl_interfaces.msg.ParameterValue
validate() → {undefined}
Check the state of this property.
Throw TypeError on first property with invalid type.
- Source:
Returns:
- Type
- undefined