Commit Graph

250 Commits

Author SHA1 Message Date
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
Andrew Tridgell
9c812d5028 Copter: added SERIAL2_BAUD and rename SERIAL3_BAUD to SERIAL1_BAUD 2013-11-26 13:05:32 +11:00
Andrew Tridgell
49062d8a37 Copter: removed extra features of copter telemetry merge 2013-11-26 13:05:32 +11:00
Andrew Tridgell
a49710f20e Copter: added uartD support
this also brings GCS_Mavlink.pde closer to the plane implementation
2013-11-26 13:05:32 +11:00
Andrew Tridgell
21eac34cd1 Copter: log system ID if available 2013-11-26 13:00:03 +11:00
ssq870424
07d3f2a3c5 Copter: add support for singlecopter airframe
this is the newest singlecopter airframe programme.
This kind of aerial vehicles include Honeywell T-hawk and Goldeneye.
2013-11-12 23:40:27 +09:00
Andrew Tridgell
6b1f59372c Copter: show git and firmware version in tlog 2013-11-09 10:09:20 +11:00
Andrew Tridgell
b41f4898e0 Copter: report INS health 2013-11-07 12:48:17 +11:00
Randy Mackay
65980ace68 Copter: remove some commented out send_text code 2013-10-30 13:44:56 +09:00
Andrew Tridgell
2016bf1f31 Copter: fixed HIL build 2013-10-28 18:35:39 +11:00
Andrew Tridgell
a44e3191df Copter: fixed baro-only preflight cal
this was causing a full level, which mucked up the INS calibration
2013-10-28 16:54:32 +11:00
Tobias
7564cc02af Copter: use const refs instead of unneeded copies 2013-10-27 13:41:06 +09:00
Randy Mackay
d86ac9041e Copter: report RC receiver health to GCS 2013-10-24 16:32:55 +09:00
Andrew Tridgell
92bf4b9c89 Copter: added MAVLink SYSTEM_TIME message 2013-10-24 14:22:47 +11:00
Randy Mackay
8ea3e68620 Copter: bug fix for loading missions while armed 2013-10-23 14:12:03 +09:00
Michael Oborne
78c4e03fd5 sensor hil fix 2013-10-19 23:04:22 +09:00
Randy Mackay
32f53624d6 Copter: rename low_battery to failsafe.battery 2013-10-13 13:52:52 +09:00
Andrew Tridgell
3b9566bc09 Copter: support MAV_CMD_DO_SET_CAM_TRIGG_DIST 2013-10-11 21:40:57 +11:00