206 bool Run(
bool Holding)
override;
224 double GetDsCmd(
void)
const {
return fdmex->GetGroundReactions()->GetDsCmd(); }
285 const {
return DaLPos[form]; }
290 const {
return DaRPos[form]; }
295 const {
return DePos[form]; }
300 const {
return DrPos[form]; }
305 const {
return DsbPos[form]; }
310 const {
return DspPos[form]; }
315 const {
return DfPos[form]; }
385 void SetDsCmd(
double cmd) { fdmex->GetGroundReactions()->SetDsCmd( cmd ); }
448 void SetDePos(
int form ,
double pos );
452 void SetDrPos(
int form ,
double pos );
456 void SetDfPos(
int form ,
double pos );
544 double GetDt(
void)
const;
552 double DaCmd, DeCmd, DrCmd, DfCmd, DsbCmd, DspCmd;
555 double PTrimCmd, YTrimCmd, RTrimCmd;
556 std::vector <double> ThrottleCmd;
557 std::vector <double> ThrottlePos;
558 std::vector <double> MixtureCmd;
559 std::vector <double> MixturePos;
560 std::vector <double> PropAdvanceCmd;
561 std::vector <double> PropAdvance;
562 std::vector <bool> PropFeatherCmd;
563 std::vector <bool> PropFeather;
565 std::vector <double> BrakePos;
566 double GearCmd,GearPos;
567 double TailhookPos, WingFoldPos;
572 typedef std::vector <FGFCSChannel*> Channels;
573 Channels SystemChannels;
575 void bindThrottle(
unsigned int);
576 void Debug(
int from)
override;
void SetThrottlePos(int engine, double cmd)
Sets the actual throttle setting for the specified engine.
double GetDspPos(int form=ofRad) const
Gets the spoiler position.
void SetPropAdvanceCmd(int engine, double cmd)
Sets the propeller pitch command for the specified engine.
double GetDeCmd(void) const
Gets the elevator command.
std::string GetComponentStrings(const std::string &delimiter) const
Retrieves all component names for inclusion in output stream.
void SetLBrake(double cmd)
Sets the left brake group.
double GetDaLPos(int form=ofRad) const
Gets the left aileron position.
void SetPitchTrimCmd(double cmd)
Sets the pitch trim command.
FGPropertyManager * GetPropertyManager(void)
double GetYawTrimCmd(void) const
Gets the rudder trim command.
void SetRBrake(double cmd)
Sets the right brake group.
double GetPropAdvanceCmd(int engine) const
Gets the prop pitch command.
double GetCBrake(void) const
Gets the center brake.
double GetDaRPos(int form=ofRad) const
Gets the right aileron position.
double GetDsCmd(void) const
Gets the steering command.
double GetBrake(FGLGear::BrakeGroup bg)
Gets the brake for a specified group.
const std::vector< double > & GetMixturePos() const
void SetDeCmd(double cmd)
Sets the elevator command.
double GetDfPos(int form=ofRad) const
Gets the flaps position.
const std::vector< double > & GetPropAdvance() const
FGFCS(FGFDMExec *)
Constructor.
double GetChannelDeltaT(void) const
bool GetTrimStatus(void) const
void SetYawTrimCmd(double cmd)
Sets the rudder trim command.
const std::vector< bool > & GetPropFeather() const
double GetDrCmd(void) const
Gets the rudder command.
SGPath FindFullPathName(const SGPath &path) const override
void SetPropAdvance(int engine, double cmd)
Sets the actual prop pitch setting for the specified engine.
void SetDspPos(int form, double pos)
Sets the spoiler position.
bool Run(bool Holding) override
Runs the Flight Controls model; called by the Executive Can pass in a value indicating if the executi...
const std::vector< double > & GetThrottlePos() const
bool GetFeatherCmd(int engine) const
Gets the prop feather command.
void SetDspCmd(double cmd)
Sets the spoilers command.
void SetDfPos(int form, double pos)
Sets the flaps position.
void SetDaCmd(double cmd)
Sets the aileron command.
void SetWingFoldPos(double foldpos)
Set the wing fold position.
void SetDsbCmd(double cmd)
Sets the speedbrake command.
double GetRBrake(void) const
Gets the right brake.
void SetTailhookPos(double hookpos)
Set the tailhook position.
double GetTailhookPos(void) const
Gets the tailhook position (0 up, 1 down)
void SetDsCmd(double cmd)
Sets the steering command.
double GetPropAdvance(int engine) const
Gets the prop pitch position.
double GetMixturePos(int engine) const
Gets the mixture position.
double GetGearPos(void) const
Gets the gear position (0 up, 1 down), defaults to down.
void SetDaRPos(int form, double pos)
Sets the right aileron position.
double GetRollTrimCmd(void) const
Gets the aileron trim command.
double GetLBrake(void) const
Gets the left brake.
double GetDePos(int form=ofRad) const
Gets the elevator position.
double GetDsbCmd(void) const
Gets the speedbrake command.
double GetDrPos(int form=ofRad) const
Gets the rudder position.
double GetDspCmd(void) const
Gets the spoiler command.
double GetGearCmd(void) const
Get the gear extend/retract command.
bool InitModel(void) override
void SetThrottleCmd(int engine, double cmd)
Sets the throttle command for the specified engine.
void SetDfCmd(double cmd)
Sets the flaps command.
const std::vector< double > & GetMixtureCmd() const
void SetMixturePos(int engine, double cmd)
Sets the actual mixture setting for the specified engine.
~FGFCS() override
Destructor.
void SetDrCmd(double cmd)
Sets the rudder command.
void SetDaLPos(int form, double pos)
Sets the left aileron position.
void SetGearCmd(double gearcmd)
Set the gear extend/retract command, defaults to down.
void SetCBrake(double cmd)
Sets the center brake group.
double GetMixtureCmd(int engine) const
Gets the mixture command.
const std::vector< double > & GetBrakePos() const
std::string GetComponentValues(const std::string &delimiter) const
Retrieves all component outputs for inclusion in output stream.
double GetDaCmd(void) const
Gets the aileron command.
double GetDfCmd(void) const
Gets the flaps command.
void SetDrPos(int form, double pos)
Sets the rudder position.
double GetWingFoldPos(void) const
Gets the wing fold position (0 unfolded, 1 folded)
bool GetPropFeather(int engine) const
Gets the prop feather position.
double GetDsbPos(int form=ofRad) const
Gets the speedbrake position.
void SetRollTrimCmd(double cmd)
Sets the aileron trim command.
double GetPitchTrimCmd(void) const
Gets the pitch trim command.
void SetPropFeather(int engine, bool cmd)
Sets the actual prop feather setting for the specified engine.
void SetFeatherCmd(int engine, bool cmd)
Sets the propeller feather command for the specified engine.
void SetDePos(int form, double pos)
Sets the elevator position.
void SetGearPos(double gearpos)
Set the gear extend/retract position, defaults to down.
void SetMixtureCmd(int engine, double cmd)
Sets the mixture command for the specified engine.
const std::vector< double > & GetThrottleCmd() const
bool Load(Element *el) override
Loads the Flight Control System.
void SetDsbPos(int form, double pos)
Sets the speedbrake position.
BrakeGroup
Brake grouping enumerators.
FGPropertyManager * PropertyManager
FGModel(FGFDMExec *)
Constructor.