vn200.cc File Reference
VectorNav VN-200 Inertial Navigation System implementation. More...
#include "vn200.hh"
Include dependency graph for vn200.cc:

Functions | |
bool | dfti::validateVN200Checksum (QByteArray pkt) |
Validate the VN-200 packet checksum. More... | |
Detailed Description
VectorNav VN-200 Inertial Navigation System implementation.
- Copyright
- Copyright © 2016-2017 Vehicle Systems & Control Laboratory, Department of Aerospace Engineering, Texas A&M University
- License
- BSD 2-Clause License
Function Documentation
bool dfti::validateVN200Checksum | ( | QByteArray | pkt | ) |
Validate the VN-200 packet checksum.
The checksum is a CRC 16; if the checksum byte is included the checksum should evaluate to 0.
- Parameters
-
pkt A full VN-200 packet to validate.
- Returns
- True if the packet checksum is correct.