Values.ROS2PrimitiveMessageDefinitionSourceRepresents a ROS 2 compliant primitive type message of the complex data structure.
type nonrec t = {primitiveType : ROS2PrimitiveType.t;The primitive type (integer, floating point, boolean, etc.) for the ROS 2 primitive message definition.
*)offset : Double.t option;The offset used to calculate the signal value. Combined with scaling, the calculation is value = raw_value * scaling + offset.
*)scaling : Double.t option;A multiplier used to decode the message.
*)upperBound : ROS2PrimitiveMessageDefinitionUpperBoundLong.t option;An optional attribute specifying the upper bound for STRING and WSTRING.
*)}val make :
?offset:??? ->
?scaling:??? ->
?upperBound:??? ->
primitiveType:ROS2PrimitiveType.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Double of Double.t
| `Enum of string
| `Long of ROS2PrimitiveMessageDefinitionUpperBoundLong.t ])
list ]