18 #error "currently only compatible with uBlox GPS modules"
23 #ifndef ARDUIMU_I2C_DEV
24 #define ARDUIMU_I2C_DEV i2c0
30 #define ArduIMU_SLAVE_ADDR 0x22
void ArduIMU_periodicGPS(void)
static void stateSetNedToBodyEulers_f(struct FloatEulers *ned_to_body_eulers)
Set vehicle body attitude from euler angles (float).
arch independent UART (Universal Asynchronous Receiver/Transmitter) API
int8_t gps_daten_abgespeichert
volatile uint8_t buf[I2C_BUF_LEN]
Transaction buffer With I2C_BUF_LEN number of bytes.
static int16_t recievedData[NB_DATA]
#define ArduIMU_SLAVE_ADDR
struct i2c_transaction ardu_ins_trans
uint16_t speed_3d
norm of 3d speed in cm/s
#define INS_ROLL_NEUTRAL_DEFAULT
float ArduIMU_data[NB_DATA]
ArduIMU simulation.
#define V_CTL_THROTTLE_SLEW
int32_t alt
in millimeters above WGS84 reference ellipsoid
struct i2c_transaction ardu_gps_trans
int32_t hmsl
height above mean sea level in mm
int8_t gps_daten_versendet_msg1
uint32_t tow
GPS time of week in ms.
Device independent GPS code (interface)
bool_t i2c_transmit(struct i2c_periph *p, struct i2c_transaction *t, uint8_t s_addr, uint8_t len)
Submit a write only transaction.
int8_t gps_daten_versendet_msg2
void IMU_Daten_verarbeiten(void)
int32_t lon
in degrees*1e7
int8_t imu_daten_angefordert
#define INS_PITCH_NEUTRAL_DEFAULT
I2C transaction structure.
#define DefaultChannel
SITL.
void ArduIMU_periodic(void)
API to get/set the generic vehicle states.
int32_t course
GPS course over ground in rad*1e7, [0, 2*Pi]*1e7 (CW/north)
Common code for AP and FBW telemetry.
uint8_t num_sv
number of sat in fix
uint16_t gspeed
norm of 2d ground speed in cm/s
struct LlaCoor_i lla_pos
position in LLA (lat,lon: deg*1e7; alt: mm over ellipsoid)
FBW ( FlyByWire ) process API.
int32_t lat
in degrees*1e7
struct NedCoor_i ned_vel
speed NED in cm/s
struct GpsState gps
global GPS state
bool_t i2c_receive(struct i2c_periph *p, struct i2c_transaction *t, uint8_t s_addr, uint16_t len)
Submit a read only transaction.
Architecture independent I2C (Inter-Integrated Circuit Bus) API.