Commit Graph

291 Commits

Author SHA1 Message Date
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
Randy Mackay
54c99d84ea Copter: integrate AP_Mission set_current_cmd 2014-03-19 12:10:39 +09:00
Randy Mackay
36af34bf8b Copter: send current wp as 65535 to GCS when mission complete 2014-03-19 12:10:34 +09:00
Randy Mackay
070cbc9250 Copter: use Mission mav to cmd conversion methods 2014-03-19 12:10:24 +09:00
Randy Mackay
ffc418dfe3 Copter: add mavlink packet to cmd conversion to GCS_Mavlink.pde 2014-03-19 12:10:06 +09:00
Andrew Tridgell
86fa82f767 Copter: only send GPS2_RAW when we have a 2nd GPS 2014-03-03 07:05:47 +11:00
Andrew Tridgell
37394b30ee Copter: added support for 2nd GPS 2014-02-26 09:40:29 +11:00
Andrew Tridgell
2fcbdc4056 Copter: pass fix type to gps->setHIL() 2014-02-25 21:11:10 +11:00
Andrew Tridgell
ffcc77a21f Copter: fix for HIL API change 2014-02-23 08:18:20 +11:00
Andrew Tridgell
76b60a1a52 Copter: added compassmot over MAVLink
use the MAVLink interact code to allow for compassmot over MAVLink

Pair-Programmed-With: Randy Mackay <rmackay9@yahoo.com>
2014-02-19 16:04:00 +11:00
Randy Mackay
fdae812814 Copter: DO_SET_ROI persists across waypoints
Users should add a DO_SET_ROI command with zero lat, lon and alt to
restore the yaw control to the default control (which is normally
look-at-next-wp)
2014-02-18 21:36:02 +09:00
Andrew Tridgell
6a9189a6a5 Copter: enable AHRS2 mavlink message 2014-02-15 05:48:16 +11:00
Andrew Tridgell
24f2ac20de Copter: removed HIL_MODE_ATTITUDE
this really can't work any more, as AHRS can't support it
2014-02-15 05:29:46 +11:00
Randy Mackay
e8c4e8a472 Copter: integrate get_angle_target_for_reporting
Used for logging and sending to GCS
2014-02-15 05:27:47 +11:00