Main Page
Namespaces
Classes
Files
File List
File Members
include
ixblue_stdbin_decoder
memory_blocs_parsers
external_data
usbl1.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
ixblue_stdbin_decoder/data_models/external_data/usbl.h
"
4
#include "
ixblue_stdbin_decoder/memory_block_parser.h
"
5
6
namespace
ixblue_stdbin_decoder
7
{
8
namespace
Parser
9
{
10
class
Usbl1 :
public
MemoryBlockParser
11
{
12
public
:
13
Usbl1
() :
MemoryBlockParser
(6, 49) {}
14
void
parse
(boost::asio::const_buffer& buffer,
15
Data::BinaryNav
& outBinaryNav)
override
16
{
17
Data::Usbl
res;
18
buffer >> res.
validityTime_100us
>> res.
usbl_id
>> res.
beacon_id
>>
19
res.
latitude_deg
>> res.
longitude_deg
>> res.
altitude_m
>>
20
res.
north_stddev_m
>> res.
east_stddev_m
>> res.
lat_lon_cov_m2
>>
21
res.
altitude_stddev_m
;
22
outBinaryNav.
usbl1
= res;
23
}
24
};
25
}
// namespace Parser
26
}
// namespace ixblue_stdbin_decoder
ixblue_stdbin_decoder::Data::Usbl
Definition:
data_models/external_data/usbl.h:10
ixblue_stdbin_decoder
Definition:
data_models/extended_navigation_data/raw_rotation_rate_vessel_frame.h:3
ixblue_stdbin_decoder::Data::BinaryNav::usbl1
boost::optional< Usbl > usbl1
Definition:
stdbin.h:119
ixblue_stdbin_decoder::Data::Usbl::validityTime_100us
int32_t validityTime_100us
Definition:
data_models/external_data/usbl.h:12
ixblue_stdbin_decoder::Data::Usbl::altitude_m
float altitude_m
Definition:
data_models/external_data/usbl.h:17
usbl.h
ixblue_stdbin_decoder::Data::Usbl::east_stddev_m
float east_stddev_m
Definition:
data_models/external_data/usbl.h:19
ixblue_stdbin_decoder::Data::BinaryNav
Definition:
stdbin.h:67
ixblue_stdbin_decoder::Data::Usbl::altitude_stddev_m
float altitude_stddev_m
Definition:
data_models/external_data/usbl.h:21
ixblue_stdbin_decoder::Data::Usbl::north_stddev_m
float north_stddev_m
Definition:
data_models/external_data/usbl.h:18
memory_block_parser.h
ixblue_stdbin_decoder::MemoryBlockParser
Definition:
memory_block_parser.h:33
ixblue_stdbin_decoder::Data::Usbl::lat_lon_cov_m2
float lat_lon_cov_m2
Definition:
data_models/external_data/usbl.h:20
ixblue_stdbin_decoder::Data::Usbl::beacon_id
std::array< uint8_t, 8 > beacon_id
Definition:
data_models/external_data/usbl.h:14
ixblue_stdbin_decoder::Data::Usbl::longitude_deg
double longitude_deg
Definition:
data_models/external_data/usbl.h:16
ixblue_stdbin_decoder::Data::Usbl::latitude_deg
double latitude_deg
Definition:
data_models/external_data/usbl.h:15
ixblue_stdbin_decoder::Parser::Usbl1::parse
void parse(boost::asio::const_buffer &buffer, Data::BinaryNav &outBinaryNav) override
Definition:
usbl1.h:14
ixblue_stdbin_decoder::Parser::Usbl1::Usbl1
Usbl1()
Definition:
usbl1.h:13
ixblue_stdbin_decoder::Data::Usbl::usbl_id
uint8_t usbl_id
Definition:
data_models/external_data/usbl.h:13
ixblue_stdbin_decoder
Author(s): Adrien BARRAL
, Laure LEBROTON
autogenerated on Sat Jan 9 2021 03:13:21