Improve feedback when auto mode is rejected due to a non suitable mission

This commit is contained in:
Lorenz Meier
2015-06-11 17:03:13 +02:00
parent bc48634101
commit a66b1b9d04
4 changed files with 19 additions and 17 deletions
+4 -1
View File
@@ -209,7 +209,10 @@ Navigator::home_position_update()
if (updated) {
orb_copy(ORB_ID(home_position), _home_pos_sub, &_home_pos);
_home_position_set = true;
if (_home_pos.timestamp > 0) {
_home_position_set = true;
}
}
}