示例#1
0
LCreal JSBSimModel::getFlightPath() const
{
    if (fdmex == 0) return 0.0;
    JSBSim::FGAuxiliary* Auxiliary = fdmex->GetAuxiliary();
    if (Auxiliary == 0) return 0.0;

    return (LCreal)(Auxiliary->GetGamma());
}
示例#2
0
LCreal JSBSimModel::getCalibratedAirspeed() const
{
    if (fdmex == 0) return 0.0;
    JSBSim::FGAuxiliary* Auxiliary = fdmex->GetAuxiliary();
    if (Auxiliary == 0) return 0.0;

    return (LCreal)Auxiliary->GetVcalibratedKTS();
}
示例#3
0
LCreal JSBSimModel::getAngleOfAttack() const
{
    if (fdmex == 0) return 0.0;
    JSBSim::FGAuxiliary* Auxiliary = fdmex->GetAuxiliary();
    if (Auxiliary == 0) return 0.0;

    return (LCreal)(Auxiliary->Getalpha());
}
示例#4
0
LCreal JSBSimModel::getSideSlip() const
{
    if (fdmex == 0) return 0.0;
    JSBSim::FGAuxiliary* Auxiliary = fdmex->GetAuxiliary();
    if (Auxiliary == 0) return 0.0;

    return (LCreal)(Auxiliary->Getbeta());
}
示例#5
0
LCreal JSBSimModel::getCalibratedAirspeed() const
{
    if (fdmex == nullptr) return 0.0;
    JSBSim::FGAuxiliary* Auxiliary = fdmex->GetAuxiliary();
    if (Auxiliary == nullptr) return 0.0;

    return static_cast<LCreal>(Auxiliary->GetVcalibratedKTS());
}
示例#6
0
LCreal JSBSimModel::getMach() const
{
    if (fdmex == 0) return 0.0;
    JSBSim::FGAuxiliary* Auxiliary = fdmex->GetAuxiliary();
    if (Auxiliary == 0) return 0.0;

    return (LCreal)Auxiliary->GetMach();
}
示例#7
0
LCreal JSBSimModel::getFlightPath() const
{
    if (fdmex == nullptr) return 0.0;
    JSBSim::FGAuxiliary* Auxiliary = fdmex->GetAuxiliary();
    if (Auxiliary == nullptr) return 0.0;

    return static_cast<LCreal>(Auxiliary->GetGamma());
}
示例#8
0
LCreal JSBSimModel::getSideSlip() const
{
    if (fdmex == nullptr) return 0.0;
    JSBSim::FGAuxiliary* Auxiliary = fdmex->GetAuxiliary();
    if (Auxiliary == nullptr) return 0.0;

    return static_cast<LCreal>(Auxiliary->Getbeta());
}
示例#9
0
LCreal JSBSimModel::getAngleOfAttack() const
{
    if (fdmex == nullptr) return 0.0;
    JSBSim::FGAuxiliary* Auxiliary = fdmex->GetAuxiliary();
    if (Auxiliary == nullptr) return 0.0;

    return static_cast<LCreal>(Auxiliary->Getalpha());
}
示例#10
0
double JSBSimModel::getMach() const
{
    if (fdmex == nullptr) return 0.0;
    JSBSim::FGAuxiliary* Auxiliary = fdmex->GetAuxiliary();
    if (Auxiliary == nullptr) return 0.0;

    return static_cast<double>(Auxiliary->GetMach());
}
示例#11
0
LCreal JSBSimModel::getMach() const
{
    if (fdmex == 0) return 0.0;
    JSBSim::FGAuxiliary* Auxiliary = fdmex->GetAuxiliary();
    if (Auxiliary == 0) return 0.0;

    return static_cast<LCreal>(Auxiliary->GetMach());
}