1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2025-01-07 16:00:35 +00:00

Applied clang-format to the previous commit

This commit is contained in:
Cillian O'Driscoll 2019-11-04 11:08:59 +00:00
parent 216e8dfa26
commit f9f7884d05
3 changed files with 18 additions and 18 deletions

View File

@ -29,9 +29,9 @@
* ------------------------------------------------------------------------- * -------------------------------------------------------------------------
*/ */
#include "pvt_solution.h"
#include "GPS_L1_CA.h" #include "GPS_L1_CA.h"
#include "geofunctions.h" #include "geofunctions.h"
#include "pvt_solution.h"
#include <glog/logging.h> #include <glog/logging.h>
#include <array> #include <array>
#include <cstddef> #include <cstddef>
@ -414,7 +414,7 @@ void Pvt_Solution::set_rx_pos(const arma::vec &pos)
} }
const arma::vec& Pvt_Solution::get_rx_pos() const arma::vec Pvt_Solution::get_rx_pos() const
{ {
return d_rx_pos; return d_rx_pos;
} }
@ -425,7 +425,7 @@ void Pvt_Solution::set_rx_vel(arma::vec vel)
} }
const arma::vec& Pvt_Solution::get_rx_vel() const arma::vec Pvt_Solution::get_rx_vel() const
{ {
return d_rx_vel; return d_rx_vel;
} }

View File

@ -54,7 +54,7 @@ public:
void set_time_offset_s(double offset); //!< Set RX time offset [s] void set_time_offset_s(double offset); //!< Set RX time offset [s]
double get_clock_drift_ppm() const; //!< Get the Rx clock drift [ppm] double get_clock_drift_ppm() const; //!< Get the Rx clock drift [ppm]
void set_clock_drift_ppm(double clock_drift_ppm ); //!< Set the Rx clock drift [ppm] void set_clock_drift_ppm(double clock_drift_ppm); //!< Set the Rx clock drift [ppm]
double get_latitude() const; //!< Get RX position Latitude WGS84 [deg] double get_latitude() const; //!< Get RX position Latitude WGS84 [deg]
double get_longitude() const; //!< Get RX position Longitude WGS84 [deg] double get_longitude() const; //!< Get RX position Longitude WGS84 [deg]
double get_height() const; //!< Get RX position height WGS84 [m] double get_height() const; //!< Get RX position height WGS84 [m]

View File

@ -51,7 +51,6 @@
* *
* -----------------------------------------------------------------------*/ * -----------------------------------------------------------------------*/
#include "rtklib_solver.h"
#include "Beidou_B1I.h" #include "Beidou_B1I.h"
#include "Beidou_B3I.h" #include "Beidou_B3I.h"
#include "Beidou_DNAV.h" #include "Beidou_DNAV.h"
@ -61,6 +60,7 @@
#include "rtklib_conversions.h" #include "rtklib_conversions.h"
#include "rtklib_rtkpos.h" #include "rtklib_rtkpos.h"
#include "rtklib_solution.h" #include "rtklib_solution.h"
#include "rtklib_solver.h"
#include <glog/logging.h> #include <glog/logging.h>
#include <matio.h> #include <matio.h>
#include <exception> #include <exception>
@ -1076,18 +1076,18 @@ bool Rtklib_Solver::get_PVT(const std::map<int, Gnss_Synchro> &gnss_observables_
pos[0] = rx_position_and_time(0); pos[0] = rx_position_and_time(0);
pos[1] = rx_position_and_time(1); pos[1] = rx_position_and_time(1);
pos[2] = rx_position_and_time(2); pos[2] = rx_position_and_time(2);
ecef2enu( pos, &pvt_sol.rr[3], vel_enu ); ecef2enu(pos, &pvt_sol.rr[3], vel_enu);
arma::vec rx_vel_enu(3); arma::vec rx_vel_enu(3);
rx_vel_enu(0) = vel_enu[ 0 ]; rx_vel_enu(0) = vel_enu[0];
rx_vel_enu(1) = vel_enu[ 1 ]; rx_vel_enu(1) = vel_enu[1];
rx_vel_enu(2) = vel_enu[ 2 ]; rx_vel_enu(2) = vel_enu[2];
this->set_rx_vel( rx_vel_enu ); this->set_rx_vel(rx_vel_enu);
double clock_drift_ppm = pvt_sol.dtr[5] / GPS_C_m_s *1e6; double clock_drift_ppm = pvt_sol.dtr[5] / GPS_C_m_s * 1e6;
this->set_clock_drift_ppm( clock_drift_ppm ); this->set_clock_drift_ppm(clock_drift_ppm);
// ######## LOG FILE ######### // ######## LOG FILE #########
if (d_flag_dump_enabled == true) if (d_flag_dump_enabled == true)