|
imu_advanced_navigation_anpp
|
Classes | |
| struct | Acceleration |
| struct | Acknowledge |
| struct | Alignment |
| struct | AngularAcceleration |
| struct | AngularVelocity |
| struct | BaudRates |
| struct | BodyAcceleration |
| struct | BodyVelocity |
| struct | BootMode |
| struct | ColdStartReset |
| struct | DetailedSatellites |
| struct | DeviceInformation |
| struct | EulerOrientationStandardDeviation |
| struct | FilterOptions |
| struct | GeodeticPosition |
| struct | GeodeticPositionStandardDeviation |
| struct | Header |
| struct | HotStartReset |
| struct | LocalMagneticField |
| struct | MagneticCalibrationConfiguration |
| struct | MagneticCalibrationStatus |
| struct | MagneticCalibrationValues |
| struct | NEDVelocity |
| struct | NEDVelocityStandardDeviation |
| struct | NorthSeekingInitializationStatus |
| struct | PacketPeriods |
| struct | PacketTimerPeriod |
| struct | QuaternionOrientation |
| struct | RawGNSS |
| struct | RawSensors |
| struct | Request |
| struct | RestoreFactorySettings |
| struct | SatelliteInfo |
| struct | Satellites |
| struct | Status |
| struct | SystemState |
| struct | UnixTime |
Functions | |
| template<typename T , typename InputIterator > | |
| T | read16 (InputIterator it) |
| template<typename T , typename InputIterator > | |
| T | read32 (InputIterator it) |
| template<typename T , typename InputIterator > | |
| T | read64 (InputIterator it) |
| template<typename T , typename Out > | |
| void | write16 (Out out, T sample) |
| template<typename T , typename Out > | |
| void | write32 (Out out, T sample) |
| template<typename T , typename Out > | |
| void | write64 (Out out, T sample) |
| struct imu_advanced_navigation_anpp::protocol::Header | __attribute__ ((packed)) |
| uint16_t | crc (uint8_t const *begin, uint8_t const *end) |
| template<typename Packet , typename Driver > | |
| Header | writePacket (Driver &driver, Packet const &packet) |
| template<typename Packet , typename Driver > | |
| Packet | waitForPacket (Driver &driver, base::Time const &_timeout) |
| template<typename Driver > | |
| ACK_RESULTS | waitForAck (Driver &driver, Header const &header, base::Time const &_timeout) |
| template<typename Driver > | |
| void | validateAck (Driver &driver, Header const &header, base::Time const &_timeout) |
| template<typename Packet , typename Driver > | |
| Packet | query (Driver &driver) |
| template<typename Driver > | |
| Header | writePacketPeriod (Driver &driver, uint8_t packet_id, int period, bool clear_existing) |
Variables | |
| enum imu_advanced_navigation_anpp::protocol::BOOT_MODES | __attribute__ |
Implementation of the ANPP protocol itself
A iodrivers_base driver that uses this protocol is provided as Driver
The general structure is that there is one struct per packet. Thse structs represent the fixed-size part of the packet - some packets have variable sizes. Structs that are meant to be sent to the device have a marshal() method that returns the packet payload as a set of bytes. Structs that are meant to be received have an unmarshal() static method that return the struct from the payload data.
| struct imu_advanced_navigation_anpp::protocol::Header imu_advanced_navigation_anpp::protocol::__attribute__ | ( | (packed) | ) |
| uint16_t imu_advanced_navigation_anpp::protocol::crc | ( | uint8_t const * | begin, |
| uint8_t const * | end | ||
| ) |
Compute the CRC as expected by the protocol
|
inline |
|
inline |
Helper function to read a 64 bit value from a byte stream
|
inline |
Helper function to read a 64 bit value from a byte stream
|
inline |
Helper function to read a 32 bit value from a byte stream
|
inline |
|
inline |
|
inline |
|
inline |
Helper function to write a 16 bit value into a byte stream
|
inline |
Helper function to read a 64 bit value from a byte stream
|
inline |
Helper function to read a 32 bit value from a byte stream
|
inline |
|
inline |
| struct imu_advanced_navigation_anpp::protocol::MagneticCalibrationStatus imu_advanced_navigation_anpp::protocol::__attribute__ |
1.8.13