#include <JSBSim.hxx>
Definition at line 98 of file JSBSim.hxx.
Position Parameter Update | |||||||||||||||||||
| Sets the atmospheric static pressure
| |||||||||||||||||||
| void | do_trim (void) | ||||||||||||||||||
| bool | get_agl_ft (double t, const double pt[3], double alt_off, double contact[3], double normal[3], double vel[3], double *agl) | ||||||||||||||||||
| bool | ToggleDataLogging (void) | ||||||||||||||||||
| bool | ToggleDataLogging (bool state) | ||||||||||||||||||
| void | update (double dt) | ||||||||||||||||||
| Update the position based on inputs, positions, velocities, etc. | |||||||||||||||||||
| void | update_ic (void) | ||||||||||||||||||
Public Member Functions | |||||||||||||||||||
| bool | copy_from_JSBsim () | ||||||||||||||||||
| copy FDM state from LaRCsim structures | |||||||||||||||||||
| bool | copy_to_JSBsim () | ||||||||||||||||||
| copy FDM state to LaRCsim structures | |||||||||||||||||||
| FGJSBsim (double dt) | |||||||||||||||||||
| Constructor. | |||||||||||||||||||
| void | init () | ||||||||||||||||||
| Reset flight params to a specific position. | |||||||||||||||||||
| void | set_Euler_Angles (double phi, double theta, double psi) | ||||||||||||||||||
| Euler Angle Parameter Set. | |||||||||||||||||||
| ~FGJSBsim () | |||||||||||||||||||
| Destructor. | |||||||||||||||||||
Position Parameter Set | |||||||||||||||||||
| void | set_Altitude (double alt) | ||||||||||||||||||
| Set altitude Note: this triggers a recalculation of AGL altitude. | |||||||||||||||||||
| void | set_Latitude (double lat) | ||||||||||||||||||
| Set geocentric latitude. | |||||||||||||||||||
| void | set_Longitude (double lon) | ||||||||||||||||||
| Set longitude. | |||||||||||||||||||
Flight Path Parameter Set | |||||||||||||||||||
| void | set_Climb_Rate (double roc) | ||||||||||||||||||
| Sets rate of climb. | |||||||||||||||||||
| void | set_Gamma_vert_rad (double gamma) | ||||||||||||||||||
| Sets the flight path angle in radians. | |||||||||||||||||||
Velocity Parameter Set | |||||||||||||||||||
| void | set_Mach_number (double mach) | ||||||||||||||||||
| Sets Mach number. | |||||||||||||||||||
| void | set_V_calibrated_kts (double vc) | ||||||||||||||||||
| Sets calibrated airspeed Setting this will trigger a recalc of the other velocity terms. | |||||||||||||||||||
| void | set_Velocities_Local (double north, double east, double down) | ||||||||||||||||||
| Sets velocity in N-E-D coordinates. | |||||||||||||||||||
| void | set_Velocities_Wind_Body (double u, double v, double w) | ||||||||||||||||||
| Sets aircraft velocity in stability frame. | |||||||||||||||||||
| void set_Altitude | ( | double | alt | ) |
| void set_Climb_Rate | ( | double | roc | ) |
| void set_Euler_Angles | ( | double | phi, | |
| double | theta, | |||
| double | psi | |||
| ) |
| phi | roll angle in radians | |
| theta | pitch angle in radians | |
| psi | heading angle in radians |
Definition at line 1039 of file JSBSim.cxx.
| void set_Gamma_vert_rad | ( | double | gamma | ) |
| void set_Latitude | ( | double | lat | ) |
| lat | latitude in radians measured from the 0 meridian where the westerly direction is positive and east is negative |
Definition at line 919 of file JSBSim.cxx.
| void set_Longitude | ( | double | lon | ) |
| lon | longitude in radians measured from the equator where the northerly direction is positive and south is negative |
Definition at line 947 of file JSBSim.cxx.
| void set_Mach_number | ( | double | mach | ) |
Setting this will trigger a recalc of the other velocity terms.
| mach | Mach number |
Definition at line 996 of file JSBSim.cxx.
| void set_V_calibrated_kts | ( | double | vc | ) |
| void set_Velocities_Local | ( | double | north, | |
| double | east, | |||
| double | down | |||
| ) |
Setting this will trigger a recalc of the other velocity terms.
| north | velocity northward in ft/sec | |
| east | velocity eastward in ft/sec | |
| down | velocity downward in ft/sec |
Definition at line 1008 of file JSBSim.cxx.
| void set_Velocities_Wind_Body | ( | double | u, | |
| double | v, | |||
| double | w | |||
| ) |
Setting this will trigger a recalc of the other velocity terms.
| u | X velocity in ft/sec | |
| v | Y velocity in ft/sec | |
| w | Z velocity in ft/sec |
Definition at line 1023 of file JSBSim.cxx.
| void update | ( | double | dt | ) |
1.5.5