VectorNav C++ Library
Functions
Register Read/Write Generator Methods

This group of methods will create commands that can be used to read/write the register of a VectorNav sensor. More...

Functions

static size_t vn::protocol::uart::Packet::genReadBinaryOutput1 (ErrorDetectionMode errorDetectionMode, char *buffer, size_t size)
 Generates a command to read the Binary Output 1 register on a VectorNav sensor. More...
 
static size_t vn::protocol::uart::Packet::genReadBinaryOutput2 (ErrorDetectionMode errorDetectionMode, char *buffer, size_t size)
 Generates a command to read the Binary Output 2 register on a VectorNav sensor. More...
 
static size_t vn::protocol::uart::Packet::genReadBinaryOutput3 (ErrorDetectionMode errorDetectionMode, char *buffer, size_t size)
 Generates a command to read the Binary Output 13 register on a VectorNav sensor. More...
 
static size_t vn::protocol::uart::Packet::genWriteBinaryOutput1 (ErrorDetectionMode errorDetectionMode, char *buffer, size_t size, uint16_t asyncMode, uint16_t rateDivisor, uint16_t commonField, uint16_t timeField, uint16_t imuField, uint16_t gpsField, uint16_t attitudeField, uint16_t insField)
 Generates a command to write to the Binary Output 1 register on a VectorNav sensor. More...
 
static size_t vn::protocol::uart::Packet::genWriteBinaryOutput2 (ErrorDetectionMode errorDetectionMode, char *buffer, size_t size, uint16_t asyncMode, uint16_t rateDivisor, uint16_t commonField, uint16_t timeField, uint16_t imuField, uint16_t gpsField, uint16_t attitudeField, uint16_t insField)
 Generates a command to write to the Binary Output 2 register on a VectorNav sensor. More...
 
static size_t vn::protocol::uart::Packet::genWriteBinaryOutput3 (ErrorDetectionMode errorDetectionMode, char *buffer, size_t size, uint16_t asyncMode, uint16_t rateDivisor, uint16_t commonField, uint16_t timeField, uint16_t imuField, uint16_t gpsField, uint16_t attitudeField, uint16_t insField)
 Generates a command to write to the Binary Output 3 register on a VectorNav sensor. More...
 
static size_t vn::protocol::uart::Packet::genWriteSettings (ErrorDetectionMode errorDetectionMode, char *buffer, size_t size)
 Generates a command to write sensor settings to non-volatile memory. More...
 
static size_t vn::protocol::uart::Packet::genTare (ErrorDetectionMode errorDetectionMode, char *buffer, size_t size)
 Generates a command to tare the sensor. More...
 
static size_t vn::protocol::uart::Packet::genKnownMagneticDisturbance (ErrorDetectionMode errorDetectionMode, char *buffer, size_t size, bool isMagneticDisturbancePresent)
 Generates a command to alert the sensor of a known magnetic disturbance. More...
 
static size_t vn::protocol::uart::Packet::genKnownAccelerationDisturbance (ErrorDetectionMode errorDetectionMode, char *buffer, size_t size, bool isAccelerationDisturbancePresent)
 Generates a command to alert the sensor of a known acceleration disturbance. More...
 
static size_t vn::protocol::uart::Packet::genSetGyroBias (ErrorDetectionMode errorDetectionMode, char *buffer, size_t size)
 Generates a command to set the gyro bias. More...
 
static size_t vn::protocol::uart::Packet::genRestoreFactorySettings (ErrorDetectionMode errorDetectionMode, char *buffer, size_t size)
 Generates a command to retore factory settings. More...
 
static size_t vn::protocol::uart::Packet::genReset (ErrorDetectionMode errorDetectionMode, char *buffer, size_t size)
 Generates a command to reset the sensor. More...
 
static size_t vn::protocol::uart::Packet::genReadSerialBaudRate (ErrorDetectionMode errorDetectionMode, char *buffer, size_t size, uint8_t port)
 Generates a command to read the Serial Baud Rate register on a VectorNav sensor. More...
 
static size_t vn::protocol::uart::Packet::genWriteSerialBaudRate (ErrorDetectionMode errorDetectionMode, char *buffer, size_t size, uint32_t baudrate, uint8_t port)
 Generates a command to write to the Serial Baud Rate register on a VectorNav sensor. More...
 
static size_t vn::protocol::uart::Packet::genReadAsyncDataOutputType (ErrorDetectionMode errorDetectionMode, char *buffer, size_t size, uint8_t port)
 Generates a command to read the Async Data Output Type register on a VectorNav sensor. More...
 
static size_t vn::protocol::uart::Packet::genWriteAsyncDataOutputType (ErrorDetectionMode errorDetectionMode, char *buffer, size_t size, uint32_t ador, uint8_t port)
 Generates a command to write to the Async Data Output Type register on a VectorNav sensor. More...
 
static size_t vn::protocol::uart::Packet::genReadAsyncDataOutputFrequency (ErrorDetectionMode errorDetectionMode, char *buffer, size_t size, uint8_t port)
 Generates a command to read the Async Data Output Frequency register on a VectorNav sensor. More...
 
static size_t vn::protocol::uart::Packet::genWriteAsyncDataOutputFrequency (ErrorDetectionMode errorDetectionMode, char *buffer, size_t size, uint32_t adof, uint8_t port)
 Generates a command to write to the Async Data Output Frequency register on a VectorNav sensor. More...
 
static size_t vn::protocol::uart::Packet::genReadUserTag (ErrorDetectionMode errorDetectionMode, char *buffer, size_t size)
 Generates a command to read the User Tag register on a VectorNav sensor. More...
 
static size_t vn::protocol::uart::Packet::genWriteUserTag (ErrorDetectionMode errorDetectionMode, char *buffer, size_t size, std::string tag)
 Generates a command to write to the User Tag register on a VectorNav sensor. More...
 
static size_t vn::protocol::uart::Packet::genReadModelNumber (ErrorDetectionMode errorDetectionMode, char *buffer, size_t size)
 Generates a command to read the Model Number register on a VectorNav sensor. More...
 
static size_t vn::protocol::uart::Packet::genReadHardwareRevision (ErrorDetectionMode errorDetectionMode, char *buffer, size_t size)
 Generates a command to read the Hardware Revision register on a VectorNav sensor. More...
 
static size_t vn::protocol::uart::Packet::genReadSerialNumber (ErrorDetectionMode errorDetectionMode, char *buffer, size_t size)
 Generates a command to read the Serial Number register on a VectorNav sensor. More...
 
static size_t vn::protocol::uart::Packet::genReadFirmwareVersion (ErrorDetectionMode errorDetectionMode, char *buffer, size_t size)
 Generates a command to read the Firmware Version register on a VectorNav sensor. More...
 
static size_t vn::protocol::uart::Packet::genReadSerialBaudRate (ErrorDetectionMode errorDetectionMode, char *buffer, size_t size)
 Generates a command to read the Serial Baud Rate register on a VectorNav sensor. More...
 
static size_t vn::protocol::uart::Packet::genWriteSerialBaudRate (ErrorDetectionMode errorDetectionMode, char *buffer, size_t size, uint32_t baudrate)
 Generates a command to write to the Serial Baud Rate register on a VectorNav sensor. More...
 
static size_t vn::protocol::uart::Packet::genReadAsyncDataOutputType (ErrorDetectionMode errorDetectionMode, char *buffer, size_t size)
 Generates a command to read the Async Data Output Type register on a VectorNav sensor. More...
 
static size_t vn::protocol::uart::Packet::genWriteAsyncDataOutputType (ErrorDetectionMode errorDetectionMode, char *buffer, size_t size, uint32_t ador)
 Generates a command to write to the Async Data Output Type register on a VectorNav sensor. More...
 
static size_t vn::protocol::uart::Packet::genReadAsyncDataOutputFrequency (ErrorDetectionMode errorDetectionMode, char *buffer, size_t size)
 Generates a command to read the Async Data Output Frequency register on a VectorNav sensor. More...
 
static size_t vn::protocol::uart::Packet::genWriteAsyncDataOutputFrequency (ErrorDetectionMode errorDetectionMode, char *buffer, size_t size, uint32_t adof)
 Generates a command to write to the Async Data Output Frequency register on a VectorNav sensor. More...
 
static size_t vn::protocol::uart::Packet::genReadYawPitchRoll (ErrorDetectionMode errorDetectionMode, char *buffer, size_t size)
 Generates a command to read the Yaw Pitch Roll register on a VectorNav sensor. More...
 
static size_t vn::protocol::uart::Packet::genReadAttitudeQuaternion (ErrorDetectionMode errorDetectionMode, char *buffer, size_t size)
 Generates a command to read the Attitude Quaternion register on a VectorNav sensor. More...
 
static size_t vn::protocol::uart::Packet::genReadQuaternionMagneticAccelerationAndAngularRates (ErrorDetectionMode errorDetectionMode, char *buffer, size_t size)
 Generates a command to read the Quaternion, Magnetic, Acceleration and Angular Rates register on a VectorNav sensor. More...
 
static size_t vn::protocol::uart::Packet::genReadMagneticMeasurements (ErrorDetectionMode errorDetectionMode, char *buffer, size_t size)
 Generates a command to read the Magnetic Measurements register on a VectorNav sensor. More...
 
static size_t vn::protocol::uart::Packet::genReadAccelerationMeasurements (ErrorDetectionMode errorDetectionMode, char *buffer, size_t size)
 Generates a command to read the Acceleration Measurements register on a VectorNav sensor. More...
 
static size_t vn::protocol::uart::Packet::genReadAngularRateMeasurements (ErrorDetectionMode errorDetectionMode, char *buffer, size_t size)
 Generates a command to read the Angular Rate Measurements register on a VectorNav sensor. More...
 
static size_t vn::protocol::uart::Packet::genReadMagneticAccelerationAndAngularRates (ErrorDetectionMode errorDetectionMode, char *buffer, size_t size)
 Generates a command to read the Magnetic, Acceleration and Angular Rates register on a VectorNav sensor. More...
 
static size_t vn::protocol::uart::Packet::genReadMagneticAndGravityReferenceVectors (ErrorDetectionMode errorDetectionMode, char *buffer, size_t size)
 Generates a command to read the Magnetic and Gravity Reference Vectors register on a VectorNav sensor. More...
 
static size_t vn::protocol::uart::Packet::genWriteMagneticAndGravityReferenceVectors (ErrorDetectionMode errorDetectionMode, char *buffer, size_t size, vn::math::vec3f magRef, vn::math::vec3f accRef)
 Generates a command to write to the Magnetic and Gravity Reference Vectors register on a VectorNav sensor. More...
 
static size_t vn::protocol::uart::Packet::genReadFilterMeasurementsVarianceParameters (ErrorDetectionMode errorDetectionMode, char *buffer, size_t size)
 Generates a command to read the Filter Measurements Variance Parameters register on a VectorNav sensor. More...
 
static size_t vn::protocol::uart::Packet::genWriteFilterMeasurementsVarianceParameters (ErrorDetectionMode errorDetectionMode, char *buffer, size_t size, float angularWalkVariance, vn::math::vec3f angularRateVariance, vn::math::vec3f magneticVariance, vn::math::vec3f accelerationVariance)
 Generates a command to write to the Filter Measurements Variance Parameters register on a VectorNav sensor. More...
 
static size_t vn::protocol::uart::Packet::genReadMagnetometerCompensation (ErrorDetectionMode errorDetectionMode, char *buffer, size_t size)
 Generates a command to read the Magnetometer Compensation register on a VectorNav sensor. More...
 
static size_t vn::protocol::uart::Packet::genWriteMagnetometerCompensation (ErrorDetectionMode errorDetectionMode, char *buffer, size_t size, vn::math::mat3f c, vn::math::vec3f b)
 Generates a command to write to the Magnetometer Compensation register on a VectorNav sensor. More...
 
static size_t vn::protocol::uart::Packet::genReadFilterActiveTuningParameters (ErrorDetectionMode errorDetectionMode, char *buffer, size_t size)
 Generates a command to read the Filter Active Tuning Parameters register on a VectorNav sensor. More...
 
static size_t vn::protocol::uart::Packet::genWriteFilterActiveTuningParameters (ErrorDetectionMode errorDetectionMode, char *buffer, size_t size, float magneticDisturbanceGain, float accelerationDisturbanceGain, float magneticDisturbanceMemory, float accelerationDisturbanceMemory)
 Generates a command to write to the Filter Active Tuning Parameters register on a VectorNav sensor. More...
 
static size_t vn::protocol::uart::Packet::genReadAccelerationCompensation (ErrorDetectionMode errorDetectionMode, char *buffer, size_t size)
 Generates a command to read the Acceleration Compensation register on a VectorNav sensor. More...
 
static size_t vn::protocol::uart::Packet::genWriteAccelerationCompensation (ErrorDetectionMode errorDetectionMode, char *buffer, size_t size, vn::math::mat3f c, vn::math::vec3f b)
 Generates a command to write to the Acceleration Compensation register on a VectorNav sensor. More...
 
