Commit Graph

1454 Commits

Author SHA1 Message Date
Andrew Tridgell 21ed86004a Plane: raise the default WP radius
with L1 a large radius doesn't mean it turns too early
2014-08-30 07:43:11 +10:00
Andrew Tridgell 292517b88b Plane: only override takeoff/land flaps if non-zero 2014-08-30 05:16:42 +10:00
Andrew Tridgell 5c96838473 Plane: allow zero throttle in LAND_STAGE_FINAL 2014-08-30 05:15:25 +10:00
Andrew Tridgell 5af4cefff3 Plane: added FLAP_SLEWRATE parameter
makes for smoother transition of flaps
2014-08-29 20:31:03 +10:00
Andrew Tridgell f66039c9b4 Plane: added TKOFF_FLAP_PCNT and LAND_FLAP_PERCENT
easier control of flaps for takeoff and landing
2014-08-29 20:31:03 +10:00
Andrew Tridgell b94bc0c243 Plane: don't use ground steering until flare in landing
we need to be able to guide the plane fully in the landing approach
2014-08-29 20:31:03 +10:00
Andrew Tridgell 988662027e Plane: moved LAND_PITCH_CD into TECS 2014-08-27 20:13:19 +10:00
Andrew Tridgell 186806c768 Plane: lowpass the rangefinder correction, not height
this should produce less lag as the rangefinder correction should be
changing much less
2014-08-27 18:25:17 +10:00
Andrew Tridgell 24622030b4 Plane: improved landing glide slope
we project a point 500m past the landing point to prevent
discontinuites close to the landing point
2014-08-27 17:14:19 +10:00
Andrew Tridgell a6ee46086c Plane: allow continued use of rangefinder data for 5s after loss of contact
this allows short outages to be ridden out
2014-08-27 17:14:19 +10:00
Andrew Tridgell 50f492a69f Plane: added RNGFND_LANDING option
this allows the use of a rangefinder for landing flare and landing
approach
2014-08-27 17:14:19 +10:00
Andrew Tridgell b6319a9d19 Plane: keep an estimate of the rangefinder altitude
only accept data when we have had 10 samples in a row in range at 50Hz
2014-08-27 17:14:19 +10:00
Andrew Tridgell d0b6676547 Plane: do landing flare if past landing point
this helps prevent us keeping the throttle on after we've landed if
the baro has drifted enough that we think we are not yet at the flare altitude
2014-08-27 17:14:19 +10:00
Andrew Tridgell b102c9d19c Plane: use ground steering logic for final stage of auto landing
this should improve runway tracking
2014-08-27 17:14:19 +10:00
Andrew Tridgell 5f3ac159ba Plane: start working towards 3.1.1 2014-08-27 17:14:19 +10:00
Andrew Tridgell e880de67ed Plane: prepare for 3.1.0 release 2014-08-26 06:20:37 +10:00
Andrew Tridgell 6e5344bc8d Plane: prepare beta4 2014-08-25 22:20:52 +10:00
Andrew Tridgell cf0741f6fd Plane: don't do failsafe passthru with no RC input
thanks to Klrill-ka for the suggestion

