Paparazzi UAS
v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
|
Vectornav VN-200 IMU module, to be used with other AHRS/INS algorithms. More...
Go to the source code of this file.
Data Structures | |
struct | ImuVectornav |
Functions | |
void | imu_vectornav_init (void) |
Init IMU struct and set up ABI messages. More... | |
void | imu_vectornav_event (void) |
Event function to read and parse data from the serial port. More... | |
void | imu_vectornav_periodic (void) |
Periodic function checks for the frequency of packets, triggers warning in case the IMU stops sending data and performs initial configuration if needed. More... | |
void | imu_vectornav_propagate (void) |
Send ABI messages. More... | |
Variables | |
struct ImuVectornav | imu_vn |
Vectornav VN-200 IMU module, to be used with other AHRS/INS algorithms.
Definition in file imu_vectornav.h.
struct ImuVectornav |
Definition at line 39 of file imu_vectornav.h.
Data Fields | ||
---|---|---|
struct VNData | vn_data | Data struct. |
float | vn_freq | data frequency |
struct VNPacket | vn_packet | Packet struct. |
enum VNStatus | vn_status | VN status. |
void imu_vectornav_event | ( | void | ) |
Event function to read and parse data from the serial port.
Definition at line 105 of file imu_vectornav.c.
References imu_vectornav_propagate(), imu_vn, VNPacket::msg_available, vn200_event(), vn200_read_message(), ImuVectornav::vn_data, and ImuVectornav::vn_packet.
void imu_vectornav_init | ( | void | ) |
Init IMU struct and set up ABI messages.
Definition at line 76 of file imu_vectornav.c.
References VNPacket::chksm_error, DefaultPeriodic, VNPacket::framing_error, VNPacket::hdr_error, imu_vn, VNPacket::msg_available, VNPacket::msg_idx, VNPacket::noise_error, VNPacket::overrun_error, register_periodic_telemetry(), send_vn_info(), VNPacket::status, ImuVectornav::vn_data, ImuVectornav::vn_freq, ImuVectornav::vn_packet, ImuVectornav::vn_status, VNMsgSync, and VNNotTracking.
void imu_vectornav_periodic | ( | void | ) |
Periodic function checks for the frequency of packets, triggers warning in case the IMU stops sending data and performs initial configuration if needed.
Definition at line 124 of file imu_vectornav.c.
References VNPacket::counter, imu_vn, ImuVectornav::vn_freq, ImuVectornav::vn_packet, ImuVectornav::vn_status, VNNotTracking, and VNOK.
void imu_vectornav_propagate | ( | void | ) |
Send ABI messages.
Definition at line 145 of file imu_vectornav.c.
References VNData::accel, VNData::gyro, IMU_VECTORNAV_ID, imu_vn, VNData::nanostamp, ImuVectornav::vn_data, and ImuVectornav::vn_freq.
Referenced by imu_vectornav_event().
|
extern |
Definition at line 1 of file imu_vectornav.c.
Referenced by imu_vectornav_event(), imu_vectornav_init(), imu_vectornav_periodic(), imu_vectornav_propagate(), and send_vn_info().