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;
147 double GetUVWidot(
int idx)
const {
return vUVWidot(idx); }
178 double GetPQRidot(
int idx)
const {
return vPQRidot(idx); }
191 double GetUVWdot(
int idx)
const {
return vUVWdot(idx); }
235 double GetPQRdot(
int axis)
const {
return vPQRdot(axis);}
375 void CalculatePQRdot(
void);
376 void CalculateUVWdot(
void);
378 void CalculateFrictionForces(
double dt);
381 void Debug(
int from)
override;
Handles the calculation of accelerations.
double GetBodyAccel(int idx) const
Retrieves a component of the acceleration resulting from the applied forces.
void InitializeDerivatives(void)
Initializes the FGAccelerations class prior to a new execution.
const FGColumnVector3 & GetUVWidot(void) const
Retrieves the body axis acceleration in the ECI frame.
const FGColumnVector3 & GetUVWdot(void) const
Retrieves the body axis acceleration.
double GetGroundMoments(int idx) const
Retrieves the ground moments applied on the body.
const FGColumnVector3 & GetBodyAccel(void) const
Retrieves the acceleration resulting from the applied forces.
double GetMoments(int idx) const
Retrieves a component of the total moments applied on the body.
~FGAccelerations()
Destructor.
bool Run(bool Holding) override
Runs the state propagation model; called by the Executive Can pass in a value indicating if the execu...
double GetPQRdot(int axis) const
Retrieves a body frame angular acceleration component.
bool InitModel(void) override
Initializes the FGAccelerations class after instantiation and prior to first execution.
double GetUVWdot(int idx) const
Retrieves a body frame acceleration component.
double GetGroundForces(int idx) const
Retrieves the ground forces applied on the body.
const FGColumnVector3 & GetPQRdot(void) const
Retrieves the body axis angular acceleration vector.
const FGColumnVector3 & GetPQRidot(void) const
Retrieves the axis angular acceleration vector in the ECI frame.
double GetWeight(int idx) const
Retrieves the weight applied on the body.
void SetHoldDown(bool hd)
Sets the property forces/hold-down.
double GetForces(int idx) const
Retrieves the total forces applied on the body.
This class implements a 3 element column vector.
double Magnitude(void) const
Length of the vector.
Encapsulates the JSBSim simulation executive.
Handles matrix math operations.
Base class for all scheduled JSBSim models.
Main namespace for the JSBSim Flight Dynamics Model.