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)


3247
3248
3249
3250
3251
3252
3253
3254
# File 'lib/aws-sdk-iotfleetwise/types.rb', line 3247

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)


3247
3248
3249
3250
3251
3252
3253
3254
# File 'lib/aws-sdk-iotfleetwise/types.rb', line 3247

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)


3247
3248
3249
3250
3251
3252
3253
3254
# File 'lib/aws-sdk-iotfleetwise/types.rb', line 3247

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)


3247
3248
3249
3250
3251
3252
3253
3254
# File 'lib/aws-sdk-iotfleetwise/types.rb', line 3247

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