Commit Graph
509 Commits
Author SHA1 Message Date
sander 949b0738e1 Remove run-once procedure on check_dist_1wp 2016-02-07 17:56:10 +01:00
Andreas Antener 48ea0230e1 minimum clearance for separate takeoff item needs to be bigger than acceptance radius 2016-02-07 01:32:34 +01:00
Andreas Antener 248bbcb520 use system specific acceptance radius for multirotor takeoff, ignore mission item 2016-02-07 01:32:34 +01:00
Lorenz Meier 1aff724ee2 Reject loiter turns 2016-02-06 13:42:03 +01:00
Lorenz Meier d8892eb86d Navigator: Announce app name in poll error return 2016-02-05 00:52:35 +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
sander f0bad06bfd Fixes https://github.com/PX4/Firmware/issues/3658 2016-02-03 11:48:42 +01:00
Andreas Antener 3928924c43 RTL was broken by a recent change, revert
Revert "for multicopter landings make sure that the copter moves"

This reverts commit ad1058d3742bbfa9cbd16648aa2925fa1e618a55.
2016-01-26 15:53:52 +01:00
Lorenz Meier 081da8bb7f Navigator: Force yaw pointing towards waypoint for all cases 2016-01-24 16:34:36 +01:00
Lorenz Meier 737fe1fc7f Always perform yaw SP generation, not only in multicopter mode 2016-01-24 16:30:21 +01:00
Lorenz Meier 06b496e257 Navigator: Only set acceptance radius based on navigation capabilities for fixed wing flight. 2016-01-24 14:08:41 +01:00
sander 9a8e94bb68 Reject mission when starting with LAND and vehicle is landed 2016-01-24 11:19:00 +01:00
Roman 0102e47708 for multicopter landings make sure that the copter moves
to the landing waypoint first before the descending phase starts
2016-01-22 18:27:13 +01:00
tumbili 07fafc4913 multirotor mission feasibility checks:
make sure that the relative altitude of the takeoff waypoint is
at least one meter higher than the acceptance radius of the waypoint.
This makes sure that the takeoff waypoint is not reached before the vehicle
is at least one meter in the air.
2016-01-17 13:09:28 +01:00
Andreas Antener 7e7b21cbdc use raw parameter floats if mission item is a mission command 2016-01-11 08:19:00 +01:00
Lorenz Meier 77782bd254 Navigator: Support transition command and digicam command in missions 2016-01-11 08:19:00 +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 7c52e8b96f Improve landing for special yawmode settings 2015-12-28 16:49:09 +01:00
Thomas Gubler 2af066bc6a guard against invalid yawmode values 2015-12-28 16:49:09 +01:00
Andreas Antener c033ef959a proper setpoint handling on takeoff, switch to loiter sp when takeoff finished 2015-12-28 15:23:20 +01:00
Andreas Antener fe90e7882b do mission notifications for landing, switch to idle setpoint when landed 2015-12-28 15:23:20 +01:00
Andreas Antener 09b5bdb1ee in mc auto: do not reset the position sp while near the waypoint, should make switching to manual pos control smoother 2015-12-28 15:23:20 +01:00
Andreas Antener f17c5d8d55 fixing takeoff mission and swtiching to previous flight mode after land/takeoff 2015-12-28 15:21:50 +01:00
Andreas Antener 44f13006dd update mission state on takeoff 2015-12-28 15:21:50 +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
Lorenz Meier 511c663996 Takeoff: Set home yaw if executed as flight mode command. 2015-12-28 15:14:40 +01:00
Lorenz Meier 73216e0497 Fixed geofence verbosity 2015-12-24 14:37:18 +01:00
Lorenz Meier 63da175b3f Fix spurious mission warning 2015-12-23 12:47:37 +01:00
Lorenz Meier 3c8411d7ed Navigator: Fix return value typo for abs altitude 2015-12-22 13:28:58 +01:00
Lorenz Meier 2041e3f3bc Handle unsupported commands gracefully in terms of their numerical range. Introduce an error code for out-of-range commands. 2015-12-21 09:19:39 +01:00
Daniel Agar 3bb0c4f6b9 add geofence param metadata 2015-12-16 01:25:32 -05:00
Lorenz Meier 590f00f560 Navigator: Set sane defaults for navigation and loiter waypoints with zero acceptance radius or orbit 2015-12-04 10:51:37 +01:00
Lorenz Meier abbd560a90 Feasibility checker: Do not accept ROI 2015-12-04 09:51:39 +01:00
Lorenz Meier daee5eeefa Mission handling: Use default acceptance radius in case its set to zero 2015-12-03 21:25:27 +01:00
Lorenz Meier 557fd3d99b Navigation: Turn mission item into packed struct and make nav_cmd compiler-independent 2015-12-02 09:15:11 +01:00
Lorenz Meier 6828e4db2c Geofence: Use machine data types 2015-12-02 09:14:08 +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 57b9ac05de Navigator: taking off now on takeoff command, but not yet holding altitude once completed. 2015-11-23 00:23:13 +01:00
Lorenz Meier 4950762d4e Navigator: Fix compile error 2015-11-22 15:55:49 +01:00
Lorenz Meier 4fa0123652 Navigator: Only indicate timeout if we really time out 2015-11-22 14:01:52 +01:00
Lorenz Meier 6be674cb74 Navigator: Move to orb_check() API use 2015-11-22 13:59:24 +01:00
Lorenz Meier 6ebc26811f Make MAVLink less chatty 2015-11-21 23:07:18 +01:00
Lorenz Meier 9c80375a78 Navigator: Fix header file name typo 2015-11-20 11:36:57 +01:00
Lorenz Meier e96fd83565 Navigator: Support takeoff command 2015-11-20 11:14:51 +01:00
Roman 3d3398e330 added code handling aborting landings 2015-11-17 22:28:09 +01:00
Lorenz Meier b6a959ad3e Navigator: Code style 2015-11-17 12:23:41 +01:00
Lorenz Meier 81ff8d8060 Navigator: Initialize home position at boot time 2015-11-17 09:32:35 +01:00
Lorenz Meier 9b758e7285 Set minimum takeoff alt to 2.5 meters 2015-11-14 12:07:19 +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