navigator: NAV_STATE_INIT removed, minor fixes

This commit is contained in:
Anton Babushkin
2013-12-31 12:46:35 +04:00
parent c35c0a90d3
commit d35a169907
4 changed files with 52 additions and 58 deletions
+1 -1
View File
@@ -59,7 +59,7 @@ struct home_position_s
{
uint64_t timestamp; /**< Timestamp (microseconds since system boot) */
bool altitude_is_relative;
//bool altitude_is_relative; // TODO what means home relative altitude? we need clear definition of reference altitude then
double lat; /**< Latitude in degrees */
double lon; /**< Longitude in degrees */
float altitude; /**< Altitude in meters */
@@ -62,8 +62,7 @@
*/
typedef enum {
NAV_STATE_INIT = 0,
NAV_STATE_NONE,
NAV_STATE_NONE = 0,
NAV_STATE_LOITER,
NAV_STATE_MISSION,
NAV_STATE_MISSION_LOITER,