Commit Graph

338 Commits

Author SHA1 Message Date
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 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 74fc7fbea5 Plane: added 2nd battery monitoring support 2014-08-09 22:50:14 +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 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 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
Andrew Tridgell fe3c51d516 Plane: prevent integer underflow with comm_get_txspace() 2014-07-27 22:12:08 +10:00
Andrew Tridgell 077177384d Plane: fixed guided alt without terrain bit 2014-07-25 10:31:45 +10:00
Andrew Tridgell b158b7e5a9 Plane: replace HAVE_AP_TERRAIN with AP_TERRAIN_AVAILABLE 2014-07-25 07:59:54 +10:00
Andrew Tridgell 07583a0604 Plane: added terrain status reporting 2014-07-24 21:50:19 +10:00
Andrew Tridgell 43b2e34242 Plane: fixed txsize check for airspeed info
prevent underflow
2014-07-24 21:46:06 +10:00
Andrew Tridgell 6f538aa556 Plane: handle TERRAIN_CHECK requests 2014-07-24 21:46:06 +10:00
Andrew Tridgell 32bfeed169 Plane: incorporate terrain mavlink calls 2014-07-24 21:45:47 +10:00
Andrew Tridgell c5a765758c Plane: update for new API 2014-07-13 15:37:50 +10:00
Randy Mackay b17125e261 Plane: PREFLIGHT_SET_SENSOR_OFFSETS used to set compass offsets
replaces ardupilot specific SET_MAG_OFFSETS message
2014-07-10 20:25:24 +09:00
Randy Mackay 042c65c501 Plane: add support for DO_SET_ROI outside of missions 2014-07-09 21:27:01 +09:00
Andrew Tridgell 3390224491 Plane: avoid some float conversion warnings 2014-07-08 20:26:07 +10:00
Andrew Tridgell 28e1449e8d Plane: updates for new AP_RangeFinder API 2014-07-08 15:07:50 +10:00
Andrew Tridgell 017e4b4c8a Plane: update for AP_Mount change 2014-06-18 12:04:53 +10:00
Andrew Tridgell cea30e1d9f Plane: use new GCS_Common.cpp functions 2014-05-28 09:36:04 +10:00
Andrew Tridgell 511e8beaed Plane: updates for new GCS_MAVLink API 2014-05-21 12:45:25 +10:00
Andrew Tridgell 182d0f9cb0 Plane: added reporting of AHRS health 2014-05-15 21:14:22 +10:00
Andrew Tridgell 956ff65a25 Plane: RC override input should be considered as valid RC input
this prevents us setting trim values under joystick control
2014-04-29 11:46:06 +10:00
Andrew Tridgell e15350f756 Plane: use get_current_nav_index() 2014-04-22 11:40:18 +10:00
Michael Day 568fc9e6c9 Plane: Now using AP_Rally library. 2014-04-19 09:16:05 +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 de3c04adaf Plane: show next wp when not running a mission
this lets the GCS know what wp would be run if auto mode is selected
2014-04-07 11:40:58 +10:00
Andrew Tridgell f7858bfb0a Plane: added support for SERIAL_CONTROL message 2014-04-05 07:34:33 +11:00
Andrew Tridgell 88693796ef Plane: update for GPS.setHIL() API 2014-04-02 07:55:28 +11:00
Andrew Tridgell e19341ca32 Plane: convert to new GPS driver API 2014-04-01 06:38:24 +11:00
Michael Day 268b1e85a1 Plane: Changes needed prior to merging with master identified by Tridge. 2014-03-27 09:26:20 +11:00
Michael Day 25f23cf16c Plane: Sends MAV_SYS_STATUS_GEOFENCE and also allows GCS to enable/disable fence. 2014-03-27 09:26:20 +11:00
Andrew Tridgell 32a1c717e6 Plane: report up to 18 RC input channels via MAVLink 2014-03-25 14:47:43 +11:00
Andrew Tridgell b8781ccea7 Plane: fixed a compiler warning 2014-03-24 12:52:05 +11:00
Andrew Tridgell d124fdb182 Plane: report compass unhealthy if primary compass unhealthy 2014-03-24 07:03:53 +11:00
Andrew Tridgell f6b56b5d26 Plane: fixed mission resume at arbitrary waypoints
on completion of a mission a user can ask for it to resume at any wp
2014-03-21 10:21:37 +11:00
Michael Day dd06756abf Plane: Add Log_Write_Radio. MASK_LOG_PM must be set for logging to occur. 2014-03-20 09:56:37 +11:00
Andrew Tridgell 4257d8365c Plane: removed check on target_component in ARM/DISARM
Thanks to DonLakeFlyer for finding this, see
https://github.com/diydrones/ardupilot/pull/909
2014-03-20 09:06:48 +11:00
Andrew Tridgell abfcee1cef Plane: fixed channel reversal in HIL
makes it possible to reverse channels
2014-03-19 14:17:40 +11:00
Andrew Tridgell 4031f7d368 Plane: use common deferred message handling 2014-03-19 12:14:17 +09:00
Andrew Tridgell b74fddade3 Plane: use common MISSION_ITEM code 2014-03-19 12:14:11 +09:00
Andrew Tridgell 0d39f354b0 Plane: use new common MAVLink code 2014-03-19 12:13:38 +09:00
Andrew Tridgell 7d3523b4a7 Plane: use _send_buf() functions to reduce stack usage in MAVLink replies
this re-uses the incoming message buffer in constructing the reply
2014-03-19 12:13:28 +09:00
Andrew Tridgell 537e78f9fa Plane: much faster mission upload
send next WP request immediately if possible. This speeds up mission
upload on USB by about 10x
2014-03-19 12:13:27 +09:00
Randy Mackay 1ad743c4e1 Plane: use common GCS_MAVLink handle_mission methods 2014-03-19 12:13:21 +09:00
Andrew Tridgell 740ecc2c1b Plane: use new handle_mission_request() function 2014-03-19 12:13:12 +09:00
Randy Mackay 96b2e88e36 Plane: add comment to GCS_Mavlink.pde 2014-03-19 12:13:03 +09:00
Andrew Tridgell 4bf140aeac Plane: make next_WP and prev_WP be locations
having a command ID in them doesn't really make sense

Pair-Programmed-With: Randy Mackay <rmackay9@yahoo.com>
2014-03-19 12:12:39 +09:00
Randy Mackay 982ce56d2b Plane: bug fix to set_current_cmd
When set_current_cmd mavlink message is received, resume mission only if
the mission has completed.
Stop mission when vehicle leaves AUTO mode.
2014-03-19 12:12:28 +09:00