mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2024-10-30 06:36:21 +00:00
Fix building (add missing include)
This commit is contained in:
parent
1d815f0bbf
commit
c38fb0fca5
@ -18,6 +18,7 @@
|
||||
#include <bitset>
|
||||
#include <iomanip>
|
||||
#include <ios>
|
||||
#include <sstream>
|
||||
|
||||
uint32_t Osnma_Helper::compute_gst(uint32_t WN, uint32_t TOW) const
|
||||
{
|
||||
@ -25,6 +26,7 @@ uint32_t Osnma_Helper::compute_gst(uint32_t WN, uint32_t TOW) const
|
||||
return GST;
|
||||
}
|
||||
|
||||
|
||||
std::vector<uint8_t> Osnma_Helper::gst_to_uint8(uint32_t GST) const
|
||||
{
|
||||
std::vector<uint8_t> res;
|
||||
@ -36,6 +38,7 @@ std::vector<uint8_t> Osnma_Helper::gst_to_uint8(uint32_t GST) const
|
||||
return res;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @brief Convert a binary string to a vector of bytes.
|
||||
*
|
||||
@ -67,6 +70,7 @@ std::vector<uint8_t> Osnma_Helper::bytes(const std::string& binaryString) {
|
||||
return bytes;
|
||||
}
|
||||
|
||||
|
||||
std::string Osnma_Helper::verification_status_str(int status)
|
||||
{
|
||||
switch (status) {
|
||||
@ -76,6 +80,8 @@ std::string Osnma_Helper::verification_status_str(int status)
|
||||
default: return "UNKNOWN";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
std::string Osnma_Helper::convert_to_hex_string(const std::vector<uint8_t>& vector)
|
||||
{
|
||||
std::stringstream ss;
|
||||
|
Loading…
Reference in New Issue
Block a user