Class: Aws::IoTFleetWise::Types::ROS2PrimitiveMessageDefinition
- Inherits:
-
Struct
- Object
- Struct
- Aws::IoTFleetWise::Types::ROS2PrimitiveMessageDefinition
- Defined in:
- gems/aws-sdk-iotfleetwise/lib/aws-sdk-iotfleetwise/types.rb
Overview
Represents a ROS 2 compliant primitive type message of the complex data structure.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#offset ⇒ Float
The offset used to calculate the signal value.
-
#primitive_type ⇒ String
The primitive type (integer, floating point, boolean, etc.) for the ROS 2 primitive message definition.
-
#scaling ⇒ Float
A multiplier used to decode the message.
-
#upper_bound ⇒ Integer
An optional attribute specifying the upper bound for
STRING
andWSTRING
.
Instance Attribute Details
#offset ⇒ Float
The offset used to calculate the signal value. Combined with
scaling, the calculation is value = raw_value * scaling + offset
.
3791 3792 3793 3794 3795 3796 3797 3798 |
# File 'gems/aws-sdk-iotfleetwise/lib/aws-sdk-iotfleetwise/types.rb', line 3791 class ROS2PrimitiveMessageDefinition < Struct.new( :primitive_type, :offset, :scaling, :upper_bound) SENSITIVE = [] include Aws::Structure end |
#primitive_type ⇒ String
The primitive type (integer, floating point, boolean, etc.) for the ROS 2 primitive message definition.
3791 3792 3793 3794 3795 3796 3797 3798 |
# File 'gems/aws-sdk-iotfleetwise/lib/aws-sdk-iotfleetwise/types.rb', line 3791 class ROS2PrimitiveMessageDefinition < Struct.new( :primitive_type, :offset, :scaling, :upper_bound) SENSITIVE = [] include Aws::Structure end |
#scaling ⇒ Float
A multiplier used to decode the message.
3791 3792 3793 3794 3795 3796 3797 3798 |
# File 'gems/aws-sdk-iotfleetwise/lib/aws-sdk-iotfleetwise/types.rb', line 3791 class ROS2PrimitiveMessageDefinition < Struct.new( :primitive_type, :offset, :scaling, :upper_bound) SENSITIVE = [] include Aws::Structure end |
#upper_bound ⇒ Integer
An optional attribute specifying the upper bound for STRING
and
WSTRING
.
3791 3792 3793 3794 3795 3796 3797 3798 |
# File 'gems/aws-sdk-iotfleetwise/lib/aws-sdk-iotfleetwise/types.rb', line 3791 class ROS2PrimitiveMessageDefinition < Struct.new( :primitive_type, :offset, :scaling, :upper_bound) SENSITIVE = [] include Aws::Structure end |