Commit Graph

267 Commits

Author SHA1 Message Date
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
Randy Mackay 3d926a6943 Copter: GCS_Mavlink gets gyro direct from imu 2014-02-15 05:27:46 +11:00
Randy Mackay ef666c73ab Copter: remove Position mode 2014-02-15 05:27:42 +11:00
Randy Mackay e69eeea246 Copter: log alt target from PosControl 2014-02-15 05:27:34 +11:00
Andrew Tridgell 2bf7a46c9b Copter: log power status on Pixhawk 2014-02-15 05:00:09 +11:00
Andrew Tridgell 0a3476bbf1 Copter: change to new board_voltage() API 2014-02-14 21:50:59 +11:00
Randy Mackay 89b222f1cf Copter: only report gps glitch when usb disconnected 2014-02-11 11:43:24 +09:00
Dneault f48e106271 Copter: add coax heli support
Motors should be attached to RCOutputs 1 and 2, Flaps should be connected
to RC outputs 3 and 4
2014-02-07 12:36:04 +09:00
Andrew Tridgell e8b8cc1a5d Copter: converted to AP_ServoRelayEvents 2014-01-20 17:06:29 +11:00
Randy Mackay 8a29d63d89 Copter: faster baro calibration when arming
using update_calibration() instead of the full calibrate() cuts
1.5seconds of the arming time
2014-01-15 23:28:24 +09:00
Randy Mackay 67c2bc7d0b Copter: add support for MAV_CMD_DO_SET_SERVO 2014-01-15 14:03:04 +09:00
Andrew Tridgell 4f2ce31cb7 Copter: log PX4 and NuttX versions in logs 2014-01-14 15:38:51 +11:00
Andrew Tridgell e52f8d6598 Copter: prevent log corruption during log creation 2014-01-14 14:37:48 +11:00
Michael Oborne 757dd228d2 Copter: BugFix DO_SET_ROI returns Lat,Lon,Alt to GCS 2014-01-03 16:14:44 +09:00
Andrew Tridgell 97df2f64c9 Copter: use common available_memory() 2013-12-28 16:02:32 +11:00
Andrew Tridgell 7f100ebe31 Copter: removed common functions 2013-12-17 12:00:46 +11:00
Andrew Tridgell 7642208c1a Copter: support MAVLink log download 2013-12-17 11:51:36 +11:00
Andrew Tridgell e5f098c37c Copter: removed some unnecessary fields in GCS.h
save some memory
2013-12-17 11:51:34 +11:00
Andrew Tridgell 28d98414e7 Copter: fixed some build warnings 2013-12-11 10:21:20 +11:00
Andrew Tridgell d265e54043 Copter: changes for compass healthy API 2013-12-09 17:47:22 +11:00
Andrew Tridgell f8e0f5c4f1 Copter: report both sets of sensors in MAVLink 2013-12-09 17:34:07 +11:00
Andrew Tridgell ffdcb715c3 Copter: updates for compass API change 2013-12-09 17:34:06 +11:00
Ben Nizette 58735ac1aa Copter: Use AHRS heading in GLOBAL_POSITION_INT message
The definition of the heading field for GLOBAL_POSITION_INT is the
compass heading, and so it is used for Plane and Rover.  Copter
however uses the GPS course over ground in this field.

My personal beef with this is simply that the mapping display in
MAVProxy is wrong for Copter.  The question is: Do any GCS currently
rely on this field for GPS course rather than getting it from
GPS_RAW_INT as they should?
2013-12-03 20:30:02 +09:00
Randy Mackay a744658b47 Copter: combine nav_roll and control_roll
Control_roll, control_pitch now always hold the desired lean angle
whether it be from the pilot or autopilot.
2013-11-27 23:11:30 +09:00
Randy Mackay a8929cd746 Copter: more complete RC output reporting to GCS
Radio outputs are pulled from hal.rcout instead of from motors library
which provides more complete reporting because it includes output from
sources like the camera and mount libraries.
2013-11-27 20:31:21 +09:00