Lorenz Meier
f70b4ef883
Navigator: Fix RTL state handling by enabling auto-continue after descend
2017-04-14 10:02:31 +02:00
Lorenz Meier
85b074f8d8
Navigator: Fix RTL state sequence
2017-04-10 23:34:35 +02:00
Lorenz Meier
f74d6e443e
Navigator: Initialize RTL state properly
2017-04-08 07:58:37 +02:00
Dennis Mannhart
1774e01c00
rtl: keep rtl altitude below max altitude
...
land_detector: delete unused class enum
2017-02-27 22:54:19 +01:00
Lorenz Meier
7710b64d27
Navigator: Re-initialize RTL every time it gets re-enabled
2017-02-26 13:26:52 +01:00
Lorenz Meier
ad3d0391ab
Navigator: Only update params as they change
2017-02-25 11:04:52 +01:00
Lorenz Meier
d66d7a4932
Navigator: Fix code style
2017-02-17 09:13:13 +01:00
Lorenz Meier
c8fb21e73e
Navigator: Enforce a minimum altitude for RTL
2017-02-17 09:13:13 +01:00
Lorenz Meier
16dfd4c6ff
Navigator: Header cleanup
2016-12-27 21:00:51 +01:00
Daniel Agar
6f10f8de9a
navigator begin fixing code style
2016-11-19 15:16:00 +01:00
Lorenz Meier
05bc9acfb7
navigator: Wrap get time inside into function call and set time inside to zero
...
This ensures that the dual-use of the pitch_min / time_inside field is handled
properly between takeoff and non-takeoff items. Flight tested in SITL.
2016-10-23 16:26:03 +02:00
Lorenz Meier
eaae1abdaf
Simplify use of pitch_min
2016-10-23 16:26:03 +02:00
Lorenz Meier
9821499113
navigator / mission item: Compress fields into bitfield
2016-10-23 16:26:03 +02:00
Lorenz Meier
86a5244bc9
RTL: Set RTL messages to info so they do not distract the user from the actual operation
2016-05-10 12:40:59 +02:00
Lorenz Meier
268b2e3546
Improve yaw behaviour in RTL
2016-04-23 15:47:00 +02:00
Lorenz Meier
5569d5444b
Fix incorrect use of constant
2016-04-21 10:02:52 +02:00
sander
3307c71e6d
Additional yaw handling on land
2016-04-21 09:32:33 +02:00
sander
e2812e34f8
Restore yaw orientation on RTL descend
2016-04-21 09:32:33 +02:00
sander
f5d3871b9c
Fix RTL vtol back transition
2016-04-21 09:32:33 +02:00
Andreas Antener
e42206fc61
use waypoint type for RTL descent phase
2016-04-21 09:32:33 +02:00
Andreas Antener
f224375641
VTOL: transition to MC before descent in RTL
2016-04-21 09:32:33 +02:00
Julian Oes
1f44fb1efd
commander: internalize system status bools
...
Most condition bools in the commander are not used anywhere but in the
commander. It therefore makes sense to move them to a different internal
struct and remove them from the vehicle_status message.
Also, the land_detected should be used by all the modules instead of
getting it through the commander and system_status.
2016-04-11 18:01:47 +02:00
Julian Oes
bba0d0384d
drivers/modules: changes after mavlink_log change
...
The mavlink_log API changes lead to changes in all drivers/modules using
it.
2016-03-24 13:10:02 +01:00
Andreas Antener
4847023cad
reset current setpoint when entering RTL
2016-03-19 19:30:09 +04: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
Lorenz Meier
85fcfed083
Add missing yaw entries
2015-10-31 20:17:13 +01:00
Lorenz Meier
5394c661c7
Navigator: Fix RTL to return in a straight line
2015-10-31 19:04:12 +01:00
Lorenz Meier
5759358da9
Navigator: Use yaw of home position
2015-10-27 09:59:09 +01:00
Lorenz Meier
51293ad554
navigator: Adjust to uORB mission changes
2015-08-20 11:07:40 +02:00
Lorenz Meier
b3ed0cf36b
Navigator: be more verbose about RTL
2015-05-11 09:37:42 +02:00
Lorenz Meier
4b34221614
navigator: Get rid of audio tag in strings and use appropriate priority to get audio out when needed in the GCS
2015-04-14 13:25:49 +02:00
Thomas Gubler
5406ba78a8
make navigator mode a child of navigator
2014-08-15 20:53:03 +02:00
Anton Babushkin
904cfd7c49
Merge branch 'master' into navigator_rewrite_drton
2014-07-04 15:28:02 +02:00
Lorenz Meier
20de2da032
Navigator: Warning fixes
2014-06-30 12:20:23 +02:00
Anton Babushkin
adf230ce4e
navigator: more API changes, duplicate code removed
2014-06-29 15:35:34 +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
52eb49ba0b
navigator: use common "acceptance radius" parameter for all modes
2014-06-27 11:09:49 +02:00
Anton Babushkin
9ae44291b1
navigator: added NAV_CMD_IDLE, added RTL_STATE_LOITER and RTL_STATE_LANDED instead of FINISHED
2014-06-27 00:27:08 +02:00
Anton Babushkin
8e8798a522
navigator: spaces/tabs fixed, old commented code removed
2014-06-26 23:39:17 +02:00
Anton Babushkin
63e14c73ba
navigator: don't reset RTL state on loiter
2014-06-26 12:18:19 +02:00
Anton Babushkin
c5a5604ae9
navigator: loiter fixes
2014-06-26 00:17:25 +02:00
Anton Babushkin
39454ca99d
navigator: RTL return altitude fixed
2014-06-25 17:56:30 +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
13b6dffb2e
navigator: don't reset descend WP in RTL
2014-06-07 17:18:58 +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
d78c3a2242
navigator: new class structure, loiter and mission working
2014-06-06 17:17:41 +02:00
Julian Oes
425b454a87
navigator: parameter cleanup
2014-06-04 15:33:09 +02:00
Julian Oes
09e4cc605b
navigator: use different param names for mission and RTL
2014-06-04 15:16:20 +02:00