|
Paparazzi UAS v7.1_unstable
Paparazzi is a free software Unmanned Aircraft System.
|
Device independent INS code. More...
#include "std.h"#include "modules/ins/ins.h"#include "pprzlink/pprzlink_device.h"#include "mcu_periph/uart.h"#include "mcu_periph/spi.h"Go to the source code of this file.
Macros | |
| #define | INS_FORMAT float |
| #define | InsLinkDevice (&((INS_LINK).device)) |
| #define | InsSend1(c) |
| #define | InsUartSend1(c) |
| #define | InsSend(_dat, _len) |
| #define | InsUartSetBaudrate(_b) |
Functions | |
| void | handle_ins_msg (void) |
| void | parse_ins_msg (void) |
| void | parse_ins_buffer (uint8_t) |
| static void | ins_event_check_and_handle (void(*handler)(void)) |
| !SITL | |
Device independent INS code.
Definition in file ins_module.h.
| #define INS_FORMAT float |
Definition at line 35 of file ins_module.h.
| #define InsLinkDevice (&((INS_LINK).device)) |
Definition at line 76 of file ins_module.h.
Referenced by ins_event_check_and_handle().
| #define InsSend | ( | _dat, | |
| _len ) |
Definition at line 84 of file ins_module.h.
| #define InsSend1 | ( | c | ) |
Definition at line 82 of file ins_module.h.
| #define InsUartSend1 | ( | c | ) |
Definition at line 83 of file ins_module.h.
| #define InsUartSetBaudrate | ( | _b | ) |
Definition at line 85 of file ins_module.h.
| void handle_ins_msg | ( | void | ) |
Definition at line 151 of file ins_xsens.c.
References FLOAT_VECT2_NORM, float_vect3_norm(), GPS_FIX_3D, GPS_VALID_COURSE_BIT, new_ins_attitude, update_state_interface(), and xsens.
|
inlinestatic |
!SITL
Definition at line 89 of file ins_module.h.
References dev, ins_msg_received, InsLinkDevice, parse_ins_buffer(), and parse_ins_msg().
| void parse_ins_buffer | ( | uint8_t | ) |
|
inline |
Definition at line 185 of file ins_vn100.c.
References float_eulers_of_quat(), ins_accel, ins_adof, ins_ador, ins_baud, ins_eulers, ins_mag, ins_quat, ins_rates, last_received_packet, VN100_Error_None, VN100_REG_ADOF, VN100_REG_ADOR, VN100_REG_QAR, VN100_REG_QMA, VN100_REG_QMR, VN100_REG_QTA, VN100_REG_QTM, VN100_REG_QTN, VN100_REG_QTR, VN100_REG_SBAUD, VN100_REG_YMR, and VN100_REG_YPR.
Referenced by ins_event_check_and_handle().
|
extern |
|
extern |
|
extern |
|
extern |
Definition at line 64 of file ins_vn100.c.
Referenced by ins_event_check_and_handle().
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
Referenced by handle_ins_msg(), and handle_ins_msg().