Commit Graph
150 Commits
Author SHA1 Message Date
Julian Oes a18eabead4 navigator: whitespace 2016-07-29 17:44:50 +02:00
Daniel Agar a9cb2d2fbe navigator mission don't report loiter if landed 2016-07-27 10:39:07 +02:00
Daniel Agar 59b4350aa0 implement MAV_CMD_NAV_LOITER_TO_ALT and general mission cleanup 2016-07-12 23:36:05 +02:00
Daniel Agar 07fa814597 FW vtol landing always forced (#4939) 2016-06-30 13:55:47 +02:00
Daniel Agar 2487dbfc92 remove Wpacked and cleanup unused warning flags 2016-05-19 21:49:34 +02:00
Lorenz Meier 65f9a86c19 Navigator: Only run FOH logic when in mission mode 2016-05-10 10:13:37 +02:00
Michal Stasiak 9db80b75f4 Auto take-off corner case: Reset work item type when landed 2016-05-03 14:04:33 +02:00
Julian Oes 50c36296fa navigator: compile fixes after rebase 2016-04-11 18:01:49 +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
sander 42eff31c84 Keep current altitude for vtol move to land after transition 2016-04-09 12:23:43 +02:00
Andreas Antener 7f5a2b1bac only use the default acceptance radius for checking mission feasibility 2016-04-08 22:40:02 -07:00
sander cbe7bd2198 Set virtual waypoint for VTOL_TAKEOFF item 2016-04-02 21:29:27 +01:00
sander a9511478f2 Don't allow yaw updates during transition 2016-04-02 21:29:26 +01:00
sander f9037b9ca7 Force vtol by default and correct param name 2016-04-02 21:29:26 +01:00
sander 4171e89137 Code style and commenting 2016-04-02 21:29:26 +01:00
sander b922ceecfd Rename VT_FORCE_VTOL to VT_NAV_FORCE_VTL 2016-04-02 21:29:26 +01:00
sander 26c8df0eb9 Sanitize vtol_takeoff behavior 2016-04-02 21:29:26 +01:00
sander 1a20de7908 Fix aligning to next waypoint for regular transition command 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
Andreas Antener aafeab63d5 do not try to calculate FOH altitude when distance and acceptance radius are 0 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
James Goppert 5418e17a99 Navigator mavlink_fd rename fix. 2016-03-27 15:35:47 -04:00
Lorenz Meier 4aceb21d19 Mission: Be less chatty 2016-03-27 12:26:33 +02:00
Andreas Antener d9cabde13e reset mission after vehicle was in mission and then disarms 2016-03-27 12:25: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
sander 90276fa3a7 VTOL: check feasibility as rotary wing 2016-02-18 21:42:37 +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 ff43c1ab6a disable yaw on takeoff wp before heading update 2016-02-11 16:53:35 +01:00
Andreas Antener fb8b981015 make FOH and yaw mode work in parallel 2016-02-08 23:36:07 +01:00
Andreas Antener a63197b82b prevent home yaw mode for vtol during transitions 2016-02-08 11:09:12 +01:00
Andreas Antener 7af0816570 fixed yaw calculation for all yaw modes and stay during loiter items 2016-02-08 11:09:12 +01:00
Andreas Antener 20ef3adb1f set relative altitude to false when using the feedback for the landing waypint 2016-02-08 11:09:12 +01:00
Andreas Antener 46bd1cbacf only update previous setpoint if we read a new actual position setpoin, prevent yawing between waypoints inside the acceptance radius 2016-02-08 11:09:12 +01:00
Andreas Antener 134e95efda don't use waypoint heading for landing descent 2016-02-08 11:09:12 +01:00
Andreas Antener b05465470a ignore wp altitude for intermediate landing wp so it doesn't descent before it is in landing mode 2016-02-08 11:09:12 +01:00
Andreas Antener fec7950424 prevent yaw setpoint from changeing constantly when we're over it 2016-02-08 11:09:12 +01:00
Andreas Antener 26c635359e updated some message severities and clarified reset in pos controller 2016-02-08 11:09:11 +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 1351c6f68c small fixes 2016-02-08 11:09:11 +01:00
Andreas Antener dfb31f2252 finish moving to waypoint after a back transition 2016-02-08 11:09:11 +01:00
Andreas Antener 0bdfb465cf set correct mission item type for aligning before transition 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 ac985ee1c7 fixed mission item iteration 2016-02-08 11:09:10 +01:00