Paparazzi UAS
v5.10_stable-5-g83a0da5-dirty
Paparazzi is a free software Unmanned Aircraft System.
|
Parser for the Xsens700 protocol. More...
#include "xsens700.h"
#include "xsens_common.h"
#include "generated/airframe.h"
#include "led.h"
#include "mcu_periph/uart.h"
#include "pprzlink/messages.h"
#include "subsystems/datalink/downlink.h"
Go to the source code of this file.
Functions | |
void | xsens700_init (void) |
static void | xsens_ask_message_rate (uint8_t c1, uint8_t c2, uint8_t freq) |
void | xsens700_periodic (void) |
void | parse_xsens700_msg (void) |
Variables | |
uint8_t | xsens_errorcode |
uint32_t | xsens_msg_statusword |
uint16_t | xsens_time_stamp |
uint16_t | xsens_output_mode |
uint32_t | xsens_output_settings |
float | xsens_gps_arm_x = 0 |
float | xsens_gps_arm_y = 0 |
float | xsens_gps_arm_z = 0 |
struct Xsens | xsens700 |
volatile int | xsens_configured = 0 |
Parser for the Xsens700 protocol.
Definition in file xsens700.c.
void parse_xsens700_msg | ( | void | ) |
Definition at line 146 of file xsens700.c.
References Xsens::accel, Xsens::euler, GPS_FIX_2D, GPS_FIX_3D, GPS_FIX_NONE, GPS_NB_CHANNELS, GPS_VALID_HMSL_BIT, GPS_VALID_VEL_NED_BIT, Xsens::gyro, LlaCoor_f::lat, LED_TOGGLE, Xsens::lla_f, LlaCoor_f::lon, Min, sys_time::nb_sec, sys_time::nb_sec_rem, Xsens::new_attitude, offset, FloatRates::p, FloatEulers::phi, FloatEulers::psi, FloatRates::q, FloatRates::r, FloatEulers::theta, TRUE, Xsens::vel, wgs84_ellipsoid_to_geoid_f(), FloatVect3::x, xsens700, xsens_errorcode, xsens_gps_arm_x, xsens_gps_arm_y, xsens_gps_arm_z, xsens_id, xsens_len, xsens_msg_buf, xsens_msg_statusword, FloatVect3::y, and FloatVect3::z.
Referenced by ins_xsens700_event().
void xsens700_init | ( | void | ) |
Definition at line 58 of file xsens700.c.
References UNINIT, xsens_configured, xsens_msg_statusword, xsens_status, and xsens_time_stamp.
Referenced by ins_xsens700_init().
void xsens700_periodic | ( | void | ) |
Definition at line 76 of file xsens700.c.
References xsens_ask_message_rate(), xsens_configured, XsensHeader, and XsensTrailer.
Definition at line 67 of file xsens700.c.
References foo, and XsensSend1ByAddr.
Referenced by xsens700_periodic().
struct Xsens xsens700 |
Definition at line 54 of file xsens700.c.
Referenced by handle_ins_msg(), ins_xsens700_event(), parse_xsens700_msg(), and update_state_interface().
volatile int xsens_configured = 0 |
Definition at line 56 of file xsens700.c.
Referenced by xsens700_init(), and xsens700_periodic().
uint8_t xsens_errorcode |
Definition at line 44 of file xsens700.c.
Referenced by parse_xsens700_msg().
float xsens_gps_arm_x = 0 |
Definition at line 50 of file xsens700.c.
Referenced by parse_xsens700_msg().
float xsens_gps_arm_y = 0 |
Definition at line 51 of file xsens700.c.
Referenced by parse_xsens700_msg().
float xsens_gps_arm_z = 0 |
Definition at line 52 of file xsens700.c.
Referenced by parse_xsens700_msg().
uint32_t xsens_msg_statusword |
Definition at line 45 of file xsens700.c.
Referenced by parse_xsens700_msg(), and xsens700_init().
uint16_t xsens_output_mode |
Definition at line 47 of file xsens700.c.
uint32_t xsens_output_settings |
Definition at line 48 of file xsens700.c.
uint16_t xsens_time_stamp |
Definition at line 46 of file xsens700.c.
Referenced by xsens700_init().