static size_t vn::protocol::uart::Packet::genReadReferenceFrameRotation (ErrorDetectionMode errorDetectionMode, char *buffer, size_t size)
 Generates a command to read the Reference Frame Rotation register on a VectorNav sensor. More...
 
static size_t vn::protocol::uart::Packet::genWriteReferenceFrameRotation (ErrorDetectionMode errorDetectionMode, char *buffer, size_t size, vn::math::mat3f c)
 Generates a command to write to the Reference Frame Rotation register on a VectorNav sensor. More...
 
static size_t vn::protocol::uart::Packet::genReadYawPitchRollMagneticAccelerationAndAngularRates (ErrorDetectionMode errorDetectionMode, char *buffer, size_t size)
 Generates a command to read the Yaw, Pitch, Roll, Magnetic, Acceleration and Angular Rates register on a VectorNav sensor. More...
 
static size_t vn::protocol::uart::Packet::genReadCommunicationProtocolControl (ErrorDetectionMode errorDetectionMode, char *buffer, size_t size)
 Generates a command to read the Communication Protocol Control register on a VectorNav sensor. More...
 
static size_t vn::protocol::uart::Packet::genWriteCommunicationProtocolControl (ErrorDetectionMode errorDetectionMode, char *buffer, size_t size, uint8_t serialCount, uint8_t serialStatus, uint8_t spiCount, uint8_t spiStatus, uint8_t serialChecksum, uint8_t spiChecksum, uint8_t errorMode)
 Generates a command to write to the Communication Protocol Control register on a VectorNav sensor. More...
 
static size_t vn::protocol::uart::Packet::genReadSynchronizationControl (ErrorDetectionMode errorDetectionMode, char *buffer, size_t size)
 Generates a command to read the Synchronization Control register on a VectorNav sensor. More...
 
static size_t vn::protocol::uart::Packet::genWriteSynchronizationControl (ErrorDetectionMode errorDetectionMode, char *buffer, size_t size, uint8_t syncInMode, uint8_t syncInEdge, uint16_t syncInSkipFactor, uint8_t syncOutMode, uint8_t syncOutPolarity, uint16_t syncOutSkipFactor, uint32_t syncOutPulseWidth)
 Generates a command to write to the Synchronization Control register on a VectorNav sensor. More...
 
static size_t vn::protocol::uart::Packet::genReadSynchronizationStatus (ErrorDetectionMode errorDetectionMode, char *buffer, size_t size)
 Generates a command to read the Synchronization Status register on a VectorNav sensor. More...
 
static size_t vn::protocol::uart::Packet::genWriteSynchronizationStatus (ErrorDetectionMode errorDetectionMode, char *buffer, size_t size, uint32_t syncInCount, uint32_t syncInTime, uint32_t syncOutCount)
 Generates a command to write to the Synchronization Status register on a VectorNav sensor. More...
 
static size_t vn::protocol::uart::Packet::genReadFilterBasicControl (ErrorDetectionMode errorDetectionMode, char *buffer, size_t size)
 Generates a command to read the Filter Basic Control register on a VectorNav sensor. More...
 
static size_t vn::protocol::uart::Packet::genWriteFilterBasicControl (ErrorDetectionMode errorDetectionMode, char *buffer, size_t size, uint8_t magMode, uint8_t extMagMode, uint8_t extAccMode, uint8_t extGyroMode, vn::math::vec3f gyroLimit)
 Generates a command to write to the Filter Basic Control register on a VectorNav sensor. More...
 
static size_t vn::protocol::uart::Packet::genReadVpeBasicControl (ErrorDetectionMode errorDetectionMode, char *buffer, size_t size)
 Generates a command to read the VPE Basic Control register on a VectorNav sensor. More...
 
static size_t vn::protocol::uart::Packet::genWriteVpeBasicControl (ErrorDetectionMode errorDetectionMode, char *buffer, size_t size, uint8_t enable, uint8_t headingMode, uint8_t filteringMode, uint8_t tuningMode)
 Generates a command to write to the VPE Basic Control register on a VectorNav sensor. More...
 
static size_t vn::protocol::uart::Packet::genReadVpeMagnetometerBasicTuning (ErrorDetectionMode errorDetectionMode, char *buffer, size_t size)
 Generates a command to read the VPE Magnetometer Basic Tuning register on a VectorNav sensor. More...
 
static size_t vn::protocol::uart::Packet::genWriteVpeMagnetometerBasicTuning (ErrorDetectionMode errorDetectionMode, char *buffer, size_t size, vn::math::vec3f baseTuning, vn::math::vec3f adaptiveTuning, vn::math::vec3f adaptiveFiltering)
 Generates a command to write to the VPE Magnetometer Basic Tuning register on a VectorNav sensor. More...
 
static size_t vn::protocol::uart::Packet::genReadVpeMagnetometerAdvancedTuning (ErrorDetectionMode errorDetectionMode, char *buffer, size_t size)
 Generates a command to read the VPE Magnetometer Advanced Tuning register on a VectorNav sensor. More...
 
static size_t vn::protocol::uart::Packet::genWriteVpeMagnetometerAdvancedTuning (ErrorDetectionMode errorDetectionMode, char *buffer, size_t size, vn::math::vec3f minFiltering, vn::math::vec3f maxFiltering, float maxAdaptRate, float disturbanceWindow, float maxTuning)
 Generates a command to write to the VPE Magnetometer Advanced Tuning register on a VectorNav sensor. More...
 
static size_t vn::protocol::uart::Packet::genReadVpeAccelerometerBasicTuning (ErrorDetectionMode errorDetectionMode, char *buffer, size_t size)
 Generates a command to read the VPE Accelerometer Basic Tuning register on a VectorNav sensor. More...
 
static size_t vn::protocol::uart::Packet::genWriteVpeAccelerometerBasicTuning (ErrorDetectionMode errorDetectionMode, char *buffer, size_t size, vn::math::vec3f baseTuning, vn::math::vec3f adaptiveTuning, vn::math::vec3f adaptiveFiltering)
 Generates a command to write to the VPE Accelerometer Basic Tuning register on a VectorNav sensor. More...
 
static size_t vn::protocol::uart::Packet::genReadVpeAccelerometerAdvancedTuning (ErrorDetectionMode errorDetectionMode, char *buffer, size_t size)
 Generates a command to read the VPE Accelerometer Advanced Tuning register on a VectorNav sensor. More...
 
static size_t vn::protocol::uart::Packet::genWriteVpeAccelerometerAdvancedTuning (ErrorDetectionMode errorDetectionMode, char *buffer, size_t size, vn::math::vec3f minFiltering, vn::math::vec3f maxFiltering, float maxAdaptRate, float disturbanceWindow, float maxTuning)
 Generates a command to write to the VPE Accelerometer Advanced Tuning register on a VectorNav sensor. More...
 
static size_t vn::protocol::uart::Packet::genReadVpeGyroBasicTuning (ErrorDetectionMode errorDetectionMode, char *buffer, size_t size)
 Generates a command to read the VPE Gyro Basic Tuning register on a VectorNav sensor. More...
 
static size_t vn::protocol::uart::Packet::genWriteVpeGyroBasicTuning (ErrorDetectionMode errorDetectionMode, char *buffer, size_t size, vn::math::vec3f angularWalkVariance, vn::math::vec3f baseTuning, vn::math::vec3f adaptiveTuning)
 Generates a command to write to the VPE Gyro Basic Tuning register on a VectorNav sensor. More...
 
static size_t vn::protocol::uart::Packet::genReadFilterStartupGyroBias (ErrorDetectionMode errorDetectionMode, char *buffer, size_t size)
 Generates a command to read the Filter Startup Gyro Bias register on a VectorNav sensor. More...
 
static size_t vn::protocol::uart::Packet::genWriteFilterStartupGyroBias (ErrorDetectionMode errorDetectionMode, char *buffer, size_t size, vn::math::vec3f bias)
 Generates a command to write to the Filter Startup Gyro Bias register on a VectorNav sensor. More...
 
static size_t vn::protocol::uart::Packet::genReadMagnetometerCalibrationControl (ErrorDetectionMode errorDetectionMode, char *buffer, size_t size)
 Generates a command to read the Magnetometer Calibration Control register on a VectorNav sensor. More...
 
static size_t vn::protocol::uart::Packet::genWriteMagnetometerCalibrationControl (ErrorDetectionMode errorDetectionMode, char *buffer, size_t size, uint8_t hsiMode, uint8_t hsiOutput, uint8_t convergeRate)
 Generates a command to write to the Magnetometer Calibration Control register on a VectorNav sensor. More...
 
static size_t vn::protocol::uart::Packet::genReadCalculatedMagnetometerCalibration (ErrorDetectionMode errorDetectionMode, char *buffer, size_t size)
 Generates a command to read the Calculated Magnetometer Calibration register on a VectorNav sensor. More...
 
static size_t vn::protocol::uart::Packet::genReadIndoorHeadingModeControl (ErrorDetectionMode errorDetectionMode, char *buffer, size_t size)
 Generates a command to read the Indoor Heading Mode Control register on a VectorNav sensor. More...
 
static size_t vn::protocol::uart::Packet::genWriteIndoorHeadingModeControl (ErrorDetectionMode errorDetectionMode, char *buffer, size_t size, float maxRateError)
 Generates a command to write to the Indoor Heading Mode Control register on a VectorNav sensor. More...
 
static size_t vn::protocol::uart::Packet::genReadVelocityCompensationMeasurement (ErrorDetectionMode errorDetectionMode, char *buffer, size_t size)
 Generates a command to read the Velocity Compensation Measurement register on a VectorNav sensor. More...
 
static size_t vn::protocol::uart::Packet::genWriteVelocityCompensationMeasurement (ErrorDetectionMode errorDetectionMode, char *buffer, size_t size, vn::math::vec3f velocity)
 Generates a command to write to the Velocity Compensation Measurement register on a VectorNav sensor. More...
 
static size_t vn::protocol::uart::Packet::genReadVelocityCompensationControl (ErrorDetectionMode errorDetectionMode, char *buffer, size_t size)
 Generates a command to read the Velocity Compensation Control register on a VectorNav sensor. More...
 
static size_t vn::protocol::uart::Packet::genWriteVelocityCompensationControl (ErrorDetectionMode errorDetectionMode, char *buffer, size_t size, uint8_t mode, float velocityTuning, float rateTuning)
 Generates a command to write to the Velocity Compensation Control register on a VectorNav sensor. More...
 
static size_t vn::protocol::uart::Packet::genReadVelocityCompensationStatus (ErrorDetectionMode errorDetectionMode, char *buffer, size_t size)
 Generates a command to read the Velocity Compensation Status register on a VectorNav sensor. More...
 
static size_t vn::protocol::uart::Packet::genReadImuMeasurements (ErrorDetectionMode errorDetectionMode, char *buffer, size_t size)
 Generates a command to read the IMU Measurements register on a VectorNav sensor. More...
 
static size_t vn::protocol::uart::Packet::genReadGpsConfiguration (ErrorDetectionMode errorDetectionMode, char *buffer, size_t size)
 Generates a command to read the GPS Configuration register on a VectorNav sensor. More...
 
static size_t vn::protocol::uart::Packet::genWriteGpsConfiguration (ErrorDetectionMode errorDetectionMode, char *buffer, size_t size, uint8_t mode, uint8_t ppsSource)
 Generates a command to write to the GPS Configuration register on a VectorNav sensor. More...
 
static size_t vn::protocol::uart::Packet::genReadGpsAntennaOffset (ErrorDetectionMode errorDetectionMode, char *buffer, size_t size)
 Generates a command to read the GPS Antenna Offset register on a VectorNav sensor. More...
 
static size_t vn::protocol::uart::Packet::genWriteGpsAntennaOffset (ErrorDetectionMode errorDetectionMode, char *buffer, size_t size, vn::math::vec3f position)
 Generates a command to write to the GPS Antenna Offset register on a VectorNav sensor. More...
 
static size_t vn::protocol::uart::Packet::genReadGpsSolutionLla (ErrorDetectionMode errorDetectionMode, char *buffer, size_t size)
 Generates a command to read the GPS Solution - LLA register on a VectorNav sensor. More...
 
static size_t vn::protocol::uart::Packet::genReadGpsSolutionEcef (ErrorDetectionMode errorDetectionMode, char *buffer, size_t size)
 Generates a command to read the GPS Solution - ECEF register on a VectorNav sensor. More...
 
static size_t vn::protocol::uart::Packet::genReadInsSolutionLla (ErrorDetectionMode errorDetectionMode, char *buffer, size_t size)
 Generates a command to read the INS Solution - LLA register on a VectorNav sensor. More...
 
static size_t vn::protocol::uart::Packet::genReadInsSolutionEcef (ErrorDetectionMode errorDetectionMode, char *buffer, size_t size)
 Generates a command to read the INS Solution - ECEF register on a VectorNav sensor. More...
 
static size_t vn::protocol::uart::Packet::genReadInsBasicConfiguration (ErrorDetectionMode errorDetectionMode, char *buffer, size_t size)
 Generates a command to read the INS Basic Configuration register on a VectorNav sensor. More...
 
