Skip to content

MASIFAR

MOARdV edited this page Jun 9, 2017 · 15 revisions

MASIFAR.cs

MASIFAR is the AvionicsSystems interface with Ferram Aerospace Research (FAR).

far.AngleOfAttack()

Returns: Angle of attack in degrees.

Returns the vessel's angle of attack.

far.Available()

Returns 1 if FAR is installed and available on this craft, 0 if it is not available.

far.CoeffBallistic()

Return the ballistic coefficient for this vessel.

far.CoeffDrag()

Return the coefficient of drag for this vessel.

far.CoeffLift()

Return the coefficient of lift for this vessel.

far.DecreaseFlapSetting()

Returns: 1 if flap settings were decreased, 0 otherwise.

Reduce flap setting one step, unless flaps are already at 0.

far.DynamicPressure()

Returns the current dynamic pressure in kPa.

far.GetFlapSetting()

Returns: 0 (no flaps) through 3 (maximum flaps).

Returns the current flap setting for the vessel.

far.GetSpoilerSetting()

Returns 1 if spoilers are deployed, 0 otherwise.

far.IncreaseFlapSetting()

Returns: 1 if flap settings were increased, 0 otherwise.

Increase flap setting one step, unless flaps are already at 3.

far.RefArea()

Return the RefArea for this vessel.

far.SetSpoilers(bool newState)

  • newState: true to deploy spoilers, false to retract spoilers.

Returns: 1 if the spoiler state changed, 0 otherwise.

Deploy or retract spoilers.

far.Sideslip()

Returns: Sideslip in degrees.

Returns the sideslip of the vessel.

far.SpecFuelConsumption()

Returns the thrust specific fuel consumption of the vessel.

far.StallFraction()

Returns the stall fraction for this vessel.

far.TerminalVelocity()

Returns: Terminal velocity in m/s.

Returns an estimate of the terminal velocity for the current vessel.


This documentation was automatically generated from source code at 13:35 UTC on 9/Jun/2017.

Clone this wiki locally