34 #ifndef FGGROUNDREACTIONS_H 35 #define FGGROUNDREACTIONS_H 43 #include "FGSurface.h" 46 #include "math/FGColumnVector3.h" 48 #define ID_GROUNDREACTIONS "$Id: FGGroundReactions.h,v 1.30 2016/05/16 18:19:57 bcoconni Exp $" 95 bool Run(
bool Holding);
98 double GetForces(
int idx)
const {
return vForces(idx);}
100 double GetMoments(
int idx)
const {
return vMoments(idx);}
101 std::string GetGroundReactionStrings(std::string delimeter)
const;
102 std::string GetGroundReactionValues(std::string delimeter)
const;
103 bool GetWOW(
void)
const;
105 int GetNumGearUnits(
void)
const {
return (
int)lGear.size(); }
120 void RegisterLagrangeMultiplier(
LagrangeMultiplier* lmult) { multipliers.push_back(lmult); }
121 std::vector <LagrangeMultiplier*>* GetMultipliersList(
void) {
return &multipliers; }
126 std::vector <FGLGear*> lGear;
129 std::vector <LagrangeMultiplier*> multipliers;
133 void Debug(
int from);
void SetDsCmd(double cmd)
Sets the steering command.
bool Load(Element *el)
Loads this model.
Base class for all scheduled JSBSim models.
bool Run(bool Holding)
Runs the Ground Reactions model; called by the Executive Can pass in a value indicating if the execut...
This class implements a 3 element column vector.
Manages ground reactions modeling.
FGLGear * GetGearUnit(int gear) const
Gets a gear instance.
Base class for all surface properties.
Encapsulates the JSBSim simulation executive.
double GetDsCmd(void) const
Gets the steering command.