Commit Graph

218 Commits

Author SHA1 Message Date
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
Randy Mackay 09de917b27 Copter: mavlink ext status to use abs pressure 2013-10-04 13:20:58 +09:00
Randy Mackay a33060b66d Copter: mavlink extended status gps bit not-healthy when glitching
add optflow health to extended status
mavlink heartbeat status to critical on any failsafe
extended status msg to use SYS_STATUS_SENSOR enum
2013-10-03 22:11:55 +09:00
Randy Mackay 3c5797c479 Copter: sent current as -1 to GCS when can't be monitored 2013-10-03 11:16:31 +09:00
Randy Mackay dab4f032f9 Copter: integrate BattMonitor 2013-10-03 11:16:28 +09:00
Randy Mackay e295d4555d Copter: send frame type in mavlink heartbeat msg 2013-09-27 14:35:13 +09:00
Randy Mackay 7cc8a9038f Copter: move failsafe flags into structure 2013-09-26 19:37:15 +09:00
Randy Mackay 284aa2217f Copter: remove old comments 2013-09-24 21:45:43 +09:00
Andrew Tridgell 3ffeff04a7 Copter: removed logging of MAVLink parameter changes
not much point to this
2013-09-23 18:10:22 +10:00
Andrew Tridgell 35e3c887d2 Copter: use new baro API 2013-09-21 21:30:54 +10:00
Andrew Tridgell b6a0577723 Copter: only send RC_CHANNELS_SCALED in HIL
saves a bit of telemetry bandwidth
2013-09-21 09:30:30 +10:00
Andrew Tridgell 46688454c4 Copter: removed flash_leds() calls 2013-09-19 18:38:28 +10:00
Andrew Tridgell 754bdbd25f Copter: use new usb_connected() HAL function 2013-09-19 16:24:23 +10:00
Kevin Hester 240a9ccaf0 AC: if vehicle is !flying show hb state as MAV_STATE_STANDBY
This helps GCSes determine the appropriate UI for the current vehicle
mode.
2013-09-09 20:51:54 +09:00
Randy Mackay 1d55fa6818 Copter: add arm check of GPS hdop when in Loiter 2013-09-09 14:03:40 +09:00
Andrew Tridgell 979636936d Copter: support reboot to bootloader 2013-09-04 11:59:02 +10:00
Andrew Tridgell 25d517f5d6 Copter: updates for new notify API 2013-08-30 13:01:35 +10:00
Andrew Tridgell d5e28e72cc Copter: support new RADIO_STATUS msg 2013-08-24 17:59:13 +10:00
Andrew Tridgell 01e19a32fe Copter: use the new scheduler load_average() call
this also simplifies the main loop
2013-08-02 18:46:34 +10:00
Randy Mackay 7ea971d948 Copter: check set_mode for failure
Previously if set_mode failed it would return the copter to stabilize
mode.  With this commit set_mode returns a true/false indicating whether
it succeeded or not so the caller can make the decision as to the
appropriate response which could be to stay in the current flight mode
or try another flight mode.
2013-07-20 11:01:10 +09:00
Randy Mackay 47ab02d686 Copter: bug fix to ROI to pull target from conditional command queue 2013-07-14 17:37:06 +09:00
Randy Mackay 5a40ee7a38 Copter: fix to gps present check in mavlink extended status 1 msg 2013-07-13 10:27:50 +09:00
Randy Mackay 66d7f7b026 Copter: GCS_mavlink only send waypoints to gcs3 if initialised
Also Load parameter defaults at initialisation (although defaults are
all zero anyway so should have no effect)
2013-07-13 10:12:01 +09:00
Andrew Tridgell da4137b731 Copter: changes for GPS field changes 2013-07-10 14:04:22 +10:00
Randy Mackay 0460147a15 Copter: guided mode yaw fix
Nose of copter now points at next guided point if it is more than 10m
away
2013-06-02 11:25:35 +09:00
Andrew Tridgell 30df8796ce Copter: fixed loading of waypoints
copter code assumes that command_total includes the home waypoint
2013-05-29 21:44:08 +10:00
Andrew Tridgell 903d5636bb Copter: added support for partial mission load
this allows individual waypoints to be updated in missions
2013-05-29 16:25:05 +10:00
Randy Mackay 1dbe98b566 Copter: display reason for pre-arm-check failures in GCS 2013-05-20 13:03:18 +09:00
Randy Mackay d10e3bc75f Copter: send_text_P bug fix for short messages 2013-05-20 12:52:20 +09:00
Randy Mackay 28c37dd798 Copter: do pre-arm checks when arming from GCS 2013-05-17 11:22:32 +09:00
Andrew Tridgell 9feb46c834 Copter: use new accel cal interact over MAVLink 2013-05-08 16:19:26 +10:00
Andrew Tridgell b6e3e59bc3 Copter: simplify setHIL for baro 2013-05-02 15:26:54 +10:00
Andrew Tridgell db57c8d7c5 Copter: removed the deprecated HIL sensors interface
must use the new HIL_STATE message now
2013-05-02 15:00:50 +10:00