|
Paparazzi UAS
v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
|
Go to the documentation of this file.
29 #ifndef VN200_SERIAl_H
30 #define VN200_SERIAl_H
46 #define VN_OUTPUT_GROUP 0x39
47 #define VN_GROUP_BYTES 8
49 #define VN_BUFFER_SIZE 512
50 #define VN_HEADER_SIZE 9
51 #define VN_PAYLOAD_SIZE 144
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
vector in North East Down coordinates Units: meters
struct NedCoor_f vel_ned
The estimated velocity in the North East Down (NED) frame, given in m/s.
Paparazzi fixed point math for geodetic calculations.
uint8_t gps_fix
None|2D|3D.
Paparazzi floating point algebra.
struct FloatEulers attitude
Attitude, float, [rad], yaw, pitch, roll.
uint16_t ins_status
see page 122 of VN-200 datasheet
struct FloatVect3 lin_accel
Linear acceleration in imu frame [m/s^2].
uint8_t num_sv
number of visible satellites
struct FloatEulers ypr_u
Attitude uncertainty, 1sigma, float, [degrees], yaw, pitch, roll.
Paparazzi floating point math for geodetic calculations.
struct FloatVect3 accel
Acceleration in the imu frame, m/s.
arch independent UART (Universal Asynchronous Receiver/Transmitter) API
float pos_u[3]
The current GPS position uncertainty in the North East Down (NED) coordinate frame,...
struct FloatVect3 vel_body
The estimated velocity in the imu frame, given in m/s.
uint8_t mode
0-not tracking, 1 - poor performance, 2- OK
void vn200_parse(struct VNPacket *vnp, uint8_t c)
Packet Collection & state machine.
void vn200_read_message(struct VNPacket *vnp, struct VNData *vndata)
Read received message and populate data struct with new measurements.
struct FloatRates gyro
Rates in the imu frame m/s.
float vel_u
NED velocity uncertainty [m/s].
void vn200_event(struct VNPacket *vnp)
uint8_t msg_buf[VN_BUFFER_SIZE]
float ypr[3]
yaw, pitch, roll [deg]
uint8_t err
see page 122 of VN-200 datasheet
Paparazzi generic algebra macros.
float timestamp
Time since VN startup [s].
uint64_t tow
tow (in nanoseconds), uint64
Paparazzi atmospheric pressure conversion utilities.
unsigned long long uint64_t