Reduce GPS Rescue max yaw rate

Addresses concerns that the initial yaw to turn towards home might be overly agressive.
This commit is contained in:
Bruce Luckcuck 2018-11-02 07:30:15 -04:00
parent 0fae0a49c5
commit d1251cbc39
1 changed files with 1 additions and 1 deletions

View File

@ -110,7 +110,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);