Class: Aws::IoTFleetWise::Types::ROS2PrimitiveMessageDefinition

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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

Instance Attribute Details

#offsetFloat

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

Returns:

  • (Float)


3791
3792
3793
3794
3795
3796
3797
3798
# File 'lib/aws-sdk-iotfleetwise/types.rb', line 3791

class ROS2PrimitiveMessageDefinition < Struct.new(
  :primitive_type,
  :offset,
  :scaling,
  :upper_bound)
  SENSITIVE = []
  include Aws::Structure
end

#primitive_typeString

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

Returns:

  • (String)


3791
3792
3793
3794
3795
3796
3797
3798
# File 'lib/aws-sdk-iotfleetwise/types.rb', line 3791

class ROS2PrimitiveMessageDefinition < Struct.new(
  :primitive_type,
  :offset,
  :scaling,
  :upper_bound)
  SENSITIVE = []
  include Aws::Structure
end

#scalingFloat

A multiplier used to decode the message.

Returns:

  • (Float)


3791
3792
3793
3794
3795
3796
3797
3798
# File 'lib/aws-sdk-iotfleetwise/types.rb', line 3791

class ROS2PrimitiveMessageDefinition < Struct.new(
  :primitive_type,
  :offset,
  :scaling,
  :upper_bound)
  SENSITIVE = []
  include Aws::Structure
end

#upper_boundInteger

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

Returns:

  • (Integer)


3791
3792
3793
3794
3795
3796
3797
3798
# File 'lib/aws-sdk-iotfleetwise/types.rb', line 3791

class ROS2PrimitiveMessageDefinition < Struct.new(
  :primitive_type,
  :offset,
  :scaling,
  :upper_bound)
  SENSITIVE = []
  include Aws::Structure
end