Commit Graph

87 Commits

Author SHA1 Message Date
Julian Oes
8e9e9f8a8b vehicle_status: move vtol_vehicle_status enum
It makes more sense to have the VTOL status in its own message.
2016-04-11 18:01:47 +02:00
sander
7338fe889e Only set virtual waypoint for VTOL_TAKEOFF. Fixes #4193 2016-04-09 13:24:20 +02:00
sander
cbe7bd2198 Set virtual waypoint for VTOL_TAKEOFF item 2016-04-02 21:29:27 +01:00
sander
4fc24dce60 Set correct setpoint type for vtol transitions 2016-04-02 21:29:27 +01:00
sander
dcacefb0d3 Ignore position for VTOL_TAKEOFF 2016-04-02 21:29:26 +01:00
sander
3f256a778d apply vtol_force_vtol
remove debug output
2016-04-02 21:29:26 +01:00
sander
b99e3e0ae2 Wait for VTOL transition command to complete 2016-04-02 21:29:26 +01:00
sander
240c8fbee1 Fix VTOL_LAND to have correct SETPOINT_TYPE 2016-04-02 21:29:26 +01:00
Jimmy Johnson
fbd2edaae5 fixing possible safety issue with altitude 2016-03-27 12:10:57 +02:00
Lorenz Meier
88b2349241 Code style fixes 2016-03-27 12:10:57 +02:00
Jimmy Johnson
f2777cb6ee making code more robust 2016-03-27 12:10:57 +02:00
Jimmy Johnson
6ff1b2d896 Replacing SETPOINT_TYPE_VELOCITY use with velocity and position valid
booleans in setpoint struct
2016-03-27 12:10:57 +02:00
Jimmy Johnson
3aaad68c76 fixed position tracking overshoot 2016-03-27 12:10:57 +02:00
Jimmy Johnson
dfc2d9b5e0 more clean up 2016-03-27 12:10:57 +02:00
Jimmy Johnson
8829db8844 code clean up complete 2016-03-27 12:10:57 +02:00
Jimmy Johnson
01e971b342 Tests 2016-03-27 12:10:57 +02:00
Jimmy Johnson
0797c7fc21 velocity smoothing 2016-03-27 12:10:57 +02:00
Jimmy Johnson
69351675b6 follow target mode working 2016-03-27 12:10:57 +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
Daniel Agar
408d147a18 MissionFeasibilityChecker geofence ignore NAV_CMD_DO_*
-closes #4040
2016-03-22 06:54:41 +01:00
Andreas Antener
4847023cad reset current setpoint when entering RTL 2016-03-19 19:30:09 +04:00
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
Daniel Agar
2eea0af843 navigator only accept waypoints if !landed 2016-03-03 10:15:35 +01:00
Lorenz Meier
362e0316f7 Navigator: Forward trigger distance commands 2016-02-23 09:25:47 +01:00
Mark Charlebois
0637437d8d Backed out added code from bad merge
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-02-19 16:59:44 +01:00
Mark Charlebois
014f15d8b0 Rebase changes on upstream master
This brings in many of the changes from the PX4 fork on ATLFLight.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-02-19 16:59:43 +01:00
Mark Charlebois
9cf44c0a31 Backed out added code from bad merge
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-02-19 16:59:42 +01:00
Mark Charlebois
9f3bf8e9f4 Rebase changes on upstream master
This brings in many of the changes from the PX4 fork on ATLFLight.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-02-19 16:59:41 +01:00
Andreas Antener
967b404de8 only run FW posctl in FW mode and ramp up desired airspeed for tecs after transition 2016-02-18 18:55:56 +01: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
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
bb4decfa8b implemented basic heading timeout for waypoint acceptance, added parameter for yaw error on waypoint heading acceptance, set yaw timeout for vtol default 2016-02-15 23:26:28 +01:00
Roman
80f8fcbdf6 implemented vtol weathervane yaw control for landing and loiter mission item 2016-02-15 09:48:37 +01:00
sander
581623cd48 Fix for transition failsafe 2016-02-11 23:38:30 +01:00
Andreas Antener
baa11e357d refactored do_set_servo handling and generalized formatting of CMD mavlink mission items, fixes #3644 2016-02-08 11:09:12 +01:00
Andreas Antener
e32ec2a29a wait until until vehicle enters transition before continuing after transition command 2016-02-08 11:09:11 +01:00
Andreas Antener
ff47cae7c1 removed warning 2016-02-08 11:09:11 +01:00
Andreas Antener
02aa0eacd5 align towards next waypoint before MC to FW 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
9e0c636b97 RTL transition set constant 2016-02-07 18:19:32 +01:00
sander
9ad39fec67 If VTOL then transition to RW before landing in RTL 2016-02-07 18:19:32 +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
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
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
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
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