static size_t vn::protocol::uart::Packet::genWriteInsBasicConfiguration (ErrorDetectionMode errorDetectionMode, char *buffer, size_t size, uint8_t scenario, uint8_t ahrsAiding, uint8_t estBaseline)
 Generates a command to write to the INS Basic Configuration register on a VectorNav sensor. More...
 
static size_t vn::protocol::uart::Packet::genReadInsAdvancedConfiguration (ErrorDetectionMode errorDetectionMode, char *buffer, size_t size)
 Generates a command to read the INS Advanced Configuration register on a VectorNav sensor. More...
 
static size_t vn::protocol::uart::Packet::genWriteInsAdvancedConfiguration (ErrorDetectionMode errorDetectionMode, char *buffer, size_t size, uint8_t useMag, uint8_t usePres, uint8_t posAtt, uint8_t velAtt, uint8_t velBias, uint8_t useFoam, uint8_t gpsCovType, uint8_t velCount, float velInit, float moveOrigin, float gpsTimeout, float deltaLimitPos, float deltaLimitVel, float minPosUncertainty, float minVelUncertainty)
 Generates a command to write to the INS Advanced Configuration register on a VectorNav sensor. More...
 
static size_t vn::protocol::uart::Packet::genReadInsStateLla (ErrorDetectionMode errorDetectionMode, char *buffer, size_t size)
 Generates a command to read the INS State - LLA register on a VectorNav sensor. More...
 
static size_t vn::protocol::uart::Packet::genReadInsStateEcef (ErrorDetectionMode errorDetectionMode, char *buffer, size_t size)
 Generates a command to read the INS State - ECEF register on a VectorNav sensor. More...
 
static size_t vn::protocol::uart::Packet::genReadStartupFilterBiasEstimate (ErrorDetectionMode errorDetectionMode, char *buffer, size_t size)
 Generates a command to read the Startup Filter Bias Estimate register on a VectorNav sensor. More...
 
static size_t vn::protocol::uart::Packet::genWriteStartupFilterBiasEstimate (ErrorDetectionMode errorDetectionMode, char *buffer, size_t size, vn::math::vec3f gyroBias, vn::math::vec3f accelBias, float pressureBias)
 Generates a command to write to the Startup Filter Bias Estimate register on a VectorNav sensor. More...
 
static size_t vn::protocol::uart::Packet::genReadDeltaThetaAndDeltaVelocity (ErrorDetectionMode errorDetectionMode, char *buffer, size_t size)
 Generates a command to read the Delta Theta and Delta Velocity register on a VectorNav sensor. More...
 
static size_t vn::protocol::uart::Packet::genReadDeltaThetaAndDeltaVelocityConfiguration (ErrorDetectionMode errorDetectionMode, char *buffer, size_t size)
 Generates a command to read the Delta Theta and Delta Velocity Configuration register on a VectorNav sensor. More...
 
static size_t vn::protocol::uart::Packet::genWriteDeltaThetaAndDeltaVelocityConfiguration (ErrorDetectionMode errorDetectionMode, char *buffer, size_t size, uint8_t integrationFrame, uint8_t gyroCompensation, uint8_t accelCompensation)
 Generates a command to write to the Delta Theta and Delta Velocity Configuration register on a VectorNav sensor. More...
 
static size_t vn::protocol::uart::Packet::genReadReferenceVectorConfiguration (ErrorDetectionMode errorDetectionMode, char *buffer, size_t size)
 Generates a command to read the Reference Vector Configuration register on a VectorNav sensor. More...
 
static size_t vn::protocol::uart::Packet::genWriteReferenceVectorConfiguration (ErrorDetectionMode errorDetectionMode, char *buffer, size_t size, uint8_t useMagModel, uint8_t useGravityModel, uint32_t recalcThreshold, float year, vn::math::vec3d position)
 Generates a command to write to the Reference Vector Configuration register on a VectorNav sensor. More...
 
static size_t vn::protocol::uart::Packet::genReadGyroCompensation (ErrorDetectionMode errorDetectionMode, char *buffer, size_t size)
 Generates a command to read the Gyro Compensation register on a VectorNav sensor. More...
 
static size_t vn::protocol::uart::Packet::genWriteGyroCompensation (ErrorDetectionMode errorDetectionMode, char *buffer, size_t size, vn::math::mat3f c, vn::math::vec3f b)
 Generates a command to write to the Gyro Compensation register on a VectorNav sensor. More...
 
static size_t vn::protocol::uart::Packet::genReadImuFilteringConfiguration (ErrorDetectionMode errorDetectionMode, char *buffer, size_t size)
 Generates a command to read the IMU Filtering Configuration register on a VectorNav sensor. More...
 
static size_t vn::protocol::uart::Packet::genWriteImuFilteringConfiguration (ErrorDetectionMode errorDetectionMode, char *buffer, size_t size, uint16_t magWindowSize, uint16_t accelWindowSize, uint16_t gyroWindowSize, uint16_t tempWindowSize, uint16_t presWindowSize, uint8_t magFilterMode, uint8_t accelFilterMode, uint8_t gyroFilterMode, uint8_t tempFilterMode, uint8_t presFilterMode)
 Generates a command to write to the IMU Filtering Configuration register on a VectorNav sensor. More...
 
static size_t vn::protocol::uart::Packet::genReadGpsCompassBaseline (ErrorDetectionMode errorDetectionMode, char *buffer, size_t size)
 Generates a command to read the GPS Compass Baseline register on a VectorNav sensor. More...
 
static size_t vn::protocol::uart::Packet::genWriteGpsCompassBaseline (ErrorDetectionMode errorDetectionMode, char *buffer, size_t size, vn::math::vec3f position, vn::math::vec3f uncertainty)
 Generates a command to write to the GPS Compass Baseline register on a VectorNav sensor. More...
 
static size_t vn::protocol::uart::Packet::genReadGpsCompassEstimatedBaseline (ErrorDetectionMode errorDetectionMode, char *buffer, size_t size)
 Generates a command to read the GPS Compass Estimated Baseline register on a VectorNav sensor. More...
 
static size_t vn::protocol::uart::Packet::genReadImuRateConfiguration (ErrorDetectionMode errorDetectionMode, char *buffer, size_t size)
 Generates a command to read the IMU Rate Configuration register on a VectorNav sensor. More...
 
static size_t vn::protocol::uart::Packet::genWriteImuRateConfiguration (ErrorDetectionMode errorDetectionMode, char *buffer, size_t size, uint16_t imuRate, uint16_t navDivisor, float filterTargetRate, float filterMinRate)
 Generates a command to write to the IMU Rate Configuration register on a VectorNav sensor. More...
 
static size_t vn::protocol::uart::Packet::genReadYawPitchRollTrueBodyAccelerationAndAngularRates (ErrorDetectionMode errorDetectionMode, char *buffer, size_t size)
 Generates a command to read the Yaw, Pitch, Roll, True Body Acceleration and Angular Rates register on a VectorNav sensor. More...
 
static size_t vn::protocol::uart::Packet::genReadYawPitchRollTrueInertialAccelerationAndAngularRates (ErrorDetectionMode errorDetectionMode, char *buffer, size_t size)
 Generates a command to read the Yaw, Pitch, Roll, True Inertial Acceleration and Angular Rates register on a VectorNav sensor. More...
 

Detailed Description

This group of methods will create commands that can be used to read/write the register of a VectorNav sensor.

Function Documentation

static size_t vn::protocol::uart::Packet::genKnownAccelerationDisturbance ( ErrorDetectionMode  errorDetectionMode,
char *  buffer,
size_t  size,
bool  isAccelerationDisturbancePresent 
)
static

Generates a command to alert the sensor of a known acceleration disturbance.

Parameters
[in]errorDetectionModeThe type of error-detection to use in generating the command.
[in]bufferCaller provided buffer to place the generated command.
[in]sizeNumber of bytes available in the provided buffer.
[in]indicatesif a known acceleration disturbance is present or not.
Returns
The total number bytes in the generated command.
static size_t vn::protocol::uart::Packet::genKnownMagneticDisturbance ( ErrorDetectionMode  errorDetectionMode,
char *  buffer,
size_t  size,
bool  isMagneticDisturbancePresent 
)
static

Generates a command to alert the sensor of a known magnetic disturbance.

Parameters
[in]errorDetectionModeThe type of error-detection to use in generating the command.
[in]bufferCaller provided buffer to place the generated command.
[in]sizeNumber of bytes available in the provided buffer.
[in]indicatesif a known magnetic disturbance is present or not.
Returns
The total number bytes in the generated command.
static size_t vn::protocol::uart::Packet::genReadAccelerationCompensation ( ErrorDetectionMode  errorDetectionMode,
char *  buffer,
size_t  size 
)
static

Generates a command to read the Acceleration Compensation register on a VectorNav sensor.

Parameters
[in]errorDetectionModeThe type of error-detection to use in generating the command.
[in]bufferCaller provided buffer to place the generated command.
[in]sizeNumber of bytes available in the provided buffer.
Returns
The total number bytes in the generated command.
static size_t vn::protocol::uart::Packet::genReadAccelerationMeasurements ( ErrorDetectionMode  errorDetectionMode,
char *  buffer,
size_t  size 
)
static

Generates a command to read the Acceleration Measurements register on a VectorNav sensor.

Parameters
[in]errorDetectionModeThe type of error-detection to use in generating the command.
[in]bufferCaller provided buffer to place the generated command.
[in]sizeNumber of bytes available in the provided buffer.
Returns
The total number bytes in the generated command.
static size_t vn::protocol::uart::Packet::genReadAngularRateMeasurements ( ErrorDetectionMode  errorDetectionMode,
char *  buffer,
size_t  size 
)
static

Generates a command to read the Angular Rate Measurements register on a VectorNav sensor.

Parameters
[in]errorDetectionModeThe type of error-detection to use in generating the command.
[in]bufferCaller provided buffer to place the generated command.
[in]sizeNumber of bytes available in the provided buffer.
Returns
The total number bytes in the generated command.
static size_t vn::protocol::uart::Packet::genReadAsyncDataOutputFrequency ( ErrorDetectionMode  errorDetectionMode,
char *  buffer,
size_t  size,
uint8_t  port 
)
static

Generates a command to read the Async Data Output Frequency register on a VectorNav sensor.

Parameters
[in]errorDetectionModeThe type of error-detection to use in generating the command.
[in]bufferCaller provided buffer to place the generated command.
[in]sizeNumber of bytes available in the provided buffer.
[in]portThe port to read from.
Returns
The total number bytes in the generated command.
static size_t vn::protocol::uart::Packet::genReadAsyncDataOutputFrequency ( ErrorDetectionMode  errorDetectionMode,
char *  buffer,
size_t  size 
)
static

Generates a command to read the Async Data Output Frequency register on a VectorNav sensor.

Parameters
[in]errorDetectionModeThe type of error-detection to use in generating the command.
[in]bufferCaller provided buffer to place the generated command.
[in]sizeNumber of bytes available in the provided buffer.
Returns
The total number bytes in the generated command.
static size_t vn::protocol::uart::Packet::genReadAsyncDataOutputType ( ErrorDetectionMode  errorDetectionMode,
char *  buffer,
size_t  size,
uint8_t  port 
)
static

Generates a command to read the Async Data Output Type register on a VectorNav sensor.

Parameters
[in]errorDetectionModeThe type of error-detection to use in generating the command.
[in]bufferCaller provided buffer to place the generated command.
[in]sizeNumber of bytes available in the provided buffer.
[in]portThe port to read from.
Returns
The total number bytes in the generated command.
static size_t vn::protocol::uart::Packet::genReadAsyncDataOutputType ( ErrorDetectionMode  errorDetectionMode,
char *  buffer,
size_t  size 
)
static

Generates a command to read the Async Data Output Type register on a VectorNav sensor.

Parameters
[in]errorDetectionModeThe type of error-detection to use in generating the command.
[in]bufferCaller provided buffer to place the generated command.
[in]sizeNumber of bytes available in the provided buffer.
Returns
The total number bytes in the generated command.
static size_t vn::protocol::uart::Packet::genReadAttitudeQuaternion ( ErrorDetectionMode  errorDetectionMode,
char *  buffer,
size_t  size 
)
static

Generates a command to read the Attitude Quaternion register on a VectorNav sensor.

Parameters
[in]errorDetectionModeThe type of error-detection to use in generating the command.
[in]bufferCaller provided buffer to place the generated command.
[in]sizeNumber of bytes available in the provided buffer.
Returns
The total number bytes in the generated command.
static size_t vn::protocol::uart::Packet::genReadBinaryOutput1 ( ErrorDetectionMode  errorDetectionMode,
char *  buffer,
size_t  size 
)
static

Generates a command to read the Binary Output 1 register on a VectorNav sensor.

Parameters
[in]errorDetectionModeThe type of error-detection to use in generating the command.
[in]bufferCaller provided buffer to place the generated command.
[in]sizeNumber of bytes available in the provided buffer.
Returns
The total number bytes in the generated command.
static size_t vn::protocol::uart::Packet::genReadBinaryOutput2 ( ErrorDetectionMode  errorDetectionMode,
char *  buffer,
size_t  size 
)
static

