Commit Graph

49 Commits

Author SHA1 Message Date
Lorenz Meier
2a2dca84bf Navigator: Do not interpret DO_SET_SPEED as 3D location, reset speed on negative value. 2016-03-13 18:09:52 +01:00
Lorenz Meier
2549505e7b Navigator: Add support to read cruising speed off a mission item 2016-03-13 18:07:47 +01:00
Andreas Antener
eb5b8a32ee transition alignment will force heading now and go to RTL if it cannot reach it in time, handle mission failure correctly, reset after mission update, issue message with actual problem 2016-02-15 23:29:38 +01:00
Andreas Antener
fbf42c8949 added auto takeoff support, updated configuration for solo and generalized landing mission items 2015-12-28 15:21:50 +01:00
Erik de Castro Lopo
87202a08b1 Navigator: Reorder data members to fix valgrind warnings
During construction of an Navigator object, a pointer to the incomplete
object was passed to the RTL constructor which then called a method on
the incomplete Navigator object accessing uninitialized data.
2015-11-26 13:29:11 +11:00
Lorenz Meier
e96fd83565 Navigator: Support takeoff command 2015-11-20 11:14:51 +01:00
Lorenz Meier
81ff8d8060 Navigator: Initialize home position at boot time 2015-11-17 09:32:35 +01:00
Lorenz Meier
51293ad554 navigator: Adjust to uORB mission changes 2015-08-20 11:07:40 +02:00
Lorenz Meier
2cf10a5e99 Navigator: Publish mission validity in mission result 2015-06-15 17:28:04 +02:00
Lorenz Meier
bc48634101 Navigator: Reject missions with relative altitude if no home was set before arming 2015-06-11 17:03:12 +02:00
Lorenz Meier
b2a694f71d navigator: Use the controller radius also as lower bound for mission items 2015-06-08 16:48:50 +02:00
Lorenz Meier
0f3438eb17 Navigator: Obey minimum turn radius the controller is capabable of. 2015-06-08 16:48:49 +02:00
Daniel Agar
25dfd84b40 Geofence max horizontal and vertical distance
-changes GF_ON to GF_MODE
-adds GF_MAX_HOR_DIST and GF_MAX_VER_DIST params
2015-04-13 22:22:19 -04:00
Ban Siesta
f0ff914b62 navigator: don't publish mission result immediately but only after every iteration of the navigator 2014-12-19 23:36:32 +00:00
Ban Siesta
2a09473e5f topics: move geofence status to its own topic 2014-12-19 22:26:31 +00:00
Steven Blass
4eb930f704 improved readability of offboard fixes 2014-11-18 08:26:29 -05:00
Thomas Gubler
7f9a231b40 Merge remote-tracking branch 'upstream/master' into offboard2_externalsetpointmessages
Conflicts:
	src/modules/navigator/navigator.h
	src/modules/navigator/navigator_main.cpp
2014-10-05 13:17:32 +02:00
Thomas Gubler
5a0e0d0412 navigator: fix status information, remove fence_valid flag (this is handled by the geofence class) 2014-09-22 10:55:02 +02:00
Thomas Gubler
8262739b62 geofence: can select gps instead of global position 2014-08-24 11:14:15 +02:00
Thomas Gubler
fd3746a233 add OBC RC loss mode to navigator 2014-08-22 23:06:14 +02:00
Thomas Gubler
752a0a5625 add obc gps failure mode 2014-08-22 00:40:45 +02:00
Thomas Gubler
760a7ff548 gpsfailure: add skeleton class, activate in commander 2014-08-20 07:45:01 +02:00
Thomas Gubler
57a250f946 navigator: remove offboard mode
offboard setpoints are now forwarded directly from mavlink
2014-08-19 09:56:32 +02:00
Thomas Gubler
b100884220 geofence: support AMSL mode 2014-08-17 12:07:02 +02:00
Thomas Gubler
8bc7d7f43d navigator: correctly use all navigator modes 2014-08-15 01:26:43 +02:00
Thomas Gubler
bffa9e3fa8 navigator: add skeleton of FW engine failure mode 2014-07-24 19:27:40 +02:00
Thomas Gubler
f10d1277a5 navigator: fix comment 2014-07-23 23:07:11 +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
Thomas Gubler
b5ef8fd2cd create empty datalinkloss class for OBC
Currently the class does the same as the RTL class. It is now possible
 whichclass is sued in the navigator to handle datalink loss via a
 parameter
2014-07-19 20:03:37 +02:00
Lorenz Meier
63c6e31ba7 Fix the most obvious compile warnings 2014-07-16 09:24:50 +02:00
Julian Oes
530e70bc46 navigator: forgot to fix conflicts 2014-07-07 15:13:27 +02:00
Julian Oes
407eafbdbb Merge branch 'master' into offboard2_merge
Conflicts:
	src/modules/navigator/navigator.h
	src/modules/navigator/navigator_main.cpp
2014-07-07 15:11:12 +02:00
Anton Babushkin
0bf9c2a9b2 navigator: API changes, reparing to move manual modes to navigator, WIP 2014-06-29 14:09:22 +02:00
Julian Oes
332f03fa67 Merge branch 'navigator_rewrite' into navigator_rewrite_offboard2_merge 2014-06-27 12:55:42 +02:00
Julian Oes
7992a063c9 navigator: added offboard mode 2014-06-27 12:54:29 +02:00
Anton Babushkin
52eb49ba0b navigator: use common "acceptance radius" parameter for all modes 2014-06-27 11:09:49 +02:00
Anton Babushkin
c5a5604ae9 navigator: loiter fixes 2014-06-26 00:17:25 +02:00
Andrew Chambers
51f05612eb Added some comments 2014-06-12 16:33:15 -07:00
Andrew Chambers
e53c2ab985 Switched to using c-type arrays 2014-06-12 16:22:04 -07:00
Andrew Chambers
9bb8b12f43 Using a vector to store navigation modes 2014-06-12 15:50:06 -07:00
Julian Oes
fd1f1c81ef navigator: added parameter for acceptance radius for take-off mission items 2014-06-10 17:24:04 +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
425b454a87 navigator: parameter cleanup 2014-06-04 15:33:09 +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