Commit Graph
51 Commits
Author SHA1 Message Date
sander 26c8df0eb9 Sanitize vtol_takeoff behavior 2016-04-02 21:29:26 +01:00
sander 31862be420 Workitem handling for land 2016-04-02 21:29:26 +01:00
sander 903a0cd689 Vtol takeoff/land handling in work items 2016-04-02 21:29:25 +01:00
sander 8d8c3f9683 Implement forced VTOL landing 2016-04-02 21:29:25 +01:00
sander a713fd4197 Implemented VTOL_TAKEOFF and VTOL_LAND commands 2016-04-02 21:29:25 +01:00
Andreas Antener d9cabde13e reset mission after vehicle was in mission and then disarms 2016-03-27 12:25:47 +02:00
Andreas Antener 570fb97163 updated timeout logic to work only on waypoints with forced headings, updated param docs accordingly 2016-02-15 23:29:47 +01:00
Andreas Antener dfb31f2252 finish moving to waypoint after a back transition 2016-02-08 11:09:11 +01:00
Andreas Antener b75eaf3c4a implemented takeoff before WP and move to WP before land 2016-02-08 11:09:10 +01:00
Andreas Antener 93bc018c93 read current and next mission item at the same time, issue item commands while processing items, guarding setpoint from non-position items 2016-02-08 11:09:10 +01:00
sander fdcfb7c7c6 Mission feasibility fixes
- Fixes https://github.com/PX4/Firmware/issues/3656
- Fixes https://github.com/PX4/Firmware/issues/3648
- Corrected spelling on method
2016-02-04 20:44:35 +01:00
Andreas Antener 4b9a793c8f properly handle takeoff waypoint when not currently at takeoff location 2016-01-07 22:24:32 +01:00
Thomas Gubler 2af066bc6a guard against invalid yawmode values 2015-12-28 16:49:09 +01:00
Lorenz Meier 3c8411d7ed Navigator: Fix return value typo for abs altitude 2015-12-22 13:28:58 +01:00
Lorenz Meier 253b8f50ce Load missions correctly after restart. Fixes #2564 2015-07-17 20:35:07 +02:00
Lorenz Meier 41f535ae26 navigator: Include distance to first waypoint in mission check, provide warning feedback 2015-06-15 17:28:05 +02:00
Lorenz Meier 174f4d27f3 Navigator: output new mission status 2015-06-15 17:28:05 +02:00
Lorenz Meier 7540aa6b87 Navigator: Make logic using previous and current altitudes consistent 2015-06-11 21:05:38 +02:00
Simon Wilks e9bcc0a262 Add yaw modes that define multirotor heading behaviour during missions. 2015-01-31 11:22:01 +01:00
Ban Siesta 180e17de33 navigator: report using mission result if a DO_JUMP waypoint has been changed 2014-12-19 23:38:55 +00:00
Lorenz Meier 2722921b30 Fixed function name of mission modification logic, attributed @DrTon 2014-10-05 12:30:29 +02:00
Thomas Gubler 3cebfd4045 Merge remote-tracking branch 'upstream/master' into takeoff_fix
Conflicts:
	src/modules/navigator/mission.cpp
2014-10-05 10:55:12 +02:00
Thomas Gubler 3efffb68e7 Merge remote-tracking branch 'upstream/master' into HEAD
Conflicts:
	src/modules/fw_pos_control_l1/fw_pos_control_l1_main.cpp
	src/modules/navigator/geofence.cpp
	src/modules/navigator/mission.cpp
2014-09-28 12:36:26 +02:00
Anton Babushkin 1cc5f3778d Merge branch 'master' into takeoff_fix 2014-09-28 13:41:21 +04:00
Thomas Gubler 9cf5e6f7b2 whitespace 2014-09-03 22:08:03 +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
Anton Babushkin ee254be845 navigator: skip takeoff if already above takeoff altitude 2014-08-16 11:16:27 +02:00
Thomas Gubler 24f380137e add method to block fallback to mission
failsafe navigation modes can use a flag in mission_result to tell the
commander to not switch back to mission
2014-07-23 22:58:19 +02: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 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 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 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 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 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