Generates a command to read the Binary Output 2 register on a VectorNav sensor.

Parameters
[in]errorDetectionModeThe type of error-detection to use in generating the command.
[in]bufferCaller provided buffer to place the generated command.
[in]sizeNumber of bytes available in the provided buffer.
Returns
The total number bytes in the generated command.
static size_t vn::protocol::uart::Packet::genReadBinaryOutput3 ( ErrorDetectionMode  errorDetectionMode,
char *  buffer,
size_t  size 
)
static

Generates a command to read the Binary Output 13 register on a VectorNav sensor.

Parameters
[in]errorDetectionModeThe type of error-detection to use in generating the command.
[in]bufferCaller provided buffer to place the generated command.
[in]sizeNumber of bytes available in the provided buffer.
Returns
The total number bytes in the generated command.
static size_t vn::protocol::uart::Packet::genReadCalculatedMagnetometerCalibration ( ErrorDetectionMode  errorDetectionMode,
char *  buffer,
size_t  size 
)
static

Generates a command to read the Calculated Magnetometer Calibration register on a VectorNav sensor.

Parameters
[in]errorDetectionModeThe type of error-detection to use in generating the command.
[in]bufferCaller provided buffer to place the generated command.
[in]sizeNumber of bytes available in the provided buffer.
Returns
The total number bytes in the generated command.
static size_t vn::protocol::uart::Packet::genReadCommunicationProtocolControl ( ErrorDetectionMode  errorDetectionMode,
char *  buffer,
size_t  size 
)
static

Generates a command to read the Communication Protocol Control register on a VectorNav sensor.

Parameters
[in]errorDetectionModeThe type of error-detection to use in generating the command.
[in]bufferCaller provided buffer to place the generated command.
[in]sizeNumber of bytes available in the provided buffer.
Returns
The total number bytes in the generated command.
static size_t vn::protocol::uart::Packet::genReadDeltaThetaAndDeltaVelocity ( ErrorDetectionMode  errorDetectionMode,
char *  buffer,
size_t  size 
)
static

Generates a command to read the Delta Theta and Delta Velocity register on a VectorNav sensor.

Parameters
[in]errorDetectionModeThe type of error-detection to use in generating the command.
[in]bufferCaller provided buffer to place the generated command.
[in]sizeNumber of bytes available in the provided buffer.
Returns
The total number bytes in the generated command.
static size_t vn::protocol::uart::Packet::genReadDeltaThetaAndDeltaVelocityConfiguration ( ErrorDetectionMode  errorDetectionMode,
char *  buffer,
size_t  size 
)
static

Generates a command to read the Delta Theta and Delta Velocity Configuration register on a VectorNav sensor.

Parameters
[in]errorDetectionModeThe type of error-detection to use in generating the command.
[in]bufferCaller provided buffer to place the generated command.
[in]sizeNumber of bytes available in the provided buffer.
Returns
The total number bytes in the generated command.
static size_t vn::protocol::uart::Packet::genReadFilterActiveTuningParameters ( ErrorDetectionMode  errorDetectionMode,
char *  buffer,
size_t  size 
)
static

Generates a command to read the Filter Active Tuning Parameters register on a VectorNav sensor.

Parameters
[in]errorDetectionModeThe type of error-detection to use in generating the command.
[in]bufferCaller provided buffer to place the generated command.
[in]sizeNumber of bytes available in the provided buffer.
Returns
The total number bytes in the generated command.
static size_t vn::protocol::uart::Packet::genReadFilterBasicControl ( ErrorDetectionMode  errorDetectionMode,
char *  buffer,
size_t  size 
)
static

Generates a command to read the Filter Basic Control register on a VectorNav sensor.

Parameters
[in]errorDetectionModeThe type of error-detection to use in generating the command.
[in]bufferCaller provided buffer to place the generated command.
[in]sizeNumber of bytes available in the provided buffer.
Returns
The total number bytes in the generated command.
static size_t vn::protocol::uart::Packet::genReadFilterMeasurementsVarianceParameters ( ErrorDetectionMode  errorDetectionMode,
char *  buffer,
size_t  size 
)
static

Generates a command to read the Filter Measurements Variance Parameters register on a VectorNav sensor.

Parameters
[in]errorDetectionModeThe type of error-detection to use in generating the command.
[in]bufferCaller provided buffer to place the generated command.
[in]sizeNumber of bytes available in the provided buffer.
Returns
The total number bytes in the generated command.
static size_t vn::protocol::uart::Packet::genReadFilterStartupGyroBias ( ErrorDetectionMode  errorDetectionMode,
char *  buffer,
size_t  size 
)
static

Generates a command to read the Filter Startup Gyro Bias register on a VectorNav sensor.

Parameters
[in]errorDetectionModeThe type of error-detection to use in generating the command.
[in]bufferCaller provided buffer to place the generated command.
[in]sizeNumber of bytes available in the provided buffer.
Returns
The total number bytes in the generated command.
static size_t vn::protocol::uart::Packet::genReadFirmwareVersion ( ErrorDetectionMode  errorDetectionMode,
char *  buffer,
size_t  size 
)
static

Generates a command to read the Firmware Version register on a VectorNav sensor.

Parameters
[in]errorDetectionModeThe type of error-detection to use in generating the command.
[in]bufferCaller provided buffer to place the generated command.
[in]sizeNumber of bytes available in the provided buffer.
Returns
The total number bytes in the generated command.
static size_t vn::protocol::uart::Packet::genReadGpsAntennaOffset ( ErrorDetectionMode  errorDetectionMode,
char *  buffer,
size_t  size 
)
static

Generates a command to read the GPS Antenna Offset register on a VectorNav sensor.

Parameters
[in]errorDetectionModeThe type of error-detection to use in generating the command.
[in]bufferCaller provided buffer to place the generated command.
[in]sizeNumber of bytes available in the provided buffer.
Returns
The total number bytes in the generated command.
static size_t vn::protocol::uart::Packet::genReadGpsCompassBaseline ( ErrorDetectionMode  errorDetectionMode,
char *  buffer,
size_t  size 
)
static

Generates a command to read the GPS Compass Baseline register on a VectorNav sensor.

Parameters
[in]errorDetectionModeThe type of error-detection to use in generating the command.
[in]bufferCaller provided buffer to place the generated command.
[in]sizeNumber of bytes available in the provided buffer.
Returns
The total number bytes in the generated command.
static size_t vn::protocol::uart::Packet::genReadGpsCompassEstimatedBaseline ( ErrorDetectionMode  errorDetectionMode,
char *  buffer,
size_t  size 
)
static

Generates a command to read the GPS Compass Estimated Baseline register on a VectorNav sensor.

Parameters
[in]errorDetectionModeThe type of error-detection to use in generating the command.
[in]bufferCaller provided buffer to place the generated command.
[in]sizeNumber of bytes available in the provided buffer.
Returns
The total number bytes in the generated command.
static size_t vn::protocol::uart::Packet::genReadGpsConfiguration ( ErrorDetectionMode  errorDetectionMode,
char *  buffer,
size_t  size 
)
static

Generates a command to read the GPS Configuration register on a VectorNav sensor.

Parameters
[in]errorDetectionModeThe type of error-detection to use in generating the command.
[in]bufferCaller provided buffer to place the generated command.
[in]sizeNumber of bytes available in the provided buffer.
Returns
The total number bytes in the generated command.
static size_t vn::protocol::uart::Packet::genReadGpsSolutionEcef ( ErrorDetectionMode  errorDetectionMode,
char *  buffer,
size_t  size 
)
static

Generates a command to read the GPS Solution - ECEF register on a VectorNav sensor.

Parameters
[in]errorDetectionModeThe type of error-detection to use in generating the command.
[in]bufferCaller provided buffer to place the generated command.
[in]sizeNumber of bytes available in the provided buffer.
Returns
The total number bytes in the generated command.
static size_t vn::protocol::uart::Packet::genReadGpsSolutionLla ( ErrorDetectionMode  errorDetectionMode,
char *  buffer,
size_t  size 
)
static

Generates a command to read the GPS Solution - LLA register on a VectorNav sensor.

Parameters
[in]errorDetectionModeThe type of error-detection to use in generating the command.
[in]bufferCaller provided buffer to place the generated command.
[in]sizeNumber of bytes available in the provided buffer.
Returns
The total number bytes in the generated command.
static size_t vn::protocol::uart::Packet::genReadGyroCompensation ( ErrorDetectionMode  errorDetectionMode,
char *  buffer,
size_t  size 
)
static

Generates a command to read the Gyro Compensation register on a VectorNav sensor.

Parameters
[in]errorDetectionModeThe type of error-detection to use in generating the command.
[in]bufferCaller provided buffer to place the generated command.
[in]sizeNumber of bytes available in the provided buffer.
Returns
The total number bytes in the generated command.
static size_t vn::protocol::uart::Packet::genReadHardwareRevision ( ErrorDetectionMode  errorDetectionMode,
char *  buffer,
size_t  size 
)
static

Generates a command to read the Hardware Revision register on a VectorNav sensor.

Parameters
[in]errorDetectionModeThe type of error-detection to use in generating the command.
[in]bufferCaller provided buffer to place the generated command.
[in]sizeNumber of bytes available in the provided buffer.
Returns
The total number bytes in the generated command.
static size_t vn::protocol::uart::Packet::genReadImuFilteringConfiguration ( ErrorDetectionMode  errorDetectionMode,
char *  buffer,
size_t  size 
)
static

Generates a command to read the IMU Filtering Configuration register on a VectorNav sensor.

Parameters
[in]errorDetectionModeThe type of error-detection to use in generating the command.
[in]bufferCaller provided buffer to place the generated command.
[in]sizeNumber of bytes available in the provided buffer.
Returns
The total number bytes in the generated command.
static size_t vn::protocol::uart::Packet::genReadImuMeasurements ( ErrorDetectionMode  errorDetectionMode,
char *  buffer,
size_t  size 
)
static

Generates a command to read the IMU Measurements register on a VectorNav sensor.

Parameters
[in]errorDetectionModeThe type of error-detection to use in generating the command.
[in]bufferCaller provided buffer to place the generated command.
[in]sizeNumber of bytes available in the provided buffer.
Returns
The total number bytes in the generated command.
static size_t vn::protocol::uart::Packet::genReadImuRateConfiguration ( ErrorDetectionMode  errorDetectionMode,
char *  buffer,
size_t  size 
)
static

Generates a command to read the IMU Rate Configuration register on a VectorNav sensor.

Parameters
[in]errorDetectionModeThe type of error-detection to use in generating the command.
[in]bufferCaller provided buffer to place the generated command.
[in]sizeNumber of bytes available in the provided buffer.
Returns
The total number bytes in the generated command.
static size_t vn::protocol::uart::Packet::genReadIndoorHeadingModeControl ( ErrorDetectionMode  errorDetectionMode,
char *  buffer,
size_t  size 
)
static

Generates a command to read the Indoor Heading Mode Control register on a VectorNav sensor.

Parameters
[in]errorDetectionModeThe type of error-detection to use in generating the command.
[in]bufferCaller provided buffer to place the generated command.
[in]sizeNumber of bytes available in the provided buffer.
Returns
The total number bytes in the generated command.
static size_t vn::protocol::uart::Packet::genReadInsAdvancedConfiguration ( ErrorDetectionMode  errorDetectionMode,
char *  buffer,
size_t  size 
)
static

Generates a command to read the INS Advanced Configuration register on a VectorNav sensor.

Parameters
[in]errorDetectionModeThe type of error-detection to use in generating the command.
[in]bufferCaller provided buffer to place the generated command.
[in]sizeNumber of bytes available in the provided buffer.
Returns
The total number bytes in the generated command.
static size_t vn::protocol::uart::Packet::genReadInsBasicConfiguration ( ErrorDetectionMode  errorDetectionMode,
char *  buffer,
size_t  size 
)
static

Generates a command to read the INS Basic Configuration register on a VectorNav sensor.

Parameters
[in]errorDetectionModeThe type of error-detection to use in generating the command.
[in]bufferCaller provided buffer to place the generated command.
[in]sizeNumber of bytes available in the provided buffer.
Returns
The total number bytes in the generated command.
static size_t vn::protocol::uart::Packet::genReadInsSolutionEcef ( ErrorDetectionMode  errorDetectionMode,
char *  buffer,
size_t  size 
)
static

Generates a command to read the INS Solution - ECEF register on a VectorNav sensor.

Parameters
[in]errorDetectionModeThe type of error-detection to use in generating the command.
[in]bufferCaller provided buffer to place the generated command.
[in]sizeNumber of bytes available in the provided buffer.
Returns
The total number bytes in the generated command.
static size_t vn::protocol::uart::Packet::genReadInsSolutionLla ( ErrorDetectionMode  errorDetectionMode,
char *  buffer,
size_t  size 
)
static

Generates a command to read the INS Solution - LLA register on a VectorNav sensor.

