Merge pull request #7032 from etracer65/gps_rescue_yaw_rate

Reduce GPS Rescue max yaw rate
This commit is contained in:
Michael Keller 2018-11-04 13:15:58 +13:00 committed by GitHub
commit 887eada818
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -111,7 +111,7 @@ typedef struct {
bool isFailsafe;
} rescueState_s;
#define GPS_RESCUE_MAX_YAW_RATE 360 // deg/sec max yaw rate
#define GPS_RESCUE_MAX_YAW_RATE 180 // deg/sec max yaw rate
#define GPS_RESCUE_RATE_SCALE_DEGREES 45 // Scale the commanded yaw rate when the error is less then this angle
PG_REGISTER_WITH_RESET_TEMPLATE(gpsRescueConfig_t, gpsRescueConfig, PG_GPS_RESCUE, 1);