|
Paparazzi UAS
v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
|
Go to the documentation of this file.
35 #include "generated/airframe.h"
44 #define GX3_MAX_PAYLOAD 128
45 #define GX3_MSG_LEN 67
46 #define GX3_HEADER 0xC8
47 #define GX3_MIN_FREQ 300
49 #define IMU_GX3_LONG_DELAY 4000000
88 #define PRIMARY_AHRS ahrs_gx3
VIC slots used for the LPC2148 define name e g gps UART1_VIC_SLOT e g modem SPI1_VIC_SLOT SPI1 in mcu_periph spi_arch c or spi_slave_hs_arch c(and some others not using the SPI peripheral yet..) I2C0_VIC_SLOT 8 mcu_periph/i2c_arch.c I2C1_VIC_SLOT 9 mcu_periph/i2c_arch.c USB_VIC_SLOT 10 usb
struct FloatQuat ltp_to_imu_quat
Rotation from LocalTangentPlane to IMU frame as quaternions.
struct GX3Packet packet
Packet struct.
float mag_offset
Difference between true and magnetic north.
void ahrs_gx3_register(void)
void imu_gx3_periodic(void)
struct FloatVect3 accel
measured acceleration in IMU frame
struct AhrsGX3 ahrs_gx3
Axis definition: X axis pointing forward, Y axis pointing to the right and Z axis pointing down.
arch independent UART (Universal Asynchronous Receiver/Transmitter) API
uint16_t chksm
aux variable for checksum
Device independent GPS code (interface)
uint32_t ltime
aux time stamp
void gx3_packet_read_message(void)
arch independent LED (Light Emitting Diodes) API
void ahrs_gx3_align(void)
uint32_t time
GX3 time stamp.
struct FloatRMat rmat
measured attitude in IMU frame (rotational matrix)
void gx3_packet_parse(uint8_t c)
void ahrs_gx3_publish_imu(void)
uint8_t msg_buf[GX3_MAX_PAYLOAD]
struct FloatRates rate
measured angular rates in IMU frame