Module Values.ROS2PrimitiveMessageDefinitionSource

Represents a ROS 2 compliant primitive type message of the complex data structure.

Sourcetype nonrec t = {
  1. primitiveType : ROS2PrimitiveType.t;
    (*

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

    *)
  2. offset : Double.t option;
    (*

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

    *)
  3. scaling : Double.t option;
    (*

    A multiplier used to decode the message.

    *)
  4. upperBound : ROS2PrimitiveMessageDefinitionUpperBoundLong.t option;
    (*

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

    *)
}
Sourceval context_ : string
Sourceval make : ?offset:??? -> ?scaling:??? -> ?upperBound:??? -> primitiveType:ROS2PrimitiveType.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Double of Double.t | `Enum of string | `Long of ROS2PrimitiveMessageDefinitionUpperBoundLong.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t