Skip to content

Commit

Permalink
do not check VP fusion during GPS startup
Browse files Browse the repository at this point in the history
This is solution for #11864
  • Loading branch information
copterspace authored and TSC21 committed Oct 15, 2019
1 parent a4e035d commit c58cfce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/local_position_estimator/sensors/gps.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ void BlockLocalPositionEstimator::gpsInit()
// find lat, lon of current origin by subtracting x and y
// if not using vision position since vision will
// 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 gpsLonOrigin = 0;
// reproject at current coordinates
Expand Down

0 comments on commit c58cfce

Please sign in to comment.