Parameters
[in]errorDetectionModeThe type of error-detection to use in generating the command.
[in]bufferCaller provided buffer to place the generated command.
[in]sizeNumber of bytes available in the provided buffer.
Returns
The total number bytes in the generated command.
static size_t vn::protocol::uart::Packet::genReadInsStateEcef ( ErrorDetectionMode  errorDetectionMode,
char *  buffer,
size_t  size 
)
static

Generates a command to read the INS State - ECEF register on a VectorNav sensor.

Parameters
[in]errorDetectionModeThe type of error-detection to use in generating the command.
[in]bufferCaller provided buffer to place the generated command.
[in]sizeNumber of bytes available in the provided buffer.
Returns
The total number bytes in the generated command.
static size_t vn::protocol::uart::Packet::genReadInsStateLla ( ErrorDetectionMode  errorDetectionMode,
char *  buffer,
size_t  size 
)
static

Generates a command to read the INS State - LLA register on a VectorNav sensor.

Parameters
[in]errorDetectionModeThe type of error-detection to use in generating the command.
[in]bufferCaller provided buffer to place the generated command.
[in]sizeNumber of bytes available in the provided buffer.
Returns
The total number bytes in the generated command.
static size_t vn::protocol::uart::Packet::genReadMagneticAccelerationAndAngularRates ( ErrorDetectionMode  errorDetectionMode,
char *  buffer,
size_t  size 
)
static

Generates a command to read the Magnetic, Acceleration and Angular Rates register on a VectorNav sensor.

Parameters
[in]errorDetectionModeThe type of error-detection to use in generating the command.
[in]bufferCaller provided buffer to place the generated command.
[in]sizeNumber of bytes available in the provided buffer.
Returns
The total number bytes in the generated command.
static size_t vn::protocol::uart::Packet::genReadMagneticAndGravityReferenceVectors ( ErrorDetectionMode  errorDetectionMode,
char *  buffer,
size_t  size 
)
static

Generates a command to read the Magnetic and Gravity Reference Vectors register on a VectorNav sensor.

Parameters
[in]errorDetectionModeThe type of error-detection to use in generating the command.
[in]bufferCaller provided buffer to place the generated command.
[in]sizeNumber of bytes available in the provided buffer.
Returns
The total number bytes in the generated command.
static size_t vn::protocol::uart::Packet::genReadMagneticMeasurements ( ErrorDetectionMode  errorDetectionMode,
char *  buffer,
size_t  size 
)
static

Generates a command to read the Magnetic Measurements register on a VectorNav sensor.

Parameters
[in]errorDetectionModeThe type of error-detection to use in generating the command.
[in]bufferCaller provided buffer to place the generated command.
[in]sizeNumber of bytes available in the provided buffer.
Returns
The total number bytes in the generated command.
static size_t vn::protocol::uart::Packet::genReadMagnetometerCalibrationControl ( ErrorDetectionMode  errorDetectionMode,
char *  buffer,
size_t  size 
)
static

Generates a command to read the Magnetometer Calibration Control register on a VectorNav sensor.

Parameters
[in]errorDetectionModeThe type of error-detection to use in generating the command.
[in]bufferCaller provided buffer to place the generated command.
[in]sizeNumber of bytes available in the provided buffer.
Returns
The total number bytes in the generated command.
static size_t vn::protocol::uart::Packet::genReadMagnetometerCompensation ( ErrorDetectionMode  errorDetectionMode,
char *  buffer,
size_t  size 
)
static

Generates a command to read the Magnetometer Compensation register on a VectorNav sensor.

Parameters
[in]errorDetectionModeThe type of error-detection to use in generating the command.
[in]bufferCaller provided buffer to place the generated command.
[in]sizeNumber of bytes available in the provided buffer.
Returns
The total number bytes in the generated command.
static size_t vn::protocol::uart::Packet::genReadModelNumber ( ErrorDetectionMode  errorDetectionMode,
char *  buffer,
size_t  size 
)
static

Generates a command to read the Model Number register on a VectorNav sensor.

Parameters
[in]errorDetectionModeThe type of error-detection to use in generating the command.
[in]bufferCaller provided buffer to place the generated command.
[in]sizeNumber of bytes available in the provided buffer.
Returns
The total number bytes in the generated command.
static size_t vn::protocol::uart::Packet::genReadQuaternionMagneticAccelerationAndAngularRates ( ErrorDetectionMode  errorDetectionMode,
char *  buffer,
size_t  size 
)
static

Generates a command to read the Quaternion, Magnetic, Acceleration and Angular Rates register on a VectorNav sensor.

Parameters
[in]errorDetectionModeThe type of error-detection to use in generating the command.
[in]bufferCaller provided buffer to place the generated command.
[in]sizeNumber of bytes available in the provided buffer.
Returns
The total number bytes in the generated command.
static size_t vn::protocol::uart::Packet::genReadReferenceFrameRotation ( ErrorDetectionMode  errorDetectionMode,
char *  buffer,
size_t  size 
)
static

Generates a command to read the Reference Frame Rotation register on a VectorNav sensor.

Parameters
[in]errorDetectionModeThe type of error-detection to use in generating the command.
[in]bufferCaller provided buffer to place the generated command.
[in]sizeNumber of bytes available in the provided buffer.
Returns
The total number bytes in the generated command.
static size_t vn::protocol::uart::Packet::genReadReferenceVectorConfiguration ( ErrorDetectionMode  errorDetectionMode,
char *  buffer,
size_t  size 
)
static

Generates a command to read the Reference Vector Configuration register on a VectorNav sensor.

Parameters
[in]errorDetectionModeThe type of error-detection to use in generating the command.
[in]bufferCaller provided buffer to place the generated command.
[in]sizeNumber of bytes available in the provided buffer.
Returns
The total number bytes in the generated command.
static size_t vn::protocol::uart::Packet::genReadSerialBaudRate ( ErrorDetectionMode  errorDetectionMode,
char *  buffer,
size_t  size,
uint8_t  port 
)
static

Generates a command to read the Serial Baud Rate register on a VectorNav sensor.

Parameters
[in]errorDetectionModeThe type of error-detection to use in generating the command.
[in]bufferCaller provided buffer to place the generated command.
[in]sizeNumber of bytes available in the provided buffer.
[in]portThe port to read from.
Returns
The total number bytes in the generated command.
static size_t vn::protocol::uart::Packet::genReadSerialBaudRate ( ErrorDetectionMode  errorDetectionMode,
char *  buffer,
size_t  size 
)
static

Generates a command to read the Serial Baud Rate register on a VectorNav sensor.

Parameters
[in]errorDetectionModeThe type of error-detection to use in generating the command.
[in]bufferCaller provided buffer to place the generated command.
[in]sizeNumber of bytes available in the provided buffer.
Returns
The total number bytes in the generated command.
static size_t vn::protocol::uart::Packet::genReadSerialNumber ( ErrorDetectionMode  errorDetectionMode,
char *  buffer,
size_t  size 
)
static

Generates a command to read the Serial Number register on a VectorNav sensor.

Parameters
[in]errorDetectionModeThe type of error-detection to use in generating the command.
[in]bufferCaller provided buffer to place the generated command.
[in]sizeNumber of bytes available in the provided buffer.
Returns
The total number bytes in the generated command.
static size_t vn::protocol::uart::Packet::genReadStartupFilterBiasEstimate ( ErrorDetectionMode  errorDetectionMode,
char *  buffer,
size_t  size 
)
static

Generates a command to read the Startup Filter Bias Estimate register on a VectorNav sensor.

Parameters
[in]errorDetectionModeThe type of error-detection to use in generating the command.
[in]bufferCaller provided buffer to place the generated command.
[in]sizeNumber of bytes available in the provided buffer.
Returns
The total number bytes in the generated command.
static size_t vn::protocol::uart::Packet::genReadSynchronizationControl ( ErrorDetectionMode  errorDetectionMode,
char *  buffer,
size_t  size 
)
static

Generates a command to read the Synchronization Control register on a VectorNav sensor.

Parameters
[in]errorDetectionModeThe type of error-detection to use in generating the command.
[in]bufferCaller provided buffer to place the generated command.
[in]sizeNumber of bytes available in the provided buffer.
Returns
The total number bytes in the generated command.
static size_t vn::protocol::uart::Packet::genReadSynchronizationStatus ( ErrorDetectionMode  errorDetectionMode,
char *  buffer,
size_t  size 
)
static

Generates a command to read the Synchronization Status register on a VectorNav sensor.

Parameters
[in]errorDetectionModeThe type of error-detection to use in generating the command.
[in]bufferCaller provided buffer to place the generated command.
[in]sizeNumber of bytes available in the provided buffer.
Returns
The total number bytes in the generated command.
static size_t vn::protocol::uart::Packet::genReadUserTag ( ErrorDetectionMode  errorDetectionMode,
char *  buffer,
size_t  size 
)
static

Generates a command to read the User Tag register on a VectorNav sensor.

Parameters
[in]errorDetectionModeThe type of error-detection to use in generating the command.
[in]bufferCaller provided buffer to place the generated command.
[in]sizeNumber of bytes available in the provided buffer.
Returns
The total number bytes in the generated command.
static size_t vn::protocol::uart::Packet::genReadVelocityCompensationControl ( ErrorDetectionMode  errorDetectionMode,
char *  buffer,
size_t  size 
)
static

Generates a command to read the Velocity Compensation Control register on a VectorNav sensor.

Parameters
[in]errorDetectionModeThe type of error-detection to use in generating the command.
[in]bufferCaller provided buffer to place the generated command.
[in]sizeNumber of bytes available in the provided buffer.
Returns
The total number bytes in the generated command.
static size_t vn::protocol::uart::Packet::genReadVelocityCompensationMeasurement ( ErrorDetectionMode  errorDetectionMode,
char *  buffer,
size_t  size 
)
static

Generates a command to read the Velocity Compensation Measurement register on a VectorNav sensor.

Parameters
[in]errorDetectionModeThe type of error-detection to use in generating the command.
[in]bufferCaller provided buffer to place the generated command.
[in]sizeNumber of bytes available in the provided buffer.
Returns
The total number bytes in the generated command.
static size_t vn::protocol::uart::Packet::genReadVelocityCompensationStatus ( ErrorDetectionMode  errorDetectionMode,
char *  buffer,
size_t  size 
)
static

Generates a command to read the Velocity Compensation Status register on a VectorNav sensor.

Parameters
[in]errorDetectionModeThe type of error-detection to use in generating the command.
[in]bufferCaller provided buffer to place the generated command.
[in]sizeNumber of bytes available in the provided buffer.
Returns
The total number bytes in the generated command.
static size_t vn::protocol::uart::Packet::genReadVpeAccelerometerAdvancedTuning ( ErrorDetectionMode  errorDetectionMode,
char *  buffer,
size_t  size 
)
static

Generates a command to read the VPE Accelerometer Advanced Tuning register on a VectorNav sensor.

Parameters
[in]errorDetectionModeThe type of error-detection to use in generating the command.
[in]bufferCaller provided buffer to place the generated command.
[in]sizeNumber of bytes available in the provided buffer.
Returns
The total number bytes in the generated command.
static size_t vn::protocol::uart::Packet::genReadVpeAccelerometerBasicTuning ( ErrorDetectionMode  errorDetectionMode,
char *  buffer,
size_t  size 
)
static

Generates a command to read the VPE Accelerometer Basic Tuning register on a VectorNav sensor.

Parameters
[in]errorDetectionModeThe type of error-detection to use in generating the command.
[in]bufferCaller provided buffer to place the generated command.
[in]sizeNumber of bytes available in the provided buffer.
Returns
The total number bytes in the generated command.
static size_t vn::protocol::uart::Packet::genReadVpeBasicControl ( ErrorDetectionMode  errorDetectionMode,
char *  buffer,
size_t  size 
)
static

Generates a command to read the VPE Basic Control register on a VectorNav sensor.

Parameters
[in]errorDetectionModeThe type of error-detection to use in generating the command.
[in]bufferCaller provided buffer to place the generated command.
[in]sizeNumber of bytes available in the provided buffer.
Returns
The total number bytes in the generated command.
static size_t vn::protocol::uart::Packet::genReadVpeGyroBasicTuning ( ErrorDetectionMode  errorDetectionMode,
char *  buffer,
size_t  size 
)
static

Generates a command to read the VPE Gyro Basic Tuning register on a VectorNav sensor.

Parameters
[in]errorDetectionModeThe type of error-detection to use in generating the command.
[in]bufferCaller provided buffer to place the generated command.
[in]sizeNumber of bytes available in the provided buffer.
Returns
The total number bytes in the generated command.
static size_t vn::protocol::uart::Packet::genReadVpeMagnetometerAdvancedTuning ( ErrorDetectionMode  errorDetectionMode,
char *  buffer,
size_t  size 
)
static

Generates a command to read the VPE Magnetometer Advanced Tuning register on a VectorNav sensor.

Parameters
[in]errorDetectionModeThe type of error-detection to use in generating the command.
[in]bufferCaller provided buffer to place the generated command.
[in]sizeNumber of bytes available in the provided buffer.
Returns
The total number bytes in the generated command.
static size_t vn::protocol::uart::Packet::genReadVpeMagnetometerBasicTuning ( ErrorDetectionMode  errorDetectionMode,
char *  buffer,
size_t  size 
)
static

