mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-01-18 21:23:02 +00:00
Fix building
This commit is contained in:
parent
80ce6273bc
commit
4e1ee0f49b
@ -168,7 +168,8 @@ rtklib_pvt_gs::rtklib_pvt_gs(uint32_t nchannels,
|
|||||||
d_show_local_time_zone(conf_.show_local_time_zone),
|
d_show_local_time_zone(conf_.show_local_time_zone),
|
||||||
d_waiting_obs_block_rx_clock_offset_correction_msg(false),
|
d_waiting_obs_block_rx_clock_offset_correction_msg(false),
|
||||||
d_enable_rx_clock_correction(conf_.enable_rx_clock_correction),
|
d_enable_rx_clock_correction(conf_.enable_rx_clock_correction),
|
||||||
d_an_printer_enabled(conf_.an_output_enabled)
|
d_an_printer_enabled(conf_.an_output_enabled),
|
||||||
|
d_log_timetag(conf_.log_source_timetag)
|
||||||
{
|
{
|
||||||
// Send feedback message to observables block with the receiver clock offset
|
// Send feedback message to observables block with the receiver clock offset
|
||||||
this->message_port_register_out(pmt::mp("pvt_to_observables"));
|
this->message_port_register_out(pmt::mp("pvt_to_observables"));
|
||||||
@ -560,10 +561,9 @@ rtklib_pvt_gs::rtklib_pvt_gs(uint32_t nchannels,
|
|||||||
tracelevel(conf_.rtk_trace_level);
|
tracelevel(conf_.rtk_trace_level);
|
||||||
|
|
||||||
// timetag
|
// timetag
|
||||||
d_log_timetag = conf_.log_source_timetag;
|
|
||||||
if (d_log_timetag)
|
if (d_log_timetag)
|
||||||
{
|
{
|
||||||
d_log_timetag_file = std::fstream(conf_.log_source_timetag_file, std::ios::out | std::ios::binary);
|
d_log_timetag_file.open(conf_.log_source_timetag_file, std::ios::out | std::ios::binary);
|
||||||
std::cout << "Log PVT timetag metadata enabled, log file: " << conf_.log_source_timetag_file << "\n";
|
std::cout << "Log PVT timetag metadata enabled, log file: " << conf_.log_source_timetag_file << "\n";
|
||||||
}
|
}
|
||||||
d_start = std::chrono::system_clock::now();
|
d_start = std::chrono::system_clock::now();
|
||||||
|
@ -30,12 +30,13 @@
|
|||||||
#include <cstddef> // for size_t
|
#include <cstddef> // for size_t
|
||||||
#include <cstdint> // for int32_t
|
#include <cstdint> // for int32_t
|
||||||
#include <ctime> // for time_t
|
#include <ctime> // for time_t
|
||||||
|
#include <fstream> // for std::fstream
|
||||||
#include <map> // for map
|
#include <map> // for map
|
||||||
#include <memory> // for shared_ptr, unique_ptr
|
#include <memory> // for shared_ptr, unique_ptr
|
||||||
#include <queue>
|
#include <queue> // for std::queue
|
||||||
#include <string> // for string
|
#include <string> // for string
|
||||||
#include <sys/types.h> // for key_t
|
#include <sys/types.h> // for key_t
|
||||||
#include <vector> // for vector
|
#include <vector> // for vector
|
||||||
|
|
||||||
/** \addtogroup PVT
|
/** \addtogroup PVT
|
||||||
* \{ */
|
* \{ */
|
||||||
@ -167,7 +168,6 @@ private:
|
|||||||
bool save_gnss_synchro_map_xml(const std::string& file_name); // debug helper function
|
bool save_gnss_synchro_map_xml(const std::string& file_name); // debug helper function
|
||||||
bool load_gnss_synchro_map_xml(const std::string& file_name); // debug helper function
|
bool load_gnss_synchro_map_xml(const std::string& file_name); // debug helper function
|
||||||
|
|
||||||
bool d_log_timetag;
|
|
||||||
std::fstream d_log_timetag_file;
|
std::fstream d_log_timetag_file;
|
||||||
|
|
||||||
std::shared_ptr<Rtklib_Solver> d_internal_pvt_solver;
|
std::shared_ptr<Rtklib_Solver> d_internal_pvt_solver;
|
||||||
@ -286,6 +286,7 @@ private:
|
|||||||
bool d_enable_rx_clock_correction;
|
bool d_enable_rx_clock_correction;
|
||||||
bool d_enable_has_messages;
|
bool d_enable_has_messages;
|
||||||
bool d_an_printer_enabled;
|
bool d_an_printer_enabled;
|
||||||
|
bool d_log_timetag;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user