mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2024-10-05 02:10:50 +00:00
Make clang-format happy
This commit is contained in:
parent
0b139fa42b
commit
e840593033
@ -2,6 +2,7 @@
|
||||
* \file pvt_kf.cc
|
||||
* \brief Kalman Filter for Position and Velocity
|
||||
* \author Javier Arribas, 2023. jarribas(at)cttc.es
|
||||
* \author Miguel Angel Gomez Lopez, 2023. gomezlma(at)inta.es
|
||||
*
|
||||
*
|
||||
* -----------------------------------------------------------------------------
|
||||
@ -123,15 +124,14 @@ void Pvt_Kf::run_Kf(const arma::vec& p, const arma::vec& v, const arma::vec& res
|
||||
{
|
||||
if (!d_static)
|
||||
{
|
||||
// Measurement residuals update
|
||||
// Measurement residuals non-static update
|
||||
d_R = {{res_pv[0], res_pv[3], res_pv[5], 0.0, 0.0, 0.0},
|
||||
{res_pv[3], res_pv[1], res_pv[4], 0.0, 0.0, 0.0},
|
||||
{res_pv[5], res_pv[4], res_pv[2], 0.0, 0.0, 0.0},
|
||||
{0.0, 0.0, 0.0, res_pv[6], res_pv[9], res_pv[11]},
|
||||
{0.0, 0.0, 0.0, res_pv[9], res_pv[7], res_pv[10]},
|
||||
{0.0, 0.0, 0.0, res_pv[11], res_pv[10], res_pv[8]}};
|
||||
|
||||
} // Measurement update
|
||||
}
|
||||
arma::vec z = arma::join_cols(p, v);
|
||||
arma::mat K = d_P_new_old * d_H.t() * arma::inv(d_H * d_P_new_old * d_H.t() + d_R); // Kalman gain
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
* \file pvt_kf.h
|
||||
* \brief Kalman Filter for Position and Velocity
|
||||
* \author Javier Arribas, 2023. jarribas(at)cttc.es
|
||||
*
|
||||
* \author Miguel Angel Gomez Lopez, 2023. gomezlma(at)inta.es
|
||||
*
|
||||
* -----------------------------------------------------------------------------
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user