38 Commits

Author SHA1 Message Date
Thomas Gubler
67422c9896 foh alt mode: never sink below previous wp alt 2014-09-04 11:41:13 +02:00
Thomas Gubler
5a35d20b7b FOH mode for altitude
This introduces a parameter for the navigator. When enabled the navigator
publishes a first order old (FOH) type altitude setpoint instead of the
default zero order hold. For takeoff and landing the FOH mode is not
active. The FOH altitude is calculated such that the sp reaches the
altitude of the waypoint when the system is at a horizontal distance
equal to the acceptance radius. Also the altitude setpoint will only
converge towards the waypoint altitude but never diverge.
2014-09-03 21:30:56 +02:00
Lorenz Meier
4d03202c4c Warn on far waypoints 2014-08-01 23:42:26 +02:00
Lorenz Meier
f03f6ddd74 Improve user feedback on mission load fails 2014-07-24 17:57:15 +02:00
Lorenz Meier
065bf013a4 More obvious error message for mission reject 2014-07-12 14:29:30 +02:00
Anton Babushkin
e57579fa21 mavlink, navigator: compile errors/warnings fixed 2014-07-10 17:08:23 +02:00
Anton Babushkin
fc1669b096 Merge branch master into dataman_state_nav_rewrite 2014-07-10 14:11:25 +02:00
Anton Babushkin
9b2d444cc5 dataman: use DM_KEY_WAYPOINTS_OFFBOARD() macro everywhere 2014-07-10 14:08:09 +02:00
Don Gagne
680ebf29c3 Fix compiler warnings 2014-07-07 15:11:46 -07:00
Anton Babushkin
a29f7cad39 navigator: reject mission if the first waypoint is too far from home 2014-07-07 15:18:54 +02:00
Anton Babushkin
3f307fa0d7 Merge branch 'dataman_state_nav_rewrite' into follower2 2014-07-04 17:29:20 +02:00
Anton Babushkin
829a317d23 navigator: takeoff altitude fixed 2014-07-04 15:49:02 +02:00
Anton Babushkin
59775efaad navigator: takeoff on start of mission implemented 2014-06-30 12:02:29 +02:00
Anton Babushkin
a4315aee2e navigator: mission mode fixed 2014-06-30 10:47:08 +02:00
Lorenz Meier
ecee13861c Merged master 2014-06-29 19:12:35 +02:00
Anton Babushkin
adf230ce4e navigator: more API changes, duplicate code removed 2014-06-29 15:35:34 +02:00
Anton Babushkin
0bf9c2a9b2 navigator: API changes, reparing to move manual modes to navigator, WIP 2014-06-29 14:09:22 +02:00
Anton Babushkin
12be974bd6 navigator: whitespace fix 2014-06-29 13:07:38 +02:00
Anton Babushkin
456e628e12 navigator: NavigatorMode and MissionBlock API cleanup 2014-06-28 00:54:27 +02:00
Anton Babushkin
affc312411 navigator: make MissionBlock subclass of NavigatorMode 2014-06-27 11:34:19 +02:00
Anton Babushkin
c5a5604ae9 navigator: loiter fixes 2014-06-26 00:17:25 +02:00
Anton Babushkin
9d3d5a30af navigator: move set_previous_pos_sp to MissionBlock class 2014-06-25 17:31:12 +02:00
Anton Babushkin
5be741607c mavlink: mission manager moved to separate class and reworked 2014-06-14 23:57:29 +02:00
Anton Babushkin
91b590ef58 Move MISSION_STATE read/write from mavlink to navigator and commander 2014-06-13 23:40:48 +02:00
Julian Oes
3b39a8a789 navigator: rename update and reset calls to on_active and on_inactive 2014-06-12 19:37:25 +02:00
Julian Oes
d9a64bb587 navigator: don't give up after DO_JUMPS 2014-06-11 23:16:22 +02:00
Julian Oes
6f24afd68a navigator: always listen to new current mission index and to new missions 2014-06-10 17:33:12 +02:00
Julian Oes
94c4fc56aa navigator: audio messages about what is happening, RTL during mission not triggered but after mission 2014-06-06 23:08:11 +02:00
Julian Oes
1bec9dfe2b navigator: RTL working again 2014-06-06 20:02:38 +02:00
Julian Oes
85d7fdc741 navigator: param enhancements 2014-06-06 18:13:45 +02:00
Julian Oes
d78c3a2242 navigator: new class structure, loiter and mission working 2014-06-06 17:17:41 +02:00
Julian Oes
7af1103bf3 navigator: mission and loiter working now 2014-06-06 00:55:18 +02:00
Julian Oes
09e4cc605b navigator: use different param names for mission and RTL 2014-06-04 15:16:20 +02:00
Julian Oes
93295861c5 navigator: missions work again, loiter when finished or no mission available or sd card removed works as well 2014-06-04 01:07:50 +02:00
Julian Oes
82b7b80f47 navigator: bugfixing (WIP: mission topic not copying) 2014-06-03 21:20:44 +02:00
Julian Oes
854bb7fe08 navigator: mission class added (WIP) 2014-06-03 16:01:28 +02:00
Julian Oes
063caba36b Merge branch 'master' into navigator_rewrite
Conflicts:
	src/drivers/gps/gps.cpp
	src/drivers/gps/mtk.cpp
	src/modules/commander/commander.cpp
	src/modules/ekf_att_pos_estimator/ekf_att_pos_estimator_main.cpp
	src/modules/navigator/mission.cpp
	src/modules/navigator/mission.h
	src/modules/navigator/navigator_main.cpp
	src/modules/navigator/navigator_state.h
	src/modules/position_estimator_inav/position_estimator_inav_main.c
2014-05-26 20:19:11 +02:00
Julian Oes
c3c0328e8b navigator: lot's of cleanup (WIP) 2014-04-21 17:36:59 +02:00