![Logo](penguin_icon.png) |
Paparazzi UAS
v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
|
void nps_fdm_run_step(bool launch, double *commands, int commands_nb)
Update the simulation state.
uint32_t eng_state[FG_NET_FDM_MAX_ENGINES]
double airspeed
equivalent airspeed in m/s
struct DoubleVect3 body_ecef_accel
acceleration in body frame, wrt ECEF frame
vector in Latitude, Longitude and Altitude
static void h(const real32_T x[7], const real32_T q[4], real32_T y[6])
#define FG_NET_FDM_MAX_ENGINES
struct NedCoor_d ltpprz_ecef_vel
velocity in ltppprz frame, wrt ECEF frame
struct DoubleVect3 wind
velocity in m/s in NED
struct DoubleVect3 body_accel
acceleration in body frame as measured by an accelerometer (incl.
struct LlaCoor_d lla_pos_pprz
double sideslip
sideslip angle in rad
struct NedCoor_d ltpprz_ecef_accel
accel in ltppprz frame, wrt ECEF frame
void nps_fdm_init(double dt)
Initialize actuator dynamics, set unused fields in fdm.
struct DoubleQuat ltp_to_body_quat
void nps_fdm_set_wind(double speed, double dir)
struct NedCoor_d ltp_ecef_vel
velocity in LTP frame, wrt ECEF frame
struct DoubleEulers ltpprz_to_body_eulers
struct DoubleRates body_inertial_rotaccel
struct DoubleVect3 body_inertial_accel
acceleration in body frame, wrt ECI inertial frame
struct NpsFdm fdm
Holds all necessary NPS FDM state information.
struct DoubleRates body_ecef_rotvel
struct EcefCoor_d ecef_ecef_vel
velocity in ECEF frame, wrt ECEF frame
struct DoubleVect3 body_ecef_vel
velocity in body frame, wrt ECEF frame
struct NedCoor_d ltp_ecef_accel
acceleration in LTP frame, wrt ECEF frame
double total_pressure
total atmospheric pressure in Pascal
struct LlaCoor_d lla_pos_geoc
void nps_fdm_set_turbulence(double wind_speed, int turbulence_severity)
void nps_fdm_set_wind_ned(double wind_north, double wind_east, double wind_down)
vector in North East Down coordinates Units: meters
void nps_fdm_set_temperature(double temp, double h)
Set temperature in degrees Celcius at given height h above MSL.
struct DoubleRates body_ecef_rotaccel
Paparazzi double-precision floating point math for geodetic calculations.
struct EcefCoor_d ecef_ecef_accel
acceleration in ECEF frame, wrt ECEF frame
static const ShellCommand commands[]
double aoa
angle of attack in rad
Paparazzi double precision floating point algebra.
struct DoubleQuat ecef_to_body_quat
struct DoubleEulers ltp_to_body_eulers
struct NedCoor_d ltpprz_pos
struct DoubleQuat ltpprz_to_body_quat
vector in EarthCenteredEarthFixed coordinates
struct EcefCoor_d ecef_pos
double temperature
current temperature in degrees Celcius
double pressure
current (static) atmospheric pressure in Pascal
double dynamic_pressure
dynamic pressure in Pascal
struct LlaCoor_d lla_pos_geod
float rpm[FG_NET_FDM_MAX_ENGINES]
struct DoubleRates body_inertial_rotvel
double pressure_sl
pressure at sea level in Pascal