Generates a command to read the VPE Magnetometer Basic Tuning register on a VectorNav sensor.

Parameters
[in]errorDetectionModeThe type of error-detection to use in generating the command.
[in]bufferCaller provided buffer to place the generated command.
[in]sizeNumber of bytes available in the provided buffer.
Returns
The total number bytes in the generated command.
static size_t vn::protocol::uart::Packet::genReadYawPitchRoll ( ErrorDetectionMode  errorDetectionMode,
char *  buffer,
size_t  size 
)
static

Generates a command to read the Yaw Pitch Roll register on a VectorNav sensor.

Parameters
[in]errorDetectionModeThe type of error-detection to use in generating the command.
[in]bufferCaller provided buffer to place the generated command.
[in]sizeNumber of bytes available in the provided buffer.
Returns
The total number bytes in the generated command.
static size_t vn::protocol::uart::Packet::genReadYawPitchRollMagneticAccelerationAndAngularRates ( ErrorDetectionMode  errorDetectionMode,
char *  buffer,
size_t  size 
)
static

Generates a command to read the Yaw, Pitch, Roll, Magnetic, Acceleration and Angular Rates register on a VectorNav sensor.

Parameters
[in]errorDetectionModeThe type of error-detection to use in generating the command.
[in]bufferCaller provided buffer to place the generated command.
[in]sizeNumber of bytes available in the provided buffer.
Returns
The total number bytes in the generated command.
static size_t vn::protocol::uart::Packet::genReadYawPitchRollTrueBodyAccelerationAndAngularRates ( ErrorDetectionMode  errorDetectionMode,
char *  buffer,
size_t  size 
)
static

Generates a command to read the Yaw, Pitch, Roll, True Body Acceleration and Angular Rates register on a VectorNav sensor.

Parameters
[in]errorDetectionModeThe type of error-detection to use in generating the command.
[in]bufferCaller provided buffer to place the generated command.
[in]sizeNumber of bytes available in the provided buffer.
Returns
The total number bytes in the generated command.
static size_t vn::protocol::uart::Packet::genReadYawPitchRollTrueInertialAccelerationAndAngularRates ( ErrorDetectionMode  errorDetectionMode,
char *  buffer,
size_t  size 
)
static

Generates a command to read the Yaw, Pitch, Roll, True Inertial Acceleration and Angular Rates register on a VectorNav sensor.

Parameters
[in]errorDetectionModeThe type of error-detection to use in generating the command.
[in]bufferCaller provided buffer to place the generated command.
[in]sizeNumber of bytes available in the provided buffer.
Returns
The total number bytes in the generated command.
static size_t vn::protocol::uart::Packet::genReset ( ErrorDetectionMode  errorDetectionMode,
char *  buffer,
size_t  size 
)
static

Generates a command to reset the sensor.

Parameters
[in]errorDetectionModeThe type of error-detection to use in generating the command.
[in]bufferCaller provided buffer to place the generated command.
[in]sizeNumber of bytes available in the provided buffer.
Returns
The total number bytes in the generated command.
static size_t vn::protocol::uart::Packet::genRestoreFactorySettings ( ErrorDetectionMode  errorDetectionMode,
char *  buffer,
size_t  size 
)
static

Generates a command to retore factory settings.

Parameters
[in]errorDetectionModeThe type of error-detection to use in generating the command.
[in]bufferCaller provided buffer to place the generated command.
[in]sizeNumber of bytes available in the provided buffer.
Returns
The total number bytes in the generated command.
static size_t vn::protocol::uart::Packet::genSetGyroBias ( ErrorDetectionMode  errorDetectionMode,
char *  buffer,
size_t  size 
)
static

Generates a command to set the gyro bias.

Parameters
[in]errorDetectionModeThe type of error-detection to use in generating the command.
[in]bufferCaller provided buffer to place the generated command.
[in]sizeNumber of bytes available in the provided buffer.
Returns
The total number bytes in the generated command.
static size_t vn::protocol::uart::Packet::genTare ( ErrorDetectionMode  errorDetectionMode,
char *  buffer,
size_t  size 
)
static

Generates a command to tare the sensor.

Parameters
[in]errorDetectionModeThe type of error-detection to use in generating the command.
[in]bufferCaller provided buffer to place the generated command.
[in]sizeNumber of bytes available in the provided buffer.
Returns
The total number bytes in the generated command.
static size_t vn::protocol::uart::Packet::genWriteAccelerationCompensation ( ErrorDetectionMode  errorDetectionMode,
char *  buffer,
size_t  size,
vn::math::mat3f  c,
vn::math::vec3f  b 
)
static

Generates a command to write to the Acceleration Compensation register on a VectorNav sensor.

Parameters
[in]errorDetectionModeThe type of error-detection to use in generating the command.
[in]bufferCaller provided buffer to place the generated command.
[in]sizeNumber of bytes available in the provided buffer.
[in]cThe register's C field.
[in]bThe register's B field.
Returns
The total number bytes in the generated command.
static size_t vn::protocol::uart::Packet::genWriteAsyncDataOutputFrequency ( ErrorDetectionMode  errorDetectionMode,
char *  buffer,
size_t  size,
uint32_t  adof,
uint8_t  port 
)
static

Generates a command to write to the Async Data Output Frequency register on a VectorNav sensor.

Parameters
[in]errorDetectionModeThe type of error-detection to use in generating the command.
[in]bufferCaller provided buffer to place the generated command.
[in]sizeNumber of bytes available in the provided buffer.
[in]adofThe register's ADOF field.
[in]portThe port to write to.
Returns
The total number bytes in the generated command.
static size_t vn::protocol::uart::Packet::genWriteAsyncDataOutputFrequency ( ErrorDetectionMode  errorDetectionMode,
char *  buffer,
size_t  size,
uint32_t  adof 
)
static

Generates a command to write to the Async Data Output Frequency register on a VectorNav sensor.

Parameters
[in]errorDetectionModeThe type of error-detection to use in generating the command.
[in]bufferCaller provided buffer to place the generated command.
[in]sizeNumber of bytes available in the provided buffer.
[in]adofThe register's ADOF field.
Returns
The total number bytes in the generated command.
static size_t vn::protocol::uart::Packet::genWriteAsyncDataOutputType ( ErrorDetectionMode  errorDetectionMode,
char *  buffer,
size_t  size,
uint32_t  ador,
uint8_t  port 
)
static

Generates a command to write to the Async Data Output Type register on a VectorNav sensor.

Parameters
[in]errorDetectionModeThe type of error-detection to use in generating the command.
[in]bufferCaller provided buffer to place the generated command.
[in]sizeNumber of bytes available in the provided buffer.
[in]adorThe register's ADOR field.
[in]portThe port to write to.
Returns
The total number bytes in the generated command.
static size_t vn::protocol::uart::Packet::genWriteAsyncDataOutputType ( ErrorDetectionMode  errorDetectionMode,
char *  buffer,
size_t  size,
uint32_t  ador 
)
static

Generates a command to write to the Async Data Output Type register on a VectorNav sensor.

Parameters
[in]errorDetectionModeThe type of error-detection to use in generating the command.
[in]bufferCaller provided buffer to place the generated command.
[in]sizeNumber of bytes available in the provided buffer.
[in]adorThe register's ADOR field.
Returns
The total number bytes in the generated command.
static size_t vn::protocol::uart::Packet::genWriteBinaryOutput1 ( ErrorDetectionMode  errorDetectionMode,
char *  buffer,
size_t  size,
uint16_t  asyncMode,
uint16_t  rateDivisor,
uint16_t  commonField,
uint16_t  timeField,
uint16_t  imuField,
uint16_t  gpsField,
uint16_t  attitudeField,
uint16_t  insField 
)
static

Generates a command to write to the Binary Output 1 register on a VectorNav sensor.

The field outputGroup available on the sensor's register is not necessary as this method will compute the necessary value from the provided data fields.

Parameters
[in]errorDetectionModeThe type of error-detection to use in generating the command.
[in]bufferCaller provided buffer to place the generated command.
[in]sizeNumber of bytes available in the provided buffer.
[in]asyncModeThe register's asyncMode field.
[in]rateDivisorThe register's rateDivisor field.
[in]commonFieldThe register's Group 1 (Common) field.
[in]timeFieldThe register's Group 2 (Time) field.
[in]imuFieldThe register's Group 3 (IMU) field.
[in]gpsFieldThe register's Group 4 (GPS) field.
[in]attitudeFieldThe register's Group 5 (Attitude) field.
[in]insFieldThe register's Group 6 (INS) field.
Returns
The total number bytes in the generated command.
static size_t vn::protocol::uart::Packet::genWriteBinaryOutput2 ( ErrorDetectionMode  errorDetectionMode,
char *  buffer,
size_t  size,
uint16_t  asyncMode,
uint16_t  rateDivisor,
uint16_t  commonField,
uint16_t  timeField,
uint16_t  imuField,
uint16_t  gpsField,
uint16_t  attitudeField,
uint16_t  insField 
)
static

Generates a command to write to the Binary Output 2 register on a VectorNav sensor.

The field outputGroup available on the sensor's register is not necessary as this method will compute the necessary value from the provided data fields.

Parameters
[in]errorDetectionModeThe type of error-detection to use in generating the command.
[in]bufferCaller provided buffer to place the generated command.
[in]sizeNumber of bytes available in the provided buffer.
[in]asyncModeThe register's asyncMode field.
[in]rateDivisorThe register's rateDivisor field.
[in]commonFieldThe register's Group 1 (Common) field.
[in]timeFieldThe register's Group 2 (Time) field.
[in]imuFieldThe register's Group 3 (IMU) field.
[in]gpsFieldThe register's Group 4 (GPS) field.
[in]attitudeFieldThe register's Group 5 (Attitude) field.
[in]insFieldThe register's Group 6 (INS) field.
Returns
The total number bytes in the generated command.
static size_t vn::protocol::uart::Packet::genWriteBinaryOutput3 ( ErrorDetectionMode  errorDetectionMode,
char *  buffer,
size_t  size,
uint16_t  asyncMode,
uint16_t  rateDivisor,
uint16_t  commonField,
uint16_t  timeField,
uint16_t  imuField,
uint16_t  gpsField,
uint16_t  attitudeField,
uint16_t  insField 
)
static

Generates a command to write to the Binary Output 3 register on a VectorNav sensor.

The field outputGroup available on the sensor's register is not necessary as this method will compute the necessary value from the provided data fields.

Parameters
[in]errorDetectionModeThe type of error-detection to use in generating the command.
[in]bufferCaller provided buffer to place the generated command.
[in]sizeNumber of bytes available in the provided buffer.
[in]asyncModeThe register's asyncMode field.
[in]rateDivisorThe register's rateDivisor field.
[in]commonFieldThe register's Group 1 (Common) field.
[in]timeFieldThe register's Group 2 (Time) field.
[in]imuFieldThe register's Group 3 (IMU) field.
[in]gpsFieldThe register's Group 4 (GPS) field.
[in]attitudeFieldThe register's Group 5 (Attitude) field.
[in]insFieldThe register's Group 6 (INS) field.
Returns
The total number bytes in the generated command.
static size_t vn::protocol::uart::Packet::genWriteCommunicationProtocolControl ( ErrorDetectionMode  errorDetectionMode,
char *  buffer,
size_t  size,
uint8_t  serialCount,
uint8_t  serialStatus,
uint8_t  spiCount,
uint8_t  spiStatus,
uint8_t  serialChecksum,
uint8_t  spiChecksum,
uint8_t  errorMode 
)
static

Generates a command to write to the Communication Protocol Control register on a VectorNav sensor.

Parameters
[in]errorDetectionModeThe type of error-detection to use in generating the command.
[in]bufferCaller provided buffer to place the generated command.
[in]sizeNumber of bytes available in the provided buffer.
[in]serialCountThe register's SerialCount field.
[in]serialStatusThe register's SerialStatus field.
[in]spiCountThe register's SPICount field.
[in]spiStatusThe register's SPIStatus field.
[in]serialChecksumThe register's SerialChecksum field.
[in]spiChecksumThe register's SPIChecksum field.
[in]errorModeThe register's ErrorMode field.
Returns
The total number bytes in the generated command.
static size_t vn::protocol::uart::Packet::genWriteDeltaThetaAndDeltaVelocityConfiguration ( ErrorDetectionMode  errorDetectionMode,
char *  buffer,
size_t  size,
uint8_t  integrationFrame,
uint8_t  gyroCompensation,
uint8_t  accelCompensation 
)
static

Generates a command to write to the Delta Theta and Delta Velocity Configuration register on a VectorNav sensor.

Parameters
[in]errorDetectionModeThe type of error-detection to use in generating the command.
[in]bufferCaller provided buffer to place the generated command.
[in]sizeNumber of bytes available in the provided buffer.
[in]integrationFrameThe register's IntegrationFrame field.
[in]gyroCompensationThe register's GyroCompensation field.
[in]accelCompensationThe register's AccelCompensation field.
Returns
The total number bytes in the generated command.
static size_t vn::protocol::uart::Packet::genWriteFilterActiveTuningParameters ( ErrorDetectionMode  errorDetectionMode,
char *  buffer,
size_t  size,
float  magneticDisturbanceGain,
float  accelerationDisturbanceGain,
float  magneticDisturbanceMemory,
float  accelerationDisturbanceMemory 
)
static

