Class Accelerometer
- Namespace
- NominalSystems.Classes
- Assembly
- NominalSystems.Classes.dll
[Nominal] The accelerometer sensor is able to measure the acceleration of the spacecraft that is being attached to.
public class Accelerometer : Sensor
- Inheritance
-
Accelerometer
Constructors
Accelerometer()
Default constructor
protected Accelerometer()
Fields
Bias
Translational acceleration sensor bias
[Unit(UnitType.METRE_PER_SECOND_SQUARED)]
public Vector3 Bias
Field Value
DiscretizationBinSize
The value for the least significant bit on the discretised noise model. This is the size of the bin used by the discretization utility.
[Unit(UnitType.NONE)]
public double DiscretizationBinSize
Field Value
In_SpacecraftStateMsg
A reference to the base spacecraft's state message for computing the state of the object.
public SpacecraftStateMessage? In_SpacecraftStateMsg
Field Value
MaxOutput
Accelerometer saturation value
[Unit(UnitType.METRE_PER_SECOND_SQUARED)]
public double MaxOutput
Field Value
Out_AccelerometerDataMsg
Output message for IMU accelerometer data
public AccelerometerDataMessage? Out_AccelerometerDataMsg
Field Value
PMatrix
Cholesky-decomposition or matrix square root of the covariance matrix to apply errors with
[Unit(UnitType.NONE)]
public Matrix3 PMatrix
Field Value
ScaleFactor
Scale factor for the sensor data
[Unit(UnitType.NONE)]
public double ScaleFactor
Field Value
WalkBounds
"3-sigma" errors to permit for states
[Unit(UnitType.NONE)]
public Vector3 WalkBounds
Field Value
Properties
Acceleration_LN_B
Apparent acceleration of the platform in the body frame.
[Unit(UnitType.METRE_PER_SECOND_SQUARED)]
[ReadOnly]
[Metadata(ContainedIn = "Out_AccelerometerDataMsg")]
public Vector3 Acceleration_LN_B { get; }
Property Value
DeltaVelocity_LN_B
Accumulated delta velocity (DV) of the platform in the body frame.
[Unit(UnitType.SQUARE_METRE)]
[ReadOnly]
[Metadata(ContainedIn = "Out_AccelerometerDataMsg")]
public Vector3 DeltaVelocity_LN_B { get; }
Property Value
Methods
OnBegin(double)
Called when the object is beginning ticking for the first time. This is when the simulation calls the very first tick and will run before the update call.
protected override void OnBegin(double time)
Parameters
time
double[s] Current time of the simulation before the tick
OnCreate()
Called when the 'Component' is created from the controller.
protected override void OnCreate()
OnLoad(double)
Called after all of the data has been loaded from a save state on this object. This enables any post-load operations to be performed and extra data to be loaded from the metadata.
protected override void OnLoad(double time)
Parameters
time
double[s] The current clock time of the simulation
OnSave()
Called before the object is saved into the save state. This ensures that any additional metadata can be saved on the object before it is automatically serialized.
protected override void OnSave()
OnUpdate(double, double)
Called when the object should update from the simulation tick. This will take in a time and a step, where the time is the time of the clock before updating the object.
protected override void OnUpdate(double time, double step)