Sensor

class Sensor

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.

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard

A list of possible values a sensor can take.

Link copied to clipboard

A comment in addition to the description.

Link copied to clipboard

The specified data type of the sensor.

Link copied to clipboard

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

Link copied to clipboard

A brief description of a sensor.

Link copied to clipboard

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

Link copied to clipboard
val max: Double?

The specified possible maximum value of the sensor.

Link copied to clipboard
val min: Double?

The specified possible minimum value of the sensor.

Link copied to clipboard

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.

Link copied to clipboard
val unit: String?

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

Functions

Link copied to clipboard
inline fun copy(block: Sensor.Builder.() -> Unit = {}): Sensor
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String