29 #ifndef INS_VECTORNAV_H
30 #define INS_VECTORNAV_H
47 #include "generated/airframe.h"
56 #if !defined INS_VN_BODY_TO_IMU_PHI && !defined INS_VN_BODY_TO_IMU_THETA && !defined INS_VN_BODY_TO_IMU_PSI
57 #define INS_VN_BODY_TO_IMU_PHI 0
58 #define INS_VN_BODY_TO_IMU_THETA 0
59 #define INS_VN_BODY_TO_IMU_PSI 0
struct NedCoor_f ltp_accel_f
definition of the local (flat earth) coordinate system
struct VNPacket vn_packet
Packet struct.
struct NedCoor_i ltp_accel_i
Main include for ABI (AirBorneInterface).
enum VNStatus vn_status
VN status.
Integrated Navigation System interface.
vector in Latitude, Longitude and Altitude
void ins_vectornav_event(void)
Event handling for Vectornav.
vector in North East Down coordinates Units: meters
Paparazzi floating point algebra.
Architecture independent timing functions.
void ins_vectornav_init(void)
Initialize Vectornav struct.
Vectornav VN-200 INS subsystem.
Paparazzi generic algebra macros.
Device independent GPS code (interface)
Paparazzi atmospheric pressure conversion utilities.
uint16_t vn_rate
data frequency
float baro_z
z-position calculated from baro in meters (z-down)
Paparazzi fixed point math for geodetic calculations.
void ins_vectornav_set_sacc(void)
Set speed (velocity) uncertainty (NED) speed accuracy in cm/s.
struct VNData vn_data
Data struct.
void ins_vectornav_propagate(void)
Propagate the received states into the vehicle state machine.
struct Int32Vect3 accel_i
vector in North East Down coordinates
struct NedCoor_i ltp_speed_i
struct OrientationReps body_to_imu
body_to_imu rotation
void ins_vectornav_set_pacc(void)
Find maximum uncertainty (NED) position accuracy in cm.
struct InsVectornav ins_vn
struct NedCoor_i ltp_pos_i
void ins_vectornav_monitor(void)
Monitors vectornav data rate and changes GPS lock if the data rate is too low.