Paparazzi UAS  v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
ins_arduimu.c
Go to the documentation of this file.
1 
6 #include "generated/airframe.h"
7 #include "state.h"
8 
9 // Arduimu empty implementation
11 
13 
16 
17 //mixer
20 
21 // Updates from Ocaml sim
22 extern float sim_phi;
23 extern float sim_theta;
24 
25 void ArduIMU_init(void) {}
26 void ArduIMU_periodic(void)
27 {
28  // Feed directly the estimator
29  struct FloatEulers att = {
32  0.
33  };
34  stateSetNedToBodyEulers_f(MODULE_INS_ARDUIMU_ID, &att);
35 }
36 void ArduIMU_periodicGPS(void) {}
37 void IMU_Daten_verarbeiten(void) {}
38 
float pitch_of_throttle_gain
Definition: ins_arduimu.c:18
float ins_roll_neutral
Definition: ins_arduimu.c:14
void ArduIMU_periodicGPS(void)
Definition: ins_arduimu.c:36
void IMU_Daten_verarbeiten(void)
Definition: ins_arduimu.c:37
void ArduIMU_periodic(void)
Definition: ins_arduimu.c:26
float throttle_slew
Definition: ins_arduimu.c:19
void ArduIMU_init(void)
Definition: ins_arduimu.c:25
float ins_pitch_neutral
Definition: ins_arduimu.c:15
float ArduIMU_data[NB_DATA]
ArduIMU simulation.
Definition: ins_arduimu.c:12
float sim_theta
float sim_phi
#define NB_DATA
Definition: generic_com.c:38
euler angles
static void stateSetNedToBodyEulers_f(uint16_t id, struct FloatEulers *ned_to_body_eulers)
Set vehicle body attitude from euler angles (float).
Definition: state.h:1267
API to get/set the generic vehicle states.