sbgECom Library
4.0.1987-stable
C library to interface SBG Systems IMU/AHRS/INS
|
GNSS True Heading related logs. More...
Go to the source code of this file.
Data Structures | |
struct | _SbgEComLogGnssHdt |
Typedefs | |
typedef enum _SbgEComGnssHdtStatus | SbgEComGnssHdtStatus |
typedef struct _SbgEComLogGnssHdt | SbgEComLogGnssHdt |
Enumerations | |
enum | _SbgEComGnssHdtStatus { SBG_ECOM_GNSS_HDT_STATUS_SOL_COMPUTED = 0 , SBG_ECOM_GNSS_HDT_STATUS_INSUFFICIENT_OBS = 1 , SBG_ECOM_GNSS_HDT_STATUS_INTERNAL_ERROR = 2 , SBG_ECOM_GNSS_HDT_STATUS_HEIGHT_LIMIT = 3 } |
Functions | |
void | sbgEComLogGnssHdtZeroInit (SbgEComLogGnssHdt *pLogData) |
SbgErrorCode | sbgEComLogGnssHdtReadFromStream (SbgEComLogGnssHdt *pLogData, SbgStreamBuffer *pStreamBuffer) |
SbgErrorCode | sbgEComLogGnssHdtWriteToStream (const SbgEComLogGnssHdt *pLogData, SbgStreamBuffer *pStreamBuffer) |
void | sbgEComLogGnssHdtSetStatus (SbgEComLogGnssHdt *pLogData, SbgEComGnssHdtStatus status) |
SbgEComGnssHdtStatus | sbgEComLogGnssHdtGetStatus (const SbgEComLogGnssHdt *pLogData) |
bool | sbgEComLogGnssHdtHeadingIsValid (const SbgEComLogGnssHdt *pLogData) |
bool | sbgEComLogGnssHdtPitchIsValid (const SbgEComLogGnssHdt *pLogData) |
void | sbgEComLogGnssHdtSetBaseLineValid (SbgEComLogGnssHdt *pLogData, bool isValid) |
bool | sbgEComLogGnssHdtBaseLineIsValid (const SbgEComLogGnssHdt *pLogData) |
bool | sbgEComLogGnssHdtNumSvTrackedIsValid (const SbgEComLogGnssHdt *pLogData) |
bool | sbgEComLogGnssHdtNumSvUsedIsValid (const SbgEComLogGnssHdt *pLogData) |
GNSS True Heading related logs.
The MIT license
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
typedef enum _SbgEComGnssHdtStatus SbgEComGnssHdtStatus |
GNSS HDT status definitions.
typedef struct _SbgEComLogGnssHdt SbgEComLogGnssHdt |
Structure that stores data for the SBG_ECOM_LOG_GPS::_HDT message.
GNSS HDT status definitions.
void sbgEComLogGnssHdtZeroInit | ( | SbgEComLogGnssHdt * | pLogData | ) |
Zero initialize the message struct.
[out] | pLogData | Structure instance to zero init. |
SbgErrorCode sbgEComLogGnssHdtReadFromStream | ( | SbgEComLogGnssHdt * | pLogData, |
SbgStreamBuffer * | pStreamBuffer | ||
) |
Parse data for the SBG_ECOM_LOG_GPS::_HDT message and fill the corresponding structure.
[out] | pLogData | Log structure instance to fill. |
[in] | pStreamBuffer | Input stream buffer to read the log from. |
SbgErrorCode sbgEComLogGnssHdtWriteToStream | ( | const SbgEComLogGnssHdt * | pLogData, |
SbgStreamBuffer * | pStreamBuffer | ||
) |
Write data for the SBG_ECOM_LOG_GPS::_HDT message to the output stream buffer from the provided structure.
[in] | pLogData | Log structure instance to write. |
[out] | pStreamBuffer | Output stream buffer to write the log to. |
void sbgEComLogGnssHdtSetStatus | ( | SbgEComLogGnssHdt * | pLogData, |
SbgEComGnssHdtStatus | status | ||
) |
Set the true heading solution status.
[in] | pLogData | Log instance. |
[in] | status | The solution status to set. |
SbgEComGnssHdtStatus sbgEComLogGnssHdtGetStatus | ( | const SbgEComLogGnssHdt * | pLogData | ) |
Returns the true heading solution status.
[in] | pLogData | Log instance. |
bool sbgEComLogGnssHdtHeadingIsValid | ( | const SbgEComLogGnssHdt * | pLogData | ) |
Returns true if the heading information is valid.
[in] | pLogData | Log instance. |
bool sbgEComLogGnssHdtPitchIsValid | ( | const SbgEComLogGnssHdt * | pLogData | ) |
Returns true if the pitch information is valid.
Some GNSS receivers don't provide pitch information between antenna 1 and 2. This methods checks if a valid pitch measurement is available with an associated standard deviation.
[in] | pLogData | Log instance. |
void sbgEComLogGnssHdtSetBaseLineValid | ( | SbgEComLogGnssHdt * | pLogData, |
bool | isValid | ||
) |
Set if the baseline field is provided with a valid value.
Some GNSS receivers don't provide the baseline information between antenna 1 and 2. Set this flag to false to report this.
[in] | pLogData | Log instance. |
[in] | isValid | true if the baseline is valid. |
bool sbgEComLogGnssHdtBaseLineIsValid | ( | const SbgEComLogGnssHdt * | pLogData | ) |
Returns true if the baseline field is valid.
[in] | pLogData | Log instance. |
bool sbgEComLogGnssHdtNumSvTrackedIsValid | ( | const SbgEComLogGnssHdt * | pLogData | ) |
Returns true if the numSvTracked field is valid.
[in] | pLogData | Log instance. |
bool sbgEComLogGnssHdtNumSvUsedIsValid | ( | const SbgEComLogGnssHdt * | pLogData | ) |
Returns true if the numSvUsed field is valid.
[in] | pLogData | Log instance. |