adding individual warnings for all defined reset conditions

This commit is contained in:
Thomas Gubler 2014-06-15 10:56:07 +02:00
parent 582a082fb4
commit de5c3580b3
1 changed files with 14 additions and 0 deletions

View File

@ -997,6 +997,20 @@ FixedwingEstimator::task_main()
mavlink_log_info(_mavlink_fd, "%s%s", ekfname, str);
break;
}
case 5:
{
const char* str = "diverged too far from GPS";
warnx("%s", str);
mavlink_log_info(_mavlink_fd, "%s%s", ekfname, str);
break;
}
case 6:
{
const char* str = "excessive covariances";
warnx("%s", str);
mavlink_log_info(_mavlink_fd, "%s%s", ekfname, str);
break;
}
default:
{