1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2025-06-28 16:12:59 +00:00

Update changelog, fix formatting defects and typos

This commit is contained in:
Carles Fernandez 2023-10-01 09:03:14 +02:00
parent b971b61eed
commit d487e4ce2c
No known key found for this signature in database
GPG Key ID: 4C583C52B0C3877D
4 changed files with 19 additions and 17 deletions

View File

@ -16,8 +16,11 @@ All notable changes to GNSS-SDR will be documented in this file.
### Improvements in Interoperability: ### Improvements in Interoperability:
- A new field `utc_time` (a [RFC 3339](https://www.rfc-editor.org/rfc/rfc3339) - New fields have been added to the custom output stream defined by
datetime string) with the Time solution has been added to `monitor_pvt.proto`. `monitor_pvt.proto`: `utc_time` (a
[RFC 3339](https://www.rfc-editor.org/rfc/rfc3339) datetime string), velocity
in the local ENU frame (`vel_e`, `vel_n`, and `vel_u`), in m/s, and the course
over ground, `cog`, in degrees.
### Improvements in Repeatability: ### Improvements in Repeatability:
@ -42,6 +45,9 @@ All notable changes to GNSS-SDR will be documented in this file.
- Fix bug in the custom binary output (`PVT.enable_monitor=true`) output rate. - Fix bug in the custom binary output (`PVT.enable_monitor=true`) output rate.
Before this fix, it was outputting data every 20 ms, instead of observing the Before this fix, it was outputting data every 20 ms, instead of observing the
`PVT.output_rate_ms` setting. `PVT.output_rate_ms` setting.
- Now the program exits properly if a SIGINT signal is received (_e.g._, the
user pressing Ctrl+C, or another user application sending an interruption
signal).
## [GNSS-SDR v0.0.18](https://github.com/gnss-sdr/gnss-sdr/releases/tag/v0.0.18) - 2023-04-06 ## [GNSS-SDR v0.0.18](https://github.com/gnss-sdr/gnss-sdr/releases/tag/v0.0.18) - 2023-04-06

View File

@ -44,9 +44,9 @@ double vdop = 28; // Vertical Dilution of Precision
double user_clk_drift_ppm = 29; // User clock drift [ppm] double user_clk_drift_ppm = 29; // User clock drift [ppm]
string utc_time = 30; // PVT UTC time (rfc 3339 datetime string) string utc_time = 30; // PVT UTC time (rfc 3339 datetime string)
double vel_e = 31; // Velocity East component in Local frame, in m/s double vel_e = 31; // Velocity East component in the local frame, in m/s
double vel_n = 32; // Velocity Nord component in Local frame, in m/s double vel_n = 32; // Velocity North component in the local frame, in m/s
double vel_u = 33; // Velocity Up component in Local frame, in m/s double vel_u = 33; // Velocity Up component in the local frame, in m/s
double cog = 34; // Course Over Ground (cog) [deg] double cog = 34; // Course Over Ground (cog) [deg]
} }

View File

@ -55,6 +55,7 @@
#include <algorithm> // for find, min #include <algorithm> // for find, min
#include <chrono> // for milliseconds #include <chrono> // for milliseconds
#include <cmath> // for floor, fmod, log #include <cmath> // for floor, fmod, log
#include <csignal> // for signal, SIGINT
#include <ctime> // for time_t, gmtime, strftime #include <ctime> // for time_t, gmtime, strftime
#include <exception> // for exception #include <exception> // for exception
#include <iostream> // for operator<< #include <iostream> // for operator<<
@ -78,7 +79,7 @@ namespace wht = std;
extern Concurrent_Map<Gps_Acq_Assist> global_gps_acq_assist_map; extern Concurrent_Map<Gps_Acq_Assist> global_gps_acq_assist_map;
extern Concurrent_Queue<Gps_Acq_Assist> global_gps_acq_assist_queue; extern Concurrent_Queue<Gps_Acq_Assist> global_gps_acq_assist_queue;
ControlThread* ControlThread::me=nullptr; ControlThread *ControlThread::me = nullptr;
/** /**
@ -99,23 +100,21 @@ void ControlThread::handle_signal(int sig)
} }
else if (sig == SIGHUP) else if (sig == SIGHUP)
{ {
std::cout << "Debug: received SIGHUP signal\n"; std::cout << "Debug: received SIGHUP signal\n";
//std::cout << "Debug: reloading daemon config file ...\n"; // std::cout << "Debug: reloading daemon config file ...\n";
//todo // todo
} }
else if (sig == SIGCHLD) else if (sig == SIGCHLD)
{ {
std::cout << "Debug: received SIGCHLD signal\n"; std::cout << "Debug: received SIGCHLD signal\n";
//todo // todo
} }
} }
ControlThread::ControlThread() ControlThread::ControlThread()
{ {
ControlThread::me = this;
ControlThread::me=this;
/* the class will handle two signals */ /* the class will handle two signals */
signal(SIGINT, ControlThread::handle_signal); signal(SIGINT, ControlThread::handle_signal);

View File

@ -37,7 +37,6 @@
#include <typeinfo> // for std::type_info, typeid #include <typeinfo> // for std::type_info, typeid
#include <utility> // for pair #include <utility> // for pair
#include <vector> // for vector #include <vector> // for vector
#include <csignal>
#ifdef ENABLE_FPGA #ifdef ENABLE_FPGA
#include <boost/thread.hpp> // for boost::thread #include <boost/thread.hpp> // for boost::thread
@ -65,8 +64,7 @@ class Gnss_Satellite;
class ControlThread class ControlThread
{ {
public: public:
static ControlThread *me;
static ControlThread* me;
/*! /*!
* \brief Default constructor * \brief Default constructor
*/ */
@ -126,7 +124,6 @@ public:
} }
private: private:
static void handle_signal(int sig); static void handle_signal(int sig);
void init(); void init();