 |
JSBSim Flight Dynamics Model
1.1.11 (13 Feb 2022)
An Open Source Flight Dynamics and Control Software Library in C++
|
34 #ifndef FGACCELERATIONS_H
35 #define FGACCELERATIONS_H
41 #include "models/FGModel.h"
42 #include "math/FGColumnVector3.h"
43 #include "math/LagrangeMultiplier.h"
44 #include "math/FGMatrix33.h"
116 bool Run(
bool Holding)
override;
189 double GetUVWdot(
int idx)
const {
return vUVWdot(idx); }
233 double GetPQRdot(
int axis)
const {
return vPQRdot(axis);}
373 void CalculatePQRdot(
void);
374 void CalculateUVWdot(
void);
376 void CalculateFrictionForces(
double dt);
379 void Debug(
int from)
override;
Encapsulates the JSBSim simulation executive.
const FGColumnVector3 & GetUVWdot(void) const
Retrieves the body axis acceleration.
This class implements a 3 element column vector.
Base class for all scheduled JSBSim models.
void SetHoldDown(bool hd)
Sets the property forces/hold-down.
const FGColumnVector3 & GetUVWidot(void) const
Retrieves the body axis acceleration in the ECI frame.
double GetGroundMoments(int idx) const
Retrieves the ground moments applied on the body.
Handles matrix math operations.
double Magnitude(void) const
Length of the vector.
bool Run(bool Holding) override
Runs the state propagation model; called by the Executive Can pass in a value indicating if the execu...
double GetForces(int idx) const
Retrieves the total forces applied on the body.
const FGColumnVector3 & GetPQRidot(void) const
Retrieves the axis angular acceleration vector in the ECI frame.
Handles the calculation of accelerations.
double GetMoments(int idx) const
Retrieves a component of the total moments applied on the body.
double GetUVWdot(int idx) const
Retrieves a body frame acceleration component.
const FGColumnVector3 & GetBodyAccel(void) const
Retrieves the acceleration resulting from the applied forces.
void InitializeDerivatives(void)
Initializes the FGAccelerations class prior to a new execution.
~FGAccelerations()
Destructor.
double GetWeight(int idx) const
Retrieves the weight applied on the body.
FGAccelerations(FGFDMExec *Executive)
Constructor.
bool InitModel(void) override
Initializes the FGAccelerations class after instantiation and prior to first execution.
const FGColumnVector3 & GetPQRdot(void) const
Retrieves the body axis angular acceleration vector.
double GetBodyAccel(int idx) const
Retrieves a component of the acceleration resulting from the applied forces.
double GetGroundForces(int idx) const
Retrieves the ground forces applied on the body.
double GetPQRdot(int axis) const
Retrieves a body frame angular acceleration component.