Land detector: Better docs and status feedback

This commit is contained in:
Lorenz Meier
2015-05-24 11:46:25 +02:00
parent 945aa4789b
commit 073f10fe4f
2 changed files with 13 additions and 8 deletions
@@ -195,7 +195,7 @@ int land_detector_main(int argc, char *argv[])
if (land_detector_task) {
if (land_detector_task->isRunning()) {
warnx("running (%s)", _currentMode);
warnx("running (%s): %s", _currentMode, (land_detector_task->isLanded()) ? "LANDED" : "IN AIR");
} else {
errx(1, "exists, but not running (%s)", _currentMode);