Generates a command to write to the Filter Active Tuning Parameters register on a VectorNav sensor.

Parameters
[in]errorDetectionModeThe type of error-detection to use in generating the command.
[in]bufferCaller provided buffer to place the generated command.
[in]sizeNumber of bytes available in the provided buffer.
[in]magneticDisturbanceGainThe register's Magnetic Disturbance Gain field.
[in]accelerationDisturbanceGainThe register's Acceleration Disturbance Gain field.
[in]magneticDisturbanceMemoryThe register's Magnetic Disturbance Memory field.
[in]accelerationDisturbanceMemoryThe register's Acceleration Disturbance Memory field.
Returns
The total number bytes in the generated command.
static size_t vn::protocol::uart::Packet::genWriteFilterBasicControl ( ErrorDetectionMode  errorDetectionMode,
char *  buffer,
size_t  size,
uint8_t  magMode,
uint8_t  extMagMode,
uint8_t  extAccMode,
uint8_t  extGyroMode,
vn::math::vec3f  gyroLimit 
)
static

Generates a command to write to the Filter Basic Control register on a VectorNav sensor.

Parameters
[in]errorDetectionModeThe type of error-detection to use in generating the command.
[in]bufferCaller provided buffer to place the generated command.
[in]sizeNumber of bytes available in the provided buffer.
[in]magModeThe register's MagMode field.
[in]extMagModeThe register's ExtMagMode field.
[in]extAccModeThe register's ExtAccMode field.
[in]extGyroModeThe register's ExtGyroMode field.
[in]gyroLimitThe register's GyroLimit field.
Returns
The total number bytes in the generated command.
static size_t vn::protocol::uart::Packet::genWriteFilterMeasurementsVarianceParameters ( ErrorDetectionMode  errorDetectionMode,
char *  buffer,
size_t  size,
float  angularWalkVariance,
vn::math::vec3f  angularRateVariance,
vn::math::vec3f  magneticVariance,
vn::math::vec3f  accelerationVariance 
)
static

Generates a command to write to the Filter Measurements Variance Parameters register on a VectorNav sensor.

Parameters
[in]errorDetectionModeThe type of error-detection to use in generating the command.
[in]bufferCaller provided buffer to place the generated command.
[in]sizeNumber of bytes available in the provided buffer.
[in]angularWalkVarianceThe register's Angular Walk Variance field.
[in]angularRateVarianceThe register's Angular Rate Variance field.
[in]magneticVarianceThe register's Magnetic Variance field.
[in]accelerationVarianceThe register's Acceleration Variance field.
Returns
The total number bytes in the generated command.
static size_t vn::protocol::uart::Packet::genWriteFilterStartupGyroBias ( ErrorDetectionMode  errorDetectionMode,
char *  buffer,
size_t  size,
vn::math::vec3f  bias 
)
static

Generates a command to write to the Filter Startup Gyro Bias register on a VectorNav sensor.

Parameters
[in]errorDetectionModeThe type of error-detection to use in generating the command.
[in]bufferCaller provided buffer to place the generated command.
[in]sizeNumber of bytes available in the provided buffer.
[in]biasThe register's Bias field.
Returns
The total number bytes in the generated command.
static size_t vn::protocol::uart::Packet::genWriteGpsAntennaOffset ( ErrorDetectionMode  errorDetectionMode,
char *  buffer,
size_t  size,
vn::math::vec3f  position 
)
static

Generates a command to write to the GPS Antenna Offset register on a VectorNav sensor.

Parameters
[in]errorDetectionModeThe type of error-detection to use in generating the command.
[in]bufferCaller provided buffer to place the generated command.
[in]sizeNumber of bytes available in the provided buffer.
[in]positionThe register's Position field.
Returns
The total number bytes in the generated command.
static size_t vn::protocol::uart::Packet::genWriteGpsCompassBaseline ( ErrorDetectionMode  errorDetectionMode,
char *  buffer,
size_t  size,
vn::math::vec3f  position,
vn::math::vec3f  uncertainty 
)
static

Generates a command to write to the GPS Compass Baseline register on a VectorNav sensor.

Parameters
[in]errorDetectionModeThe type of error-detection to use in generating the command.
[in]bufferCaller provided buffer to place the generated command.
[in]sizeNumber of bytes available in the provided buffer.
[in]positionThe register's Position field.
[in]uncertaintyThe register's Uncertainty field.
Returns
The total number bytes in the generated command.
static size_t vn::protocol::uart::Packet::genWriteGpsConfiguration ( ErrorDetectionMode  errorDetectionMode,
char *  buffer,
size_t  size,
uint8_t  mode,
uint8_t  ppsSource 
)
static

Generates a command to write to the GPS Configuration register on a VectorNav sensor.

Parameters
[in]errorDetectionModeThe type of error-detection to use in generating the command.
[in]bufferCaller provided buffer to place the generated command.
[in]sizeNumber of bytes available in the provided buffer.
[in]modeThe register's Mode field.
[in]ppsSourceThe register's PpsSource field.
Returns
The total number bytes in the generated command.
static size_t vn::protocol::uart::Packet::genWriteGyroCompensation ( ErrorDetectionMode  errorDetectionMode,
char *  buffer,
size_t  size,
vn::math::mat3f  c,
vn::math::vec3f  b 
)
static

Generates a command to write to the Gyro Compensation register on a VectorNav sensor.

Parameters
[in]errorDetectionModeThe type of error-detection to use in generating the command.
[in]bufferCaller provided buffer to place the generated command.
[in]sizeNumber of bytes available in the provided buffer.
[in]cThe register's C field.
[in]bThe register's B field.
Returns
The total number bytes in the generated command.
static size_t vn::protocol::uart::Packet::genWriteImuFilteringConfiguration ( ErrorDetectionMode  errorDetectionMode,
char *  buffer,
size_t  size,
uint16_t  magWindowSize,
uint16_t  accelWindowSize,
uint16_t  gyroWindowSize,
uint16_t  tempWindowSize,
uint16_t  presWindowSize,
uint8_t  magFilterMode,
uint8_t  accelFilterMode,
uint8_t  gyroFilterMode,
uint8_t  tempFilterMode,
uint8_t  presFilterMode 
)
static

Generates a command to write to the IMU Filtering Configuration register on a VectorNav sensor.

Parameters
[in]errorDetectionModeThe type of error-detection to use in generating the command.
[in]bufferCaller provided buffer to place the generated command.
[in]sizeNumber of bytes available in the provided buffer.
[in]magWindowSizeThe register's MagWindowSize field.
[in]accelWindowSizeThe register's AccelWindowSize field.
[in]gyroWindowSizeThe register's GyroWindowSize field.
[in]tempWindowSizeThe register's TempWindowSize field.
[in]presWindowSizeThe register's PresWindowSize field.
[in]magFilterModeThe register's MagFilterMode field.
[in]accelFilterModeThe register's AccelFilterMode field.
[in]gyroFilterModeThe register's GyroFilterMode field.
[in]tempFilterModeThe register's TempFilterMode field.
[in]presFilterModeThe register's PresFilterMode field.
Returns
The total number bytes in the generated command.
static size_t vn::protocol::uart::Packet::genWriteImuRateConfiguration ( ErrorDetectionMode  errorDetectionMode,
char *  buffer,
size_t  size,
uint16_t  imuRate,
uint16_t  navDivisor,
float  filterTargetRate,
float  filterMinRate 
)
static

Generates a command to write to the IMU Rate Configuration register on a VectorNav sensor.

Parameters
[in]errorDetectionModeThe type of error-detection to use in generating the command.
[in]bufferCaller provided buffer to place the generated command.
[in]sizeNumber of bytes available in the provided buffer.
[in]imuRateThe register's imuRate field.
[in]navDivisorThe register's NavDivisor field.
[in]filterTargetRateThe register's filterTargetRate field.
[in]filterMinRateThe register's filterMinRate field.
Returns
The total number bytes in the generated command.
static size_t vn::protocol::uart::Packet::genWriteIndoorHeadingModeControl ( ErrorDetectionMode  errorDetectionMode,
char *  buffer,
size_t  size,
float  maxRateError 
)
static

Generates a command to write to the Indoor Heading Mode Control register on a VectorNav sensor.

Parameters
[in]errorDetectionModeThe type of error-detection to use in generating the command.
[in]bufferCaller provided buffer to place the generated command.
[in]sizeNumber of bytes available in the provided buffer.
[in]maxRateErrorThe register's Max Rate Error field.
Returns
The total number bytes in the generated command.
static size_t vn::protocol::uart::Packet::genWriteInsAdvancedConfiguration ( ErrorDetectionMode  errorDetectionMode,
char *  buffer,
size_t  size,
uint8_t  useMag,
uint8_t  usePres,
uint8_t  posAtt,
uint8_t  velAtt,
uint8_t  velBias,
uint8_t  useFoam,
uint8_t  gpsCovType,
uint8_t  velCount,
float  velInit,
float  moveOrigin,
float  gpsTimeout,
float  deltaLimitPos,
float  deltaLimitVel,
float  minPosUncertainty,
float  minVelUncertainty 
)
static

Generates a command to write to the INS Advanced Configuration register on a VectorNav sensor.

Parameters
[in]errorDetectionModeThe type of error-detection to use in generating the command.
[in]bufferCaller provided buffer to place the generated command.
[in]sizeNumber of bytes available in the provided buffer.
[in]useMagThe register's UseMag field.
[in]usePresThe register's UsePres field.
[in]posAttThe register's PosAtt field.
[in]velAttThe register's VelAtt field.
[in]velBiasThe register's VelBias field.
[in]useFoamThe register's UseFoam field.
[in]gpsCovTypeThe register's GPSCovType field.
[in]velCountThe register's VelCount field.
[in]velInitThe register's VelInit field.
[in]moveOriginThe register's MoveOrigin field.
[in]gpsTimeoutThe register's GPSTimeout field.
[in]deltaLimitPosThe register's DeltaLimitPos field.
[in]deltaLimitVelThe register's DeltaLimitVel field.
[in]minPosUncertaintyThe register's MinPosUncertainty field.
[in]minVelUncertaintyThe register's MinVelUncertainty field.
Returns
The total number bytes in the generated command.
static size_t vn::protocol::uart::Packet::genWriteInsBasicConfiguration ( ErrorDetectionMode  errorDetectionMode,
char *  buffer,
size_t  size,
uint8_t  scenario,
uint8_t  ahrsAiding,
uint8_t  estBaseline 
)
static

Generates a command to write to the INS Basic Configuration register on a VectorNav sensor.

Parameters
[in]errorDetectionModeThe type of error-detection to use in generating the command.
[in]bufferCaller provided buffer to place the generated command.
[in]sizeNumber of bytes available in the provided buffer.
[in]scenarioThe register's Scenario field.
[in]ahrsAidingThe register's AhrsAiding field.
[in]estBaselineThe register's EstBaseline field.
Returns
The total number bytes in the generated command.
static size_t vn::protocol::uart::Packet::genWriteMagneticAndGravityReferenceVectors ( ErrorDetectionMode  errorDetectionMode,
char *  buffer,
size_t  size,
vn::math::vec3f  magRef,
vn::math::vec3f  accRef 
)
static

Generates a command to write to the Magnetic and Gravity Reference Vectors register on a VectorNav sensor.

Parameters
[in]errorDetectionModeThe type of error-detection to use in generating the command.
[in]bufferCaller provided buffer to place the generated command.
[in]sizeNumber of bytes available in the provided buffer.
[in]magRefThe register's MagRef field.
[in]accRefThe register's AccRef field.
Returns
The total number bytes in the generated command.
static size_t vn::protocol::uart::Packet::genWriteMagnetometerCalibrationControl ( ErrorDetectionMode  errorDetectionMode,
char *  buffer,
size_t  size,
uint8_t  hsiMode,
uint8_t  hsiOutput,
uint8_t  convergeRate 
)
static

Generates a command to write to the Magnetometer Calibration Control register on a VectorNav sensor.

Parameters
[in]errorDetectionModeThe type of error-detection to use in generating the command.
[in]bufferCaller provided buffer to place the generated command.
[in]sizeNumber of bytes available in the provided buffer.
[in]hsiModeThe register's HSIMode field.
[in]hsiOutputThe register's HSIOutput field.
[in]convergeRateThe register's ConvergeRate field.
Returns
The total number bytes in the generated command.
static size_t vn::protocol::uart::Packet::genWriteMagnetometerCompensation ( ErrorDetectionMode  errorDetectionMode,
char *  buffer,
size_t  size,
vn::math::mat3f  c,
vn::math::vec3f  b 
)
static

Generates a command to write to the Magnetometer Compensation register on a VectorNav sensor.

