Paparazzi UAS  v5.10_stable-5-g83a0da5-dirty
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
sim_ahrs.c File Reference

Regroup functions to simulate an ahrs. More...

#include <inttypes.h>
#include <caml/mlvalues.h>
#include "std.h"
+ Include dependency graph for sim_ahrs.c:

Go to the source code of this file.

Functions

value provide_attitude (value phi, value theta, value psi)
 
value provide_rates (value p, value q, value r)
 

Variables

float sim_phi
 in radians More...
 
float sim_theta
 in radians More...
 
float sim_psi
 in radians More...
 
float sim_p
 in radians/s More...
 
float sim_q
 in radians/s More...
 
float sim_r
 in radians/s More...
 

Detailed Description

Regroup functions to simulate an ahrs.

Ahrs soft simulation. OCaml binding.

Definition in file sim_ahrs.c.

Function Documentation

value provide_attitude ( value  phi,
value  theta,
value  psi 
)

Definition at line 21 of file sim_ahrs.c.

References sim_phi, sim_psi, and sim_theta.

value provide_rates ( value  p,
value  q,
value  r 
)

Definition at line 30 of file sim_ahrs.c.

References sim_p, sim_q, and sim_r.

Variable Documentation

float sim_p

in radians/s

Definition at line 15 of file sim_ahrs.c.

Referenced by ArduIMU_periodic(), provide_rates(), and update_ahrs_from_sim().

float sim_phi

in radians

Definition at line 12 of file sim_ahrs.c.

Referenced by ArduIMU_periodic(), provide_attitude(), and update_ahrs_from_sim().

float sim_psi

in radians

Definition at line 14 of file sim_ahrs.c.

Referenced by provide_attitude(), and update_ahrs_from_sim().

float sim_q

in radians/s

Definition at line 16 of file sim_ahrs.c.

Referenced by ArduIMU_periodic(), provide_rates(), and update_ahrs_from_sim().

float sim_r

in radians/s

Definition at line 17 of file sim_ahrs.c.

Referenced by ArduIMU_periodic(), provide_rates(), and update_ahrs_from_sim().

float sim_theta

in radians

Definition at line 13 of file sim_ahrs.c.

Referenced by ArduIMU_periodic(), provide_attitude(), and update_ahrs_from_sim().