Interface ROS2PrimitiveMessageDefinition.Builder

All Superinterfaces:
Buildable, CopyableBuilder<ROS2PrimitiveMessageDefinition.Builder,ROS2PrimitiveMessageDefinition>, SdkBuilder<ROS2PrimitiveMessageDefinition.Builder,ROS2PrimitiveMessageDefinition>, SdkPojo
Enclosing class:
ROS2PrimitiveMessageDefinition

public static interface ROS2PrimitiveMessageDefinition.Builder extends SdkPojo, CopyableBuilder<ROS2PrimitiveMessageDefinition.Builder,ROS2PrimitiveMessageDefinition>
  • Method Details

    • primitiveType

      ROS2PrimitiveMessageDefinition.Builder primitiveType(String primitiveType)

      The primitive type (integer, floating point, boolean, etc.) for the ROS 2 primitive message definition.

      Parameters:
      primitiveType - The primitive type (integer, floating point, boolean, etc.) for the ROS 2 primitive message definition.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • primitiveType

      The primitive type (integer, floating point, boolean, etc.) for the ROS 2 primitive message definition.

      Parameters:
      primitiveType - The primitive type (integer, floating point, boolean, etc.) for the ROS 2 primitive message definition.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • offset

      The offset used to calculate the signal value. Combined with scaling, the calculation is value = raw_value * scaling + offset.

      Parameters:
      offset - The offset used to calculate the signal value. Combined with scaling, the calculation is value = raw_value * scaling + offset.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • scaling

      A multiplier used to decode the message.

      Parameters:
      scaling - A multiplier used to decode the message.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • upperBound

      An optional attribute specifying the upper bound for STRING and WSTRING.

      Parameters:
      upperBound - An optional attribute specifying the upper bound for STRING and WSTRING.
      Returns:
      Returns a reference to this object so that method calls can be chained together.