mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-01-07 16:00:35 +00:00
Initialize gpx printer in RTKLIB_PVT block
This commit is contained in:
parent
460dc21704
commit
f1a77dfb1f
@ -261,6 +261,12 @@ rtklib_pvt_cc::rtklib_pvt_cc(unsigned int nchannels, bool dump, std::string dump
|
|||||||
d_kml_dump = std::make_shared<Kml_Printer>();
|
d_kml_dump = std::make_shared<Kml_Printer>();
|
||||||
d_kml_dump->set_headers(kml_dump_filename);
|
d_kml_dump->set_headers(kml_dump_filename);
|
||||||
|
|
||||||
|
//initialize gpx_printer
|
||||||
|
std::string gpx_dump_filename;
|
||||||
|
gpx_dump_filename = d_dump_filename;
|
||||||
|
d_gpx_dump = std::make_shared<Gpx_Printer>();
|
||||||
|
d_gpx_dump->set_headers(gpx_dump_filename);
|
||||||
|
|
||||||
//initialize geojson_printer
|
//initialize geojson_printer
|
||||||
std::string geojson_dump_filename;
|
std::string geojson_dump_filename;
|
||||||
geojson_dump_filename = d_dump_filename;
|
geojson_dump_filename = d_dump_filename;
|
||||||
@ -678,6 +684,7 @@ int rtklib_pvt_cc::work(int noutput_items, gr_vector_const_void_star& input_item
|
|||||||
first_fix = false;
|
first_fix = false;
|
||||||
}
|
}
|
||||||
d_kml_dump->print_position(d_ls_pvt, false);
|
d_kml_dump->print_position(d_ls_pvt, false);
|
||||||
|
d_gpx_dump->print_position(d_ls_pvt, false);
|
||||||
d_geojson_printer->print_position(d_ls_pvt, false);
|
d_geojson_printer->print_position(d_ls_pvt, false);
|
||||||
d_nmea_printer->Print_Nmea_Line(d_ls_pvt, false);
|
d_nmea_printer->Print_Nmea_Line(d_ls_pvt, false);
|
||||||
|
|
||||||
|
@ -34,6 +34,7 @@
|
|||||||
|
|
||||||
#include "nmea_printer.h"
|
#include "nmea_printer.h"
|
||||||
#include "kml_printer.h"
|
#include "kml_printer.h"
|
||||||
|
#include "gpx_printer.h"
|
||||||
#include "geojson_printer.h"
|
#include "geojson_printer.h"
|
||||||
#include "rinex_printer.h"
|
#include "rinex_printer.h"
|
||||||
#include "rtcm_printer.h"
|
#include "rtcm_printer.h"
|
||||||
@ -120,6 +121,7 @@ private:
|
|||||||
|
|
||||||
std::shared_ptr<Rinex_Printer> rp;
|
std::shared_ptr<Rinex_Printer> rp;
|
||||||
std::shared_ptr<Kml_Printer> d_kml_dump;
|
std::shared_ptr<Kml_Printer> d_kml_dump;
|
||||||
|
std::shared_ptr<Gpx_Printer> d_gpx_dump;
|
||||||
std::shared_ptr<Nmea_Printer> d_nmea_printer;
|
std::shared_ptr<Nmea_Printer> d_nmea_printer;
|
||||||
std::shared_ptr<GeoJSON_Printer> d_geojson_printer;
|
std::shared_ptr<GeoJSON_Printer> d_geojson_printer;
|
||||||
std::shared_ptr<Rtcm_Printer> d_rtcm_printer;
|
std::shared_ptr<Rtcm_Printer> d_rtcm_printer;
|
||||||
|
Loading…
Reference in New Issue
Block a user