|
//GPS OK?
if (!home_is_set ||
gps.status() < AP_GPS::GPS_OK_FIX_3D ||
AP_Notify::flags.gps_glitching ||
AP_Notify::flags.failsafe_gps) {
if (report) {
gcs_send_text_P(SEVERITY_HIGH,PSTR("PreArm: Bad GPS Pos"));
}
return false;
}
1. GPS 没有Lock。没有获取3D Fix -> 等待
2. GPS 还在飘 -> 等
3. GPS 丢失信号,触发了GPS failsafe -> 重启
在空旷场地等待5分钟还是出现问题就考虑GPS连接问题,terminal -> test -> gps
|
|