Commit Graph

304 Commits

Author SHA1 Message Date
Randy Mackay b09568ffb5 Copter: use hal.rcout to send servo output to GCS 2014-07-30 17:31:11 +09:00
Andrew Tridgell b36e4b4122 Copter: avoid integer underflow in mavlink txspace check 2014-07-27 22:18:51 +10:00
Andrew Tridgell 8e65e5bff0 Copter: replace HAVE_AP_TERRAIN with AP_TERRAIN_AVAILABLE 2014-07-25 07:59:54 +10:00
Andrew Tridgell 8d04deff6a Copter: added terrain status reporting 2014-07-24 21:50:20 +10:00
Andrew Tridgell 0562907d9f Copter: added AP_Terrain library 2014-07-24 21:46:06 +10:00
Supergoldfish 13563f4344 Copter: added Sonar Voltage reporting to GCS mavlink
Rangefinder class will return 0 if not applicable.
2014-07-23 20:57:36 +09:00
Randy Mackay 7bda6cbadf Copter: integrate EKF check
Check runs at 10hz
Log ekf check failures and ekd failsafes
2014-07-22 23:13:25 +09:00
Andrew Tridgell 71d2333ea8 Copter: changes for more common mavlink code 2014-07-13 15:37:50 +10:00
Randy Mackay 65e5367619 Copter: rename hybrid to poshold 2014-07-11 14:09:01 +09:00
Randy Mackay b565d43d5d Copter: PREFLIGHT_SET_SENSOR_OFFSETS used to set compass offsets
remove deprecated ardupilot specific SET_MAG_OFFSETS
2014-07-10 20:25:18 +09:00
Andrew Tridgell a4b9b989b7 Copter: convert to new AP_RangeFinder API 2014-07-08 15:08:18 +10:00
Randy Mackay 81355d1adf Copter: DO_SET_ROI accepted outside missions
Moved ROI logic to new set_auto_yaw_roi function.
2014-07-06 17:02:06 +09:00
MousS ae8fb3f1c5 Copter: MAV_CMD_CONDITION_YAW accepted outside missions 2014-07-06 17:01:15 +09:00
Niels Joubert 10b4757706 ArduCopter: Move MAVLink size check into library 2014-06-30 10:30:17 +10:00
Andrew Tridgell edafe7100b Copter: update for AP_Mount change 2014-06-18 12:04:48 +10:00
Randy Mackay 01da4e29fb Copter: use relative_alt flag when decoding change_alt command 2014-06-17 20:53:41 +10:00
Randy Mackay d0194b7a9d Copter: remove home variable
home has moved to ahrs
saves 15 bytes of RAM
2014-06-11 11:05:15 +09:00
Valentin Brossard 9fcfea5404 Copter: accept DO_CHANGE_SPEED outside of missions
https://github.com/diydrones/ardupilot/issues/1095
2014-06-06 16:13:22 +09:00
Andrew Tridgell 1dbbdde8ef Copter: use new GCS_Common.cpp functions 2014-05-28 09:35:57 +10:00
Andrew Tridgell a55c511f63 Copter: updates for new GCS_MAVLink API 2014-05-21 12:45:25 +10:00
Randy Mackay 481a55867e Copter: only send sonar distance to GCS when sonar enabled 2014-05-16 14:46:56 +09:00
Ben Nizette 8c7b4feac1 Copter: send sonar distance to GCS via MAVLink
At the moment, the copter sonar set up does not have access to the
raw sonar readings so this code sets the voltage field to zero.
2014-05-16 14:46:11 +09:00
Andrew Tridgell 427a638296 Copter: added reporting of AHRS health 2014-05-15 21:14:21 +10:00
Randy Mackay ae9477600c Copter: add mavlink motor_test
Based on original work by Nils Hogberg
2014-04-29 11:31:45 +09:00
Randy Mackay b9b3a39a83 Copter: fence enable/disable via MAVLink 2014-04-27 16:18:17 +09:00
Randy Mackay d3411e45bb Copter: use get_current_nav_index() 2014-04-27 16:00:44 +09:00
Randy Mackay b5ed23f592 Copter: integrate skeleton Hybrid mode 2014-04-23 14:59:17 +09:00
Andrew Chapman fa3732ac6d Copter: integrate AP_Rally 2014-04-19 15:00:23 +09:00
jschall ff9838ea27 Copter: Document stream rate parameter functionality 2014-04-15 16:05:45 +09:00
Andrew Tridgell ae350e42aa Copter: 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:41:05 +10:00
Andrew Tridgell 454d1f26c3 Copter: added support for SERIAL_CONTROL message 2014-04-05 07:34:34 +11:00
Andrew Tridgell 339689b578 Copter: fixed load average for different loop rates
Pair-Programmed-With: Paul Riseborough <p_riseborough@live.com.au>
2014-04-04 21:37:56 +11:00
Andrew Tridgell 7bf12cfd8a Copter: update for gps.setHIL() API 2014-04-02 07:55:28 +11:00
Andrew Tridgell 640b64f5e4 Copter: convert to new GPS API 2014-04-01 06:38:24 +11:00
Randy Mackay 9e7021cc20 Copter: Notify arming failure when using MAVLink 2014-03-31 20:34:31 +09:00
Andrew Tridgell 78ba1a33aa Copter: support 18 input channels in MAVLink 2014-03-25 14:47:43 +11:00
Andrew Tridgell 3362e42478 Copter: consider health of primary compass in SYS_STATUS, pre-arm and compassmot
this should prevent users from taking off with only secondary compass
2014-03-24 19:52:08 +11:00
Andrew Tridgell 4a01315fc5 Copter: enable logging of RADIO_STATUS 2014-03-20 09:56:37 +11:00
Andrew Tridgell a345a9d993 Copter: removed check on target component in arm
Thanks to DonLakeFlyer for finding this, see
https://github.com/diydrones/ardupilot/pull/909
2014-03-20 09:06:28 +11:00
Andrew Tridgell e4b3323455 Copter: use common deferred message handling 2014-03-19 12:14:20 +09:00
Andrew Tridgell 69252868a8 Copter: use common MISSION_ITEM handling 2014-03-19 12:14:12 +09:00
Andrew Tridgell f4ed2beacd Copter: use new common MAVLink message handlers 2014-03-19 12:13:40 +09:00
Randy Mackay 6ef2b55602 Copter: use common GCS_MAVLink handle_mission methods 2014-03-19 12:13:22 +09:00
Andrew Tridgell 85725de9cb Copter: use new handle_mission_request()
Pair-Programmed-With: Randy Mackay <rmackay9@yahoo.com>
2014-03-19 12:13:15 +09:00
Randy Mackay edab06a3ff Copter: truncate mission before uploading new mission
replacing clear with truncate allows new missions to be uploaded while
the current mission is running
2014-03-19 12:12:36 +09:00
Randy Mackay 7b6906ae3f Copter: integrate variable max num commands 2014-03-19 12:12:01 +09:00
Randy Mackay 6bb05750e7 Copter: remove alt_in_cm from mavlink to cmd conversion 2014-03-19 12:11:04 +09:00
Randy Mackay 04166c1686 Copter: replace memset in GCS_Mavlink 2014-03-19 12:10:52 +09:00
Randy Mackay c3162f67e8 Copter: integrate move of p1 from Location to mission cmd 2014-03-19 12:10:48 +09:00
Randy Mackay aade894014 Copter: integrate replace_cmd 2014-03-19 12:10:43 +09:00