Commit Graph

105 Commits

Author SHA1 Message Date
sander
e6834579e5 Use altitude acc rad 2016-08-17 23:58:04 +02:00
sander
7afa21ebb7 Revert altitude acceptance radius to combat overshoot 2016-08-17 23:58:04 +02:00
Daniel Agar
2a15578f8d FW implement MAV_CMD_DO_GO_AROUND 2016-08-06 20:56:53 +02:00
sander
788f04ea58 Remove debug info 2016-07-30 11:43:52 +02:00
sander
2bca19fc5e Remove acceptance radius from takeoff altitude for MC 2016-07-30 11:43:52 +02:00
sander
e4f20f98cd Implement altitude acceptance radius 2016-07-30 11:43:52 +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
7f89994785 use NAV_ACC_RAD for vertical waypoint acceptance (#4978) 2016-07-04 21:41:16 +02:00
Daniel Agar
07fa814597 FW vtol landing always forced (#4939) 2016-06-30 13:55:47 +02:00
sander
37531c018a Implement MAV_CMD_DO_CHANGE_SPEED throttle 2016-06-23 09:08:35 +02:00
Jimmy Johnson
38b4278998 minimum follow target alt of 8 m added, protecting against nan values in pos controller, fixing ci build error 2016-05-16 15:11:57 -07:00
Lorenz Meier
05b19c8e85 Fix yaw handling for land command 2016-05-10 12:09:47 +02:00
sander
3307c71e6d Additional yaw handling on land 2016-04-21 09:32:33 +02:00
Julian Oes
6abc55c303 navigator: whitespace 2016-04-11 18:01:49 +02:00
Julian Oes
34e504aec5 navigator: fix after rebase 2016-04-11 18:01:49 +02:00
Julian Oes
50c36296fa navigator: compile fixes after rebase 2016-04-11 18:01:49 +02:00
Julian Oes
05d64b3342 navigator: fix for vehicle status refactor 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
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