Parameters
[in]errorDetectionModeThe type of error-detection to use in generating the command.
[in]bufferCaller provided buffer to place the generated command.
[in]sizeNumber of bytes available in the provided buffer.
[in]cThe register's C field.
[in]bThe register's B field.
Returns
The total number bytes in the generated command.
static size_t vn::protocol::uart::Packet::genWriteReferenceFrameRotation ( ErrorDetectionMode  errorDetectionMode,
char *  buffer,
size_t  size,
vn::math::mat3f  c 
)
static

Generates a command to write to the Reference Frame Rotation register on a VectorNav sensor.

Parameters
[in]errorDetectionModeThe type of error-detection to use in generating the command.
[in]bufferCaller provided buffer to place the generated command.
[in]sizeNumber of bytes available in the provided buffer.
[in]cThe register's C field.
Returns
The total number bytes in the generated command.
static size_t vn::protocol::uart::Packet::genWriteReferenceVectorConfiguration ( ErrorDetectionMode  errorDetectionMode,
char *  buffer,
size_t  size,
uint8_t  useMagModel,
uint8_t  useGravityModel,
uint32_t  recalcThreshold,
float  year,
vn::math::vec3d  position 
)
static

Generates a command to write to the Reference Vector Configuration register on a VectorNav sensor.

Parameters
[in]errorDetectionModeThe type of error-detection to use in generating the command.
[in]bufferCaller provided buffer to place the generated command.
[in]sizeNumber of bytes available in the provided buffer.
[in]useMagModelThe register's UseMagModel field.
[in]useGravityModelThe register's UseGravityModel field.
[in]recalcThresholdThe register's RecalcThreshold field.
[in]yearThe register's Year field.
[in]positionThe register's Position field.
Returns
The total number bytes in the generated command.
static size_t vn::protocol::uart::Packet::genWriteSerialBaudRate ( ErrorDetectionMode  errorDetectionMode,
char *  buffer,
size_t  size,
uint32_t  baudrate,
uint8_t  port 
)
static

Generates a command to write to the Serial Baud Rate register on a VectorNav sensor.

Parameters
[in]errorDetectionModeThe type of error-detection to use in generating the command.
[in]bufferCaller provided buffer to place the generated command.
[in]sizeNumber of bytes available in the provided buffer.
[in]baudrateThe register's Baud Rate field.
[in]portThe port to write to.
Returns
The total number bytes in the generated command.
static size_t vn::protocol::uart::Packet::genWriteSerialBaudRate ( ErrorDetectionMode  errorDetectionMode,
char *  buffer,
size_t  size,
uint32_t  baudrate 
)
static

Generates a command to write to the Serial Baud Rate register on a VectorNav sensor.

Parameters
[in]errorDetectionModeThe type of error-detection to use in generating the command.
[in]bufferCaller provided buffer to place the generated command.
[in]sizeNumber of bytes available in the provided buffer.
[in]baudrateThe register's Baud Rate field.
Returns
The total number bytes in the generated command.
static size_t vn::protocol::uart::Packet::genWriteSettings ( ErrorDetectionMode  errorDetectionMode,
char *  buffer,
size_t  size 
)
static

Generates a command to write sensor settings to non-volatile memory.

Parameters
[in]errorDetectionModeThe type of error-detection to use in generating the command.
[in]bufferCaller provided buffer to place the generated command.
[in]sizeNumber of bytes available in the provided buffer.
Returns
The total number bytes in the generated command.
static size_t vn::protocol::uart::Packet::genWriteStartupFilterBiasEstimate ( ErrorDetectionMode  errorDetectionMode,
char *  buffer,
size_t  size,
vn::math::vec3f  gyroBias,
vn::math::vec3f  accelBias,
float  pressureBias 
)
static

Generates a command to write to the Startup Filter Bias Estimate register on a VectorNav sensor.

Parameters
[in]errorDetectionModeThe type of error-detection to use in generating the command.
[in]bufferCaller provided buffer to place the generated command.
[in]sizeNumber of bytes available in the provided buffer.
[in]gyroBiasThe register's GyroBias field.
[in]accelBiasThe register's AccelBias field.
[in]pressureBiasThe register's PressureBias field.
Returns
The total number bytes in the generated command.
static size_t vn::protocol::uart::Packet::genWriteSynchronizationControl ( ErrorDetectionMode  errorDetectionMode,
char *  buffer,
size_t  size,
uint8_t  syncInMode,
uint8_t  syncInEdge,
uint16_t  syncInSkipFactor,
uint8_t  syncOutMode,
uint8_t  syncOutPolarity,
uint16_t  syncOutSkipFactor,
uint32_t  syncOutPulseWidth 
)
static

Generates a command to write to the Synchronization Control register on a VectorNav sensor.

Parameters
[in]errorDetectionModeThe type of error-detection to use in generating the command.
[in]bufferCaller provided buffer to place the generated command.
[in]sizeNumber of bytes available in the provided buffer.
[in]syncInModeThe register's SyncInMode field.
[in]syncInEdgeThe register's SyncInEdge field.
[in]syncInSkipFactorThe register's SyncInSkipFactor field.
[in]syncOutModeThe register's SyncOutMode field.
[in]syncOutPolarityThe register's SyncOutPolarity field.
[in]syncOutSkipFactorThe register's SyncOutSkipFactor field.
[in]syncOutPulseWidthThe register's SyncOutPulseWidth field.
Returns
The total number bytes in the generated command.
static size_t vn::protocol::uart::Packet::genWriteSynchronizationStatus ( ErrorDetectionMode  errorDetectionMode,
char *  buffer,
size_t  size,
uint32_t  syncInCount,
uint32_t  syncInTime,
uint32_t  syncOutCount 
)
static

Generates a command to write to the Synchronization Status register on a VectorNav sensor.

Parameters
[in]errorDetectionModeThe type of error-detection to use in generating the command.
[in]bufferCaller provided buffer to place the generated command.
[in]sizeNumber of bytes available in the provided buffer.
[in]syncInCountThe register's SyncInCount field.
[in]syncInTimeThe register's SyncInTime field.
[in]syncOutCountThe register's SyncOutCount field.
Returns
The total number bytes in the generated command.
static size_t vn::protocol::uart::Packet::genWriteUserTag ( ErrorDetectionMode  errorDetectionMode,
char *  buffer,
size_t  size,
std::string  tag 
)
static

Generates a command to write to the User Tag register on a VectorNav sensor.

Parameters
[in]errorDetectionModeThe type of error-detection to use in generating the command.
[in]bufferCaller provided buffer to place the generated command.
[in]sizeNumber of bytes available in the provided buffer.
[in]tagThe register's Tag field.
Returns
The total number bytes in the generated command.
static size_t vn::protocol::uart::Packet::genWriteVelocityCompensationControl ( ErrorDetectionMode  errorDetectionMode,
char *  buffer,
size_t  size,
uint8_t  mode,
float  velocityTuning,
float  rateTuning 
)
static

Generates a command to write to the Velocity Compensation Control register on a VectorNav sensor.

Parameters
[in]errorDetectionModeThe type of error-detection to use in generating the command.
[in]bufferCaller provided buffer to place the generated command.
[in]sizeNumber of bytes available in the provided buffer.
[in]modeThe register's Mode field.
[in]velocityTuningThe register's VelocityTuning field.
[in]rateTuningThe register's RateTuning field.
Returns
The total number bytes in the generated command.
static size_t vn::protocol::uart::Packet::genWriteVelocityCompensationMeasurement ( ErrorDetectionMode  errorDetectionMode,
char *  buffer,
size_t  size,
vn::math::vec3f  velocity 
)
static

Generates a command to write to the Velocity Compensation Measurement register on a VectorNav sensor.

Parameters
[in]errorDetectionModeThe type of error-detection to use in generating the command.
[in]bufferCaller provided buffer to place the generated command.
[in]sizeNumber of bytes available in the provided buffer.
[in]velocityThe register's Velocity field.
Returns
The total number bytes in the generated command.
static size_t vn::protocol::uart::Packet::genWriteVpeAccelerometerAdvancedTuning ( ErrorDetectionMode  errorDetectionMode,
char *  buffer,
size_t  size,
vn::math::vec3f  minFiltering,
vn::math::vec3f  maxFiltering,
float  maxAdaptRate,
float  disturbanceWindow,
float  maxTuning 
)
static

Generates a command to write to the VPE Accelerometer Advanced Tuning register on a VectorNav sensor.

Parameters
[in]errorDetectionModeThe type of error-detection to use in generating the command.
[in]bufferCaller provided buffer to place the generated command.
[in]sizeNumber of bytes available in the provided buffer.
[in]minFilteringThe register's MinFiltering field.
[in]maxFilteringThe register's MaxFiltering field.
[in]maxAdaptRateThe register's MaxAdaptRate field.
[in]disturbanceWindowThe register's DisturbanceWindow field.
[in]maxTuningThe register's MaxTuning field.
Returns
The total number bytes in the generated command.
static size_t vn::protocol::uart::Packet::genWriteVpeAccelerometerBasicTuning ( ErrorDetectionMode  errorDetectionMode,
char *  buffer,
size_t  size,
vn::math::vec3f  baseTuning,
vn::math::vec3f  adaptiveTuning,
vn::math::vec3f  adaptiveFiltering 
)
static

Generates a command to write to the VPE Accelerometer Basic Tuning register on a VectorNav sensor.

Parameters
[in]errorDetectionModeThe type of error-detection to use in generating the command.
[in]bufferCaller provided buffer to place the generated command.
[in]sizeNumber of bytes available in the provided buffer.
[in]baseTuningThe register's BaseTuning field.
[in]adaptiveTuningThe register's AdaptiveTuning field.
[in]adaptiveFilteringThe register's AdaptiveFiltering field.
Returns
The total number bytes in the generated command.
static size_t vn::protocol::uart::Packet::genWriteVpeBasicControl ( ErrorDetectionMode  errorDetectionMode,
char *  buffer,
size_t  size,
uint8_t  enable,
uint8_t  headingMode,
uint8_t  filteringMode,
uint8_t  tuningMode 
)
static

Generates a command to write to the VPE Basic Control register on a VectorNav sensor.

Parameters
[in]errorDetectionModeThe type of error-detection to use in generating the command.
[in]bufferCaller provided buffer to place the generated command.
[in]sizeNumber of bytes available in the provided buffer.
[in]enableThe register's Enable field.
[in]headingModeThe register's HeadingMode field.
[in]filteringModeThe register's FilteringMode field.
[in]tuningModeThe register's TuningMode field.
Returns
The total number bytes in the generated command.
static size_t vn::protocol::uart::Packet::genWriteVpeGyroBasicTuning ( ErrorDetectionMode  errorDetectionMode,
char *  buffer,
size_t  size,
vn::math::vec3f  angularWalkVariance,
vn::math::vec3f  baseTuning,
vn::math::vec3f  adaptiveTuning 
)
static

Generates a command to write to the VPE Gyro Basic Tuning register on a VectorNav sensor.

Parameters
[in]errorDetectionModeThe type of error-detection to use in generating the command.
[in]bufferCaller provided buffer to place the generated command.
[in]sizeNumber of bytes available in the provided buffer.
[in]angularWalkVarianceThe register's AngularWalkVariance field.
[in]baseTuningThe register's BaseTuning field.
[in]adaptiveTuningThe register's AdaptiveTuning field.
Returns
The total number bytes in the generated command.
static size_t vn::protocol::uart::Packet::genWriteVpeMagnetometerAdvancedTuning ( ErrorDetectionMode  errorDetectionMode,
char *  buffer,
size_t  size,
vn::math::vec3f  minFiltering,
vn::math::vec3f  maxFiltering,
float  maxAdaptRate,
float  disturbanceWindow,
float  maxTuning 
)
static

Generates a command to write to the VPE Magnetometer Advanced Tuning register on a VectorNav sensor.

Parameters
[in]errorDetectionModeThe type of error-detection to use in generating the command.
[in]bufferCaller provided buffer to place the generated command.
[in]sizeNumber of bytes available in the provided buffer.
[in]minFilteringThe register's MinFiltering field.
[in]maxFilteringThe register's MaxFiltering field.
[in]maxAdaptRateThe register's MaxAdaptRate field.
[in]disturbanceWindowThe register's DisturbanceWindow field.
[in]maxTuningThe register's MaxTuning field.
Returns
The total number bytes in the generated command.
static size_t vn::protocol::uart::Packet::genWriteVpeMagnetometerBasicTuning ( ErrorDetectionMode  errorDetectionMode,
char *  buffer,
size_t  size,
vn::math::vec3f  baseTuning,
vn::math::vec3f  adaptiveTuning,
vn::math::vec3f  adaptiveFiltering 
)
static

Generates a command to write to the VPE Magnetometer Basic Tuning register on a VectorNav sensor.

Parameters
[in]errorDetectionModeThe type of error-detection to use in generating the command.
[in]bufferCaller provided buffer to place the generated command.
[in]sizeNumber of bytes available in the provided buffer.
[in]baseTuningThe register's BaseTuning field.
[in]adaptiveTuningThe register's AdaptiveTuning field.
[in]adaptiveFilteringThe register's AdaptiveFiltering field.
Returns
The total number bytes in the generated command.