sbgECom
1.11.920-stable
|
This file is used to parse received USBL binary logs. More...
#include <sbgCommon.h>
#include <streamBuffer/sbgStreamBuffer.h>
Go to the source code of this file.
Data Structures | |
struct | _SbgLogUsblData |
Macros | |
#define | SBG_ECOM_USBL_TIME_SYNC (0x0001u << 0) |
#define | SBG_ECOM_USBL_POSITION_VALID (0x0001u << 1) |
#define | SBG_ECOM_USBL_DEPTH_VALID (0x0001u << 2) |
Typedefs | |
typedef struct _SbgLogUsblData | SbgLogUsblData |
Functions | |
SbgErrorCode | sbgEComBinaryLogParseUsblData (SbgStreamBuffer *pInputStream, SbgLogUsblData *pOutputData) |
SbgErrorCode | sbgEComBinaryLogWriteUsblData (SbgStreamBuffer *pOutputStream, const SbgLogUsblData *pInputData) |
This file is used to parse received USBL binary logs.
USBL binary logs contains underwater positioning data of a USBL beacon.
Copyright (C) 2007-2014, SBG Systems SAS. All rights reserved.
This source code is intended for use only by SBG Systems SAS and those that have explicit written permission to use it from SBG Systems SAS.
THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
#define SBG_ECOM_USBL_TIME_SYNC (0x0001u << 0) |
USBL sensor status mask definitionsSet to 1 if the USBL sensor data is correctly time synchronized.
#define SBG_ECOM_USBL_POSITION_VALID (0x0001u << 1) |
Set to 1 if the USBL data represents a valid 2D position.
#define SBG_ECOM_USBL_DEPTH_VALID (0x0001u << 2) |
Set to 1 if the USBL data has a valid depth information.
typedef struct _SbgLogUsblData SbgLogUsblData |
Log structure for USBL data.
SbgErrorCode sbgEComBinaryLogParseUsblData | ( | SbgStreamBuffer * | pInputStream, |
SbgLogUsblData * | pOutputData | ||
) |
Parse data for the SBG_ECOM_LOG_USBL message and fill the corresponding structure.
[in] | pInputStream | Input stream buffer to read the payload from. |
[out] | pOutputData | Pointer on the output structure that stores parsed data. |
SbgErrorCode sbgEComBinaryLogWriteUsblData | ( | SbgStreamBuffer * | pOutputStream, |
const SbgLogUsblData * | pInputData | ||
) |
Write data for the SBG_ECOM_LOG_USBL message to the output stream buffer from the provided structure.
[out] | pOutputStream | Output stream buffer to write the payload to. |
[in] | pInputData | Pointer on the input structure that stores data to write. |