Paparazzi UAS  v5.0.5_stable-7-g4b8bbb7
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
jsbsim_ahrs.c
Go to the documentation of this file.
1 
9 #include "std.h"
10 
11 float sim_phi;
12 float sim_theta;
13 float sim_psi;
14 float sim_p;
15 float sim_q;
16 float sim_r;
18 
19 // Updates from jsbsim
20 void provide_attitude_and_rates(float phi, float theta, float psi, float p, float q, float r) {
21  sim_phi = phi;
22  sim_theta = theta;
23  sim_psi = psi;
24  sim_p = p;
25  sim_q = q;
26  sim_r = r;
27 
29 }
void provide_attitude_and_rates(float phi, float theta, float psi, float p, float q, float r)
Definition: jsbsim_ahrs.c:20
float sim_r
in radians/s
Definition: jsbsim_ahrs.c:16
bool_t ahrs_sim_available
Definition: jsbsim_ahrs.c:17
#define TRUE
Definition: imu_chimu.h:144
float sim_psi
in radians
Definition: jsbsim_ahrs.c:13
float sim_theta
in radians
Definition: jsbsim_ahrs.c:12
float sim_phi
in radians
Definition: jsbsim_ahrs.c:11
static float p[2][2]
float sim_p
in radians/s
Definition: jsbsim_ahrs.c:14
float sim_q
in radians/s
Definition: jsbsim_ahrs.c:15