Paparazzi UAS  v4.2.2_stable-4-gcc32f65
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros 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...
 
bool_t ahrs_sim_available
 

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 22 of file sim_ahrs.c.

References ahrs_sim_available, sim_phi, sim_psi, sim_theta, and TRUE.

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

Definition at line 32 of file sim_ahrs.c.

References ahrs_sim_available, sim_p, sim_q, sim_r, and TRUE.

Variable Documentation

bool_t ahrs_sim_available

Definition at line 18 of file sim_ahrs.c.

Referenced by ahrs_init(), provide_attitude(), and provide_rates().

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().