Module Values.SensorSource

An input component that reports the environmental condition of a vehicle. You can collect data about fluid levels, temperatures, vibrations, or battery voltage from sensors.

Sourcetype nonrec t = {
  1. fullyQualifiedName : SensorFullyQualifiedNameString.t;
    (*

    The fully qualified name of the sensor. For example, the fully qualified name of a sensor might be Vehicle.Body.Engine.Battery.

    *)
  2. dataType : NodeDataType.t;
    (*

    The specified data type of the sensor.

    *)
  3. description : Description.t option;
    (*

    A brief description of a sensor.

    *)
  4. unit : string option;
    (*

    The scientific unit of measurement for data collected by the sensor.

    *)
  5. allowedValues : ListOfStrings.t option;
    (*

    A list of possible values a sensor can take.

    *)
  6. min : Double.t option;
    (*

    The specified possible minimum value of the sensor.

    *)
  7. max : Double.t option;
    (*

    The specified possible maximum value of the sensor.

    *)
  8. deprecationMessage : Message.t option;
    (*

    The deprecation message for the node or the branch that was moved or deleted.

    *)
  9. comment : Message.t option;
    (*

    A comment in addition to the description.

    *)
  10. structFullyQualifiedName : NodePath.t option;
    (*

    The fully qualified name of the struct node for a sensor if the data type of the actuator is Struct or StructArray. For example, the struct fully qualified name of a sensor might be Vehicle.ADAS.CameraStruct.

    *)
}
Sourceval context_ : string
Sourceval make : ?description:??? -> ?unit:??? -> ?allowedValues:??? -> ?min:??? -> ?max:??? -> ?deprecationMessage:??? -> ?comment:??? -> ?structFullyQualifiedName:??? -> fullyQualifiedName:SensorFullyQualifiedNameString.t -> dataType:NodeDataType.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Double of Double.t | `Enum of string | `List of [> `String of string ] list | `String of SensorFullyQualifiedNameString.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