34#ifndef FGGROUNDREACTIONS_H
35#define FGGROUNDREACTIONS_H
46#include "math/FGColumnVector3.h"
84 bool InitModel(
void)
override;
92 bool Run(
bool Holding)
override;
93 bool Load(
Element* el)
override;
95 double GetForces(
int idx)
const {
return vForces(idx);}
97 double GetMoments(
int idx)
const {
return vMoments(idx);}
98 std::string GetGroundReactionStrings(std::string delimeter)
const;
99 std::string GetGroundReactionValues(std::string delimeter)
const;
100 bool GetWOW(
void)
const;
117 void SetDsCmd(
double cmd);
119 void RegisterLagrangeMultiplier(
LagrangeMultiplier* lmult) { multipliers.push_back(lmult); }
120 std::vector <LagrangeMultiplier*>* GetMultipliersList(
void) {
return &multipliers; }
125 std::vector <std::shared_ptr<FGLGear>> lGear;
126 FGColumnVector3 vForces;
127 FGColumnVector3 vMoments;
128 std::vector <LagrangeMultiplier*> multipliers;
132 void Debug(
int from)
override;
This class implements a 3 element column vector.
Encapsulates the JSBSim simulation executive.
Manages ground reactions modeling.
int GetNumGearUnits(void) const
Gets the number of gears.
double GetDsCmd(void) const
Gets the steering command.
auto GetGearUnit(int gear) const
Gets a gear instance.
Base class for all scheduled JSBSim models.
Base class for all surface properties.
Main namespace for the JSBSim Flight Dynamics Model.