|
Paparazzi UAS
v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
|
Go to the documentation of this file.
15 #include "generated/airframe.h"
17 #if CHIMU_DOWNLINK_IMMEDIATE
19 #include "pprzlink/messages.h"
53 uint8_t rate[12] = {
CHIMU_STX,
CHIMU_STX, 0x06,
CHIMU_BROADCAST,
MSG10_UARTSETTINGS, 0x05, 0xff, 0x79, 0x00, 0x00, 0x01, 0x76 };
66 for (
int i = 0; i < 7; i++) {
71 for (
int i = 0; i < 7; i++) {
84 while (
dev->char_available(
dev->periph)) {
106 #if CHIMU_DOWNLINK_IMMEDIATE
void CHIMU_Init(CHIMU_PARSER_DATA *pstData)
#define INS_PITCH_NEUTRAL_DEFAULT
#define INS_ROLL_NEUTRAL_DEFAULT
INS_FORMAT ins_pitch_neutral
static bool ahrs_chimu_enable_output(bool enable)
#define InsSend(_dat, _len)
arch independent UART (Universal Asynchronous Receiver/Transmitter) API
Device independent GPS code (interface)
#define AHRS_COMP_ID_CHIMU
INS_FORMAT ins_roll_neutral
static const struct usb_device_descriptor dev
CHIMU_PARSER_DATA CHIMU_DATA
CHIMU_attitude_data m_attitude
arch independent LED (Light Emitting Diodes) API
Common code for AP and FBW telemetry.
void ahrs_chimu_init(void)
void ahrs_chimu_register(void)
#define MSG10_UARTSETTINGS
struct AhrsChimu ahrs_chimu
static void stateSetNedToBodyEulers_f(struct FloatEulers *ned_to_body_eulers)
Set vehicle body attitude from euler angles (float).
void ahrs_register_impl(AhrsEnableOutput enable)
Register an AHRS implementation.
unsigned char CHIMU_Parse(unsigned char btData, unsigned char bInputType, CHIMU_PARSER_DATA *pstData)
Device independent INS code.
volatile uint8_t new_ins_attitude
void CHIMU_Checksum(unsigned char *data, unsigned char buflen)