mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2024-12-15 04:30:33 +00:00
Fix gpx printer
This commit is contained in:
parent
fe36e8f558
commit
b2dc526b9a
@ -123,7 +123,8 @@ bool Gpx_Printer::print_position(const std::shared_ptr<rtklib_solver>& position,
|
|||||||
double vdop = position_->get_vdop();
|
double vdop = position_->get_vdop();
|
||||||
double pdop = position_->get_pdop();
|
double pdop = position_->get_pdop();
|
||||||
std::string utc_time = to_iso_extended_string(position_->get_position_UTC_time());
|
std::string utc_time = to_iso_extended_string(position_->get_position_UTC_time());
|
||||||
utc_time.resize(23); // time up to ms
|
if (utc_time.length() < 23) utc_time += ".";
|
||||||
|
utc_time.resize(23, '0'); // time up to ms
|
||||||
utc_time.append("Z"); // UTC time zone
|
utc_time.append("Z"); // UTC time zone
|
||||||
|
|
||||||
if (print_average_values == false)
|
if (print_average_values == false)
|
||||||
|
Loading…
Reference in New Issue
Block a user