#include <FGLGear.h>
Inherits FGJSBBase.
gear (along the local frame X and Y axes) is calculated next. First, the friction coefficient is multiplied by the recently calculated Z-force. This is the friction force. It must be given direction in addition to magnitude. We want the components in the local frame X and Y axes. From step 9, above, the conditioned wheel velocity vector is taken and the X and Y parts are multiplied by the friction force to get the X and Y components of friction.
<contact type="{BOGEY | STRUCTURE}" name="{string}"> <location unit="{IN | M}"> <x> {number} </x> <y> {number} </y> <z> {number} </z> </location> <static_friction> {number} </static_friction> <dynamic_friction> {number} </dynamic_friction> <rolling_friction> {number} </rolling_friction> <spring_coeff unit="{LBS/FT | N/M}"> {number} </spring_coeff> <damping_coeff unit="{LBS/FT/SEC | N/M/SEC}"> {number} </damping_coeff> <damping_coeff_rebound unit="{LBS/FT/SEC | N/M/SEC}"> {number} </damping_coeff_rebound> <max_steer unit="DEG"> {number | 0 | 360} </max_steer> <brake_group> {NONE | LEFT | RIGHT | CENTER | NOSE | TAIL} </brake_group> <retractable>{0 | 1}</retractable> <table type="{CORNERING_COEFF}"> </table> <relaxation_velocity> <rolling unit="{FT/SEC | KTS | M/S}"> {number} </rolling> <side unit="{FT/SEC | KTS | M/S}"> {number} </side> </relaxation_velocity> <force_lag_filter> <rolling> {number} </rolling> <side> {number} </side> </force_lag_filter> <wheel_slip_filter> {number} </wheel_slip_filter> </contact>
Barnes W. McCormick, "Aerodynamics, Aeronautics, and Flight Mechanics", Wiley & Sons, 1979 ISBN 0-471-03032-5
W. A. Ragsdale, "A Generic Landing Gear Dynamics Model for LASRS++", AIAA-2000-4303
Definition at line 206 of file FGLGear.h.
Public Types | |
| enum | BrakeGroup { bgNone = 0, bgLeft, bgRight, bgCenter, bgNose, bgTail } |
| Brake grouping enumerators. | |
| enum | ContactType { ctBOGEY, ctSTRUCTURE, ctUNKNOWN } |
| Contact point type. | |
| enum | ReportType { erNone = 0, erTakeoff, erLand } |
| Report type enumerators. | |
| enum | SteerType { stSteer, stFixed, stCaster } |
| Steering group membership enumerators. | |
Public Member Functions | |
| void | bind (void) |
| FGLGear (const FGLGear &lgear) | |
| Constructor. | |
| FGLGear (Element *el, FGFDMExec *Executive, int number) | |
| Constructor. | |
| FGColumnVector3 & | Force (void) |
| The Force vector for this gear. | |
| double | GetBodyLocation (int idx) const |
| FGColumnVector3 & | GetBodyLocation (void) |
| Gets the location of the gear in Body axes. | |
| double | GetBodyXForce (void) const |
| double | GetBodyYForce (void) const |
| double | GetBrakeFCoeff (void) const |
| int | GetBrakeGroup (void) const |
| double | GetCompForce (void) const |
| Gets the gear compression force in pounds. | |
| double | GetCompLen (void) const |
| Gets the current compressed length of the gear in feet. | |
| double | GetCompVel (void) const |
| Gets the current gear compression velocity in ft/sec. | |
| double | GetDefaultSteerAngle (double cmd) const |
| bool | GetGearUnitDown (void) const |
| double | GetGearUnitPos (void) |
| bool | GetGearUnitUp (void) const |
| double | GetLocalGear (int idx) const |
| FGColumnVector3 & | GetLocalGear (void) |
| string | GetName (void) const |
| Gets the name of the gear. | |
| bool | GetReport (void) const |
| Get the console touchdown reporting feature. | |
| bool | GetRetractable (void) const |
| double | GetstaticFCoeff (void) const |
| bool | GetSteerable (void) const |
| double | GetSteerNorm (void) const |
| int | GetSteerType (void) const |
| double | GetTirePressure (void) const |
| Gets the current normalized tire pressure. | |
| double | GetWheelRollForce (void) const |
| double | GetWheelRollVel (void) const |
| double | GetWheelSideForce (void) const |
| double | GetWheelSideVel (void) const |
| double | GetWheelSlipAngle (void) const |
| double | GetWheelVel (int axis) const |
| bool | GetWOW (void) const |
| Gets the Weight On Wheels flag value. | |
| double | GetZPosition (void) const |
| bool | IsBogey (void) const |
| FGColumnVector3 & | Moment (void) |
| The Moment vector for this gear. | |
| void | SetBrake (double bp) |
| Sets the brake value in percent (0 - 100). | |
| void | SetReport (bool flag) |
| Set the console touchdown reporting feature. | |
| void | SetTirePressure (double p) |
| Sets the new normalized tire pressure. | |
| void | SetZPosition (double z) |
| void | unbind (void) |
| ~FGLGear () | |
| Destructor. | |
| el | a pointer to the XML element that contains the CONTACT info. | |
| Executive | a pointer to the parent executive object | |
| number | integer identifier for this instance of FGLGear |
Definition at line 60 of file FGLGear.cpp.
References Element::FindElement(), Element::FindElementTripletConvertTo(), Element::FindElementValue(), Element::FindElementValueAsNumber(), Element::FindElementValueAsNumberConvertTo(), Element::FindNextElement(), FGFDMExec::GetAircraft(), Element::GetAttributeValue(), FGFDMExec::GetAuxiliary(), Element::GetDataAsNumber(), FGFDMExec::GetFCS(), FGFDMExec::GetMassBalance(), FGFDMExec::GetPropagate(), FGFDMExec::GetPropertyManager(), FGFDMExec::GetState(), FGPropagate::GetTb2l(), and FGMassBalance::StructuralToBody().
| lgear | a reference to an existing FGLGear object |
Definition at line 232 of file FGLGear.cpp.
References FGLGear::Aircraft, FGLGear::Auxiliary, FGLGear::bDamp, FGLGear::bDampRebound, FGLGear::brakePct, FGLGear::compressLength, FGLGear::compressSpeed, FGLGear::CosWheel, FGLGear::dynamicFCoeff, FGLGear::eBrakeGrp, FGLGear::eContactType, FGLGear::eSteerType, FGLGear::Exec, FGLGear::FCS, FGLGear::FirstContact, FGLGear::ForceY_Table, FGLGear::GearDown, FGLGear::GearNumber, FGLGear::GearPos, FGLGear::GearUp, FGLGear::GroundSpeed, FGLGear::isRetractable, FGLGear::kSpring, FGLGear::LandingDistanceTraveled, FGLGear::LandingReported, FGLGear::lastWOW, FGLGear::LatForceLagFilterCoeff, FGLGear::LongForceLagFilterCoeff, FGLGear::MassBalance, FGLGear::maxCompLen, FGLGear::MaximumStrutForce, FGLGear::MaximumStrutTravel, FGLGear::maxSteerAngle, FGLGear::name, FGLGear::prevIn, FGLGear::prevOut, FGLGear::prevSlipIn, FGLGear::prevSlipOut, FGLGear::Propagate, FGLGear::ReportEnable, FGLGear::RFRV, FGLGear::rollingFCoeff, FGLGear::RollingForce, FGLGear::sBrakeGroup, FGLGear::sContactType, FGLGear::Servicable, FGLGear::SFRV, FGLGear::SideForce, FGLGear::SinkRate, FGLGear::SinWheel, FGLGear::sRetractable, FGLGear::sSteerType, FGLGear::StartedGroundRun, FGLGear::State, FGLGear::staticFCoeff, FGLGear::TakeoffDistanceTraveled, FGLGear::TakeoffDistanceTraveled50ft, FGLGear::TakeoffReported, FGLGear::TirePressureNorm, FGLGear::useFCSGearPos, FGLGear::vLocalGear, FGLGear::vMoment, FGLGear::vWhlBodyVec, FGLGear::vXYZ, FGLGear::WheelSlip, FGLGear::WheelSlipLagFilterCoeff, and FGLGear::WOW.
| bool GetReport | ( | void | ) | const [inline] |
| void SetReport | ( | bool | flag | ) | [inline] |
| flag | true turns on touchdown reporting, false turns it off |
Definition at line 264 of file FGLGear.h.
Referenced by FGTrimAnalysis::DoTrim(), and FGTrim::DoTrim().
1.5.1