fixes issue #1302
2014-08-25 19:45:39 +10:00
Andrew Tridgell 7649907ec2 Plane: run terrain.update() more often
this provides faster checking of mission waypoints
2014-08-25 14:55:40 +10:00
Andrew Tridgell daa32f9b62 Plane: reset steering integrator on mode change and when not moving
this prevents an old integrator from causing problems on takeoff
2014-08-25 08:20:37 +10:00
Andrew Tridgell f2f730ba9b Plane: added FBWA_TDRAG_CHAN parameter
this allows for testing taildragger takeoffs in FBWA mode
2014-08-24 19:39:51 +10:00
Andrew Tridgell 15a7f63d7e Plane: set GPS non-blocking
the new GPS driver only ever needs a non-blocking port
2014-08-19 10:08:17 +10:00
Andrew Tridgell 79fa22e4ad Plane: use gcs_send_text_fmt() for SCHED_DEBUG timing
lets values be saved in mavlink logs
2014-08-19 10:08:17 +10:00
Andrew Tridgell cf410f8d12 Plane: prepare for 3.1.0-beta3 2014-08-17 18:25:46 +10:00
Andrew Tridgell 1ce3d1d4a4 Plane: update for AFS API change 2014-08-17 18:07:50 +10:00
Andrew Tridgell 9fff67ec89 Plane: update for APM_OBC API change 2014-08-17 09:13:29 +10:00
Randy Mackay c107f1da69 Revert "Plane: use rcmap when sending radio_in to GCS"
This reverts commit 441f23eed4.
2014-08-16 20:31:21 +09:00
Randy Mackay 441f23eed4 Plane: use rcmap when sending radio_in to GCS 2014-08-16 15:27:35 +09:00
Randy Mackay 7d7272520e Plane: use baro healthy()
Use baro last update time in place of healthy to determine whether HIL
sensor updates have started
2014-08-14 16:03:28 +09:00
Randy Mackay b619c3956c Plane: report baro health to GCS 2014-08-14 16:02:52 +09:00
Andrew Tridgell da7f871e34 Plane: prevent set_target_altitude_proportion() past dest waypoint
otherwise we could start climbing again on land
2014-08-14 09:49:52 +10:00
Andrew Tridgell c06067c71b Plane: fixed non-terrain landing 2014-08-14 08:04:06 +10:00
Andrew Tridgell dad95648a0 Plane: split landing code into landing.pde
this is in preparation for more complex landing code using the
rangefinder
2014-08-13 21:38:05 +10:00
Andrew Tridgell 7def71d43a Plane: improved landing approach and flare
flare if we are within the specified time of landing either vertically
or horizontally
2014-08-13 21:38:05 +10:00
Andrew Tridgell 165993dbf5 Plane: allow steering right through the landing
this allows a small degree of steering right through the landing,
which makes it possible to have a turn just before landing
2014-08-13 21:35:26 +10:00
Andrew Tridgell ce9b14f0c8 Plane: convert to using StorageManager 2014-08-13 18:46:44 +10:00
Andrew Tridgell 817164914e Plane: added airspeed simulation in HIL 2014-08-10 18:17:12 +10:00
Andrew Tridgell e6f5a31944 Plane: prepare for 3.1.0-beta2 2014-08-10 07:20:29 +10:00
Andrew Tridgell 0d7d6e1d2a Plane: zero loc structure in HIL_STATE handling
this avoids av AVR bug in HIL
2014-08-09 22:50:15 +10:00
Andrew Tridgell 5e997b20f6 Plane: move battery init to after parameter load 2014-08-09 22:50:14 +10:00
Andrew Tridgell 74fc7fbea5 Plane: added 2nd battery monitoring support 2014-08-09 22:50:14 +10:00
Andrew Tridgell e22ab50b16 Plane: fixed build warning 2014-08-08 13:54:21 +10:00
Andrew Tridgell 4f57467aa5 Plane: build AFS (formerly known as OBC) failsafe on Pixhawk
this gives an advanced failsafe system which may be useful for other
than OBC use
2014-08-08 13:48:03 +10:00
Andrew Tridgell 2b89d728f3 Plane: rename to 3.1.0-beta1 2014-08-07 14:14:54 +10:00
Andrew Tridgell d44425449d Plane: started on 3.1.0 release notes 2014-08-07 14:10:49 +10:00
Andrew Tridgell bfe7c47aea Plane: prepare new beta 2014-08-07 13:28:29 +10:00
Andrew Tridgell b414ca930d Plane: fixed servo demo on startup
thanks to Klrill-ka

fixes issue #1204
2014-08-07 13:26:47 +10:00
Michael Day 3b62592b26 ArduPlane: attempt to send GCS a message when the GCS heartbeat is not detected. 2014-08-07 12:54:47 +10:00
Przemek Lekston 75f9b8853d GCS_Mavlink.pde: Fix for a possible segfault after passing ARSPD_FBW_MIN 2014-08-07 12:35:31 +10:00
Andrew Tridgell 9184e47f84 Plane: added TERRAIN_LOOKAHD parameter
distance to look forward for terrain following
2014-08-07 09:31:03 +10:00