Commit Graph

476 Commits

Author SHA1 Message Date
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
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 ce9b14f0c8 Plane: convert to using StorageManager 2014-08-13 18:46:44 +10:00
Andrew Tridgell e6f5a31944 Plane: prepare for 3.1.0-beta2 2014-08-10 07:20:29 +10:00
Andrew Tridgell 5e997b20f6 Plane: move battery init to after parameter load 2014-08-09 22:50:14 +10:00
Andrew Tridgell 2b89d728f3 Plane: rename to 3.1.0-beta1 2014-08-07 14:14:54 +10:00
Andrew Tridgell bfe7c47aea Plane: prepare new beta 2014-08-07 13:28:29 +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
Andrew Tridgell 781abc7593 Plane: fix for changed AP_Terrain API 2014-08-06 17:59:19 +10:00
Andrew Tridgell 448b3f60e0 Plane: use dataflash logging for terrain 2014-08-06 17:59:19 +10:00
Andrew Tridgell d54bb68270 Plane: prevent cross-track on some WP types
when finishing a takeoff or when a user forces a WP change don't do
any cross-tracking. This avoids a problem where the plane tries to
line up with a track completely unrelated to the track currently being
flown
2014-08-04 21:02:13 +10:00
Andrew Tridgell 09a679368b Plane: use bitfields in auto_state 2014-08-04 21:02:13 +10:00
Andrew Tridgell 8610d9a8ea Plane: added GLIDE_SLOPE_MIN parameter
this is used to prevent slow glide slopes being used for small
altitude changes in missions. This allows more accurate tracking of
altitude with terrain changes
2014-08-04 21:02:13 +10:00
Andrew Tridgell b64ab07ca4 Plane: added STAB_PITCH_DN_CD parameter
this adds some down trim when at throttle levels below the trim
throttle in FBWA mode.

defaults to 200 centi-degrees. I may adjust based on flight tests
2014-08-03 17:17:20 +10:00
Matthias Badaire 57253fc2ee Rover: Add SERIAL2_PROTOCOL for GCS and FRSky telemtry
This allows selection of protocol type on telem2. The default is MAVLink, but can be selected as FrSky protocol
2014-07-29 17:08:20 -07:00
Andrew Tridgell b158b7e5a9 Plane: replace HAVE_AP_TERRAIN with AP_TERRAIN_AVAILABLE 2014-07-25 07:59:54 +10:00
Andrew Tridgell 3e320d71ab Plane: added TERRAIN_FOLLOW parameter
when enabled RTL, CRUISE and rally points will use terrain altitude
2014-07-24 21:50:19 +10:00
Andrew Tridgell d18c00d6fc Plane: split up altitude handling
this creates altitude.pde for altitude handling, getting ready to add
terrain following
2014-07-24 21:50:19 +10:00
Andrew Tridgell 32bfeed169 Plane: incorporate terrain mavlink calls 2014-07-24 21:45:47 +10:00
Andrew Tridgell e725b2c77e Plane: added terrain object 2014-07-24 21:45:46 +10:00
Andrew Tridgell ae29a24348 Plane: use sensors from board subtypes 2014-07-14 09:44:35 +10:00
Andrew Tridgell f6bba74fb6 Plane: enable MPU9250 for Linux build 2014-07-14 09:44:34 +10:00
Andrew Tridgell 473865ccc1 Plane: prepare for 3.0.4-beta3 2014-07-11 07:40:59 +10:00
Randy Mackay aef746b3b1 Plane: pass in compass to Arming constructor 2014-07-10 22:51:29 +09:00
Andrew Tridgell 28e1449e8d Plane: updates for new AP_RangeFinder API 2014-07-08 15:07:50 +10:00
Andrew Tridgell 105382bf21 Plane: release 3.0.4beta2 2014-06-07 20:52:08 +10:00
Andrew Tridgell ea086fa79c Plane: added MAV_CMD_DO_INVERTED_FLIGHT support
allows for mission control over inverted flight
2014-06-05 16:12:10 +10:00
Andrew Tridgell 55e7f9b1d6 Plane: calculate next_turn_angle to prevent early WP completion
this should help for ball drop and camera trigger with straight line
runs
2014-06-05 09:35:09 +10:00
Andrew Tridgell a7868dd6b3 Plane: fixed zero throttle in FBWA glide failsafe 2014-06-04 09:39:45 +10:00
Andrew Tridgell 055d8fe7aa Plane: added TKOFF_THR_MAX parameter 2014-05-24 22:19:50 +10:00
Andrew Tridgell 286479ee93 Plane: prevent stalled takeoff with bad TKOFF_TDRAG_SPD1
go to level pitch if pitch rises by 10 degrees
2014-05-23 07:30:59 +10:00
Andrew Tridgell d87619c2f1 Plane: added 4 new parameters to control takeoff
this gives flexible control for taildragger takeoff
2014-05-23 07:30:58 +10:00
Andrew Tridgell 2a230b2703 Plane: set version to 3.0.4beta 2014-05-19 22:03:18 +10:00
Andrew Tridgell 8c5226a17a Plane: prepare for release of 3.0.3 2014-05-19 09:54:15 +10:00
Andrew Tridgell 3a73878ca7 Plane: mark 3.0.3beta 2014-05-15 22:59:02 +10:00
Andrew Tridgell f233f95785 Plane: prepare for release of 3.0.2 2014-05-04 16:04:08 +10:00
Andrew Tridgell 92714b09d2 Plane: added ATRP log header to plane log headers
too many people can't understand how to download .bin logs
2014-04-30 21:22:28 +10:00
Andrew Tridgell 0408c11637 Plane: mark 3.0.2beta 2014-04-29 11:56:52 +10:00
Andrew Tridgell 0306dbf5f1 Plane: moved auto mode variables to auto_state 2014-04-27 15:34:30 +10:00
Andrew Tridgell 08412391f5 Plane: fixed a bug when switching to another mode from auto takeoff
when you exit auto and a takeoff is still in progress the flight stage
was not updated, which led to the throttle staying at maximum

Many thanks to Marco for finding this!
2014-04-23 21:18:11 +10:00
Andrew Tridgell 2ab4ffef45 Plane: use new APM_OBC API 2014-04-21 11:52:53 +10:00
Michael Day 568fc9e6c9 Plane: Now using AP_Rally library. 2014-04-19 09:16:05 +10:00
Andrew Tridgell 8a20130ca8 Plane: changed for APM_Control API 2014-04-12 18:22:01 +10:00
Andrew Tridgell 1bce4239a3 Plane: added AUTOTUNE flight mode
this is just like FBWA, but with automatic roll/pitch tuning
2014-04-12 14:12:14 +10:00
Andrew Tridgell d37f1a1376 Plane: updates for OBC API change 2014-04-11 16:47:40 +10:00
Andrew Tridgell 4d990fa6c8 Plane: ensure we log both GPS at the time we receive a msg 2014-04-10 10:29:53 +10:00