mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-30 04:43:36 +08:00
do not check VP fusion during GPS startup
This is solution for https://github.com/PX4/Firmware/issues/11864
This commit is contained in:
committed by
Nuno Marques
parent
a4e035d338
commit
c58cfce6be
@@ -57,7 +57,7 @@ void BlockLocalPositionEstimator::gpsInit()
|
|||||||
// find lat, lon of current origin by subtracting x and y
|
// find lat, lon of current origin by subtracting x and y
|
||||||
// if not using vision position since vision will
|
// if not using vision position since vision will
|
||||||
// have it's own origin, not necessarily where vehicle starts
|
// have it's own origin, not necessarily where vehicle starts
|
||||||
if (!_map_ref.init_done && !(_param_lpe_fusion.get() & FUSE_VIS_POS)) {
|
if (!_map_ref.init_done) {
|
||||||
double gpsLatOrigin = 0;
|
double gpsLatOrigin = 0;
|
||||||
double gpsLonOrigin = 0;
|
double gpsLonOrigin = 0;
|
||||||
// reproject at current coordinates
|
// reproject at current coordinates
|
||||||
|
|||||||
Reference in New Issue
Block a user