Table of Contents

Class Sensor

Namespace
NominalSystems.Classes
Assembly
NominalSystems.Classes.dll

[Nominal] A base class for a sensor module that exists on an object. A sensor is able to determine some data but does not affect the dynamics of the object attached to.


public class Sensor : PhysicalObject
Inheritance
Sensor
Derived

Constructors

Sensor()

Default constructor

protected Sensor()

Fields

FaultState

Specification used if state is set to a fault state for the sensor. This will be able to define how the output data is set for this particular sensor.

[Unit(UnitType.NONE)]
public SensorFaultType FaultState

Field Value

SensorFaultType

In_TransformMsg

The transform message associated with the root object of this particular sensor. This is required for the base level position and rotation of the object.

public TransformMessage? In_TransformMsg

Field Value

TransformMessage

Methods

OnCreate()

Called when the 'Component' is created from the controller.

protected override void OnCreate()

OnHierarchyChanged()

An event that is executed when some object within the chain of components in the hierarchy is added or removed from the system. This can be used to recalculate physics or create a new list of objects.

protected override void OnHierarchyChanged()