mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2024-11-15 22:34:58 +00:00
make clang-format happy
This commit is contained in:
parent
fc30788c12
commit
ef9b737e92
@ -2126,8 +2126,8 @@ int rtklib_pvt_gs::work(int noutput_items, gr_vector_const_void_star& input_item
|
|||||||
try
|
try
|
||||||
{
|
{
|
||||||
d_internal_pvt_solver->vtl_engine.trk_cmd_outs.at(idx).channel_id = gnss_observables_iter->second.Channel_ID;
|
d_internal_pvt_solver->vtl_engine.trk_cmd_outs.at(idx).channel_id = gnss_observables_iter->second.Channel_ID;
|
||||||
//todo: VTL loop CAN NOT run every PVT epoch because it is required to wait for the corrections to be applied to the tracking KF.
|
// todo: VTL loop CAN NOT run every PVT epoch because it is required to wait for the corrections to be applied to the tracking KF.
|
||||||
//currently the VTL runs every PVT epoch which will create inestabilities.
|
// currently the VTL runs every PVT epoch which will create inestabilities.
|
||||||
const std::shared_ptr<TrackingCmd> trk_cmd_test = std::make_shared<TrackingCmd>(d_internal_pvt_solver->vtl_engine.trk_cmd_outs.at(idx));
|
const std::shared_ptr<TrackingCmd> trk_cmd_test = std::make_shared<TrackingCmd>(d_internal_pvt_solver->vtl_engine.trk_cmd_outs.at(idx));
|
||||||
this->message_port_pub(pmt::mp("pvt_to_trk"), pmt::make_any(trk_cmd_test));
|
this->message_port_pub(pmt::mp("pvt_to_trk"), pmt::make_any(trk_cmd_test));
|
||||||
idx++;
|
idx++;
|
||||||
@ -2138,7 +2138,7 @@ int rtklib_pvt_gs::work(int noutput_items, gr_vector_const_void_star& input_item
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
d_internal_pvt_solver->vtl_engine.trk_cmd_outs.clear();
|
d_internal_pvt_solver->vtl_engine.trk_cmd_outs.clear();
|
||||||
//Dummy messages for evaluation of msg latency
|
// Dummy messages for evaluation of msg latency
|
||||||
// std::map<int, Gnss_Synchro>::const_iterator gnss_observables_iter;
|
// std::map<int, Gnss_Synchro>::const_iterator gnss_observables_iter;
|
||||||
// for (gnss_observables_iter = d_gnss_observables_map.cbegin();
|
// for (gnss_observables_iter = d_gnss_observables_map.cbegin();
|
||||||
// gnss_observables_iter != d_gnss_observables_map.cend();
|
// gnss_observables_iter != d_gnss_observables_map.cend();
|
||||||
@ -2303,7 +2303,7 @@ int rtklib_pvt_gs::work(int noutput_items, gr_vector_const_void_star& input_item
|
|||||||
{
|
{
|
||||||
// VTP To.Do: Check why get_PVT is triggered twice. Leave only one get_PVT.
|
// VTP To.Do: Check why get_PVT is triggered twice. Leave only one get_PVT.
|
||||||
|
|
||||||
//flag_pvt_valid = d_user_pvt_solver->get_PVT(d_gnss_observables_map, false, false, false);
|
// flag_pvt_valid = d_user_pvt_solver->get_PVT(d_gnss_observables_map, false, false, false);
|
||||||
flag_pvt_valid = d_user_pvt_solver->get_PVT(d_gnss_observables_map, d_observable_interval_ms / 1000.0, false, d_enable_vtl, d_close_vtl_loop);
|
flag_pvt_valid = d_user_pvt_solver->get_PVT(d_gnss_observables_map, d_observable_interval_ms / 1000.0, false, d_enable_vtl, d_close_vtl_loop);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -907,7 +907,7 @@ int raim_fde(const obsd_t *obs, int n, const double *rs,
|
|||||||
std::vector<double> doppler_residual_vec;
|
std::vector<double> doppler_residual_vec;
|
||||||
/* estimate receiver position without a satellite */
|
/* estimate receiver position without a satellite */
|
||||||
if (!estpos(obs_e, n - 1, rs_e, dts_e, vare_e, svh_e, nav, opt, &sol_e, azel_e,
|
if (!estpos(obs_e, n - 1, rs_e, dts_e, vare_e, svh_e, nav, opt, &sol_e, azel_e,
|
||||||
vsat_e, resp_e, msg_e, iono_vec, tropo_vec, pr_corrected_code_bias_vec,pr_residual_vec,doppler_residual_vec))
|
vsat_e, resp_e, msg_e, iono_vec, tropo_vec, pr_corrected_code_bias_vec, pr_residual_vec, doppler_residual_vec))
|
||||||
{
|
{
|
||||||
trace(3, "raim_fde: exsat=%2d (%s)\n", obs[i].sat, msg);
|
trace(3, "raim_fde: exsat=%2d (%s)\n", obs[i].sat, msg);
|
||||||
continue;
|
continue;
|
||||||
|
@ -2802,7 +2802,7 @@ int rtkpos(rtk_t *rtk, const obsd_t *obs, int n, const nav_t *nav,
|
|||||||
|
|
||||||
/* rover position by single point positioning */
|
/* rover position by single point positioning */
|
||||||
if (!pntpos(obs, nu, nav, &rtk->opt, &rtk->sol, nullptr, rtk->ssat, msg, tropo_vec,
|
if (!pntpos(obs, nu, nav, &rtk->opt, &rtk->sol, nullptr, rtk->ssat, msg, tropo_vec,
|
||||||
iono_vec, pr_corrected_code_bias_vec,pr_residual_vec,doppler_residual_vec))
|
iono_vec, pr_corrected_code_bias_vec, pr_residual_vec, doppler_residual_vec))
|
||||||
{
|
{
|
||||||
errmsg(rtk, "point pos error (%s)\n", msg);
|
errmsg(rtk, "point pos error (%s)\n", msg);
|
||||||
if (!rtk->opt.dynamics)
|
if (!rtk->opt.dynamics)
|
||||||
|
@ -602,7 +602,7 @@ void *rtksvrthread(void *arg)
|
|||||||
std::vector<double> pr_residual;
|
std::vector<double> pr_residual;
|
||||||
std::vector<double> doppler_residual;
|
std::vector<double> doppler_residual;
|
||||||
rtkpos(&svr->rtk, obs.data, obs.n, &svr->nav, tropo_vec,
|
rtkpos(&svr->rtk, obs.data, obs.n, &svr->nav, tropo_vec,
|
||||||
iono_vec, pr_corrected_code_bias_vec,pr_residual,doppler_residual);
|
iono_vec, pr_corrected_code_bias_vec, pr_residual, doppler_residual);
|
||||||
rtksvrunlock(svr);
|
rtksvrunlock(svr);
|
||||||
|
|
||||||
if (svr->rtk.sol.stat != SOLQ_NONE)
|
if (svr->rtk.sol.stat != SOLQ_NONE)
|
||||||
|
Loading…
Reference in New Issue
Block a user