mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-03-02 19:29:15 +01:00
In simulations a higher GPS noise is required for the INS
This commit is contained in:
parent
32f76db8ae
commit
5b3cc4876e
@ -650,7 +650,7 @@ static int32_t updateAttitudeINSGPS(bool first_run, bool outdoor_mode)
|
|||||||
|
|
||||||
if(gps_updated && outdoor_mode)
|
if(gps_updated && outdoor_mode)
|
||||||
{
|
{
|
||||||
INSSetPosVelVar(1e-2f, 1e-2f);
|
INSSetPosVelVar(1.0e0f, 1.0e0f);
|
||||||
sensors |= POS_SENSORS | HORIZ_SENSORS;
|
sensors |= POS_SENSORS | HORIZ_SENSORS;
|
||||||
GPSPositionData gpsPosition;
|
GPSPositionData gpsPosition;
|
||||||
GPSPositionGet(&gpsPosition);
|
GPSPositionGet(&gpsPosition);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user