Commit Graph

323 Commits

Author SHA1 Message Date
Jonathan Challinger
c65cb45c07 Copter: move all arm check logic into arm_checks 2014-12-24 14:44:53 +09:00
Randy Mackay
dc3509ef55 Copter: fail to arm if gyro cal fails 2014-10-29 15:45:56 +09:00
Randy Mackay
7b4cd9ee37 Copter: reset ahrs gyro drift after gyro calibration 2014-10-29 15:42:22 +09:00
Jonathan Challinger
0335138683 Copter: print frame type in log headers 2014-10-22 14:57:31 +09:00
Randy Mackay
8da15cb409 Copter: check target of set-mode request from GCS
Issue discovered and fix contributed by Deadolous
2014-10-20 13:57:21 +09:00
Andrew Tridgell
c093160ea9 Copter: support logging while disarmed 2014-10-17 21:33:52 +09:00
Randy Mackay
7f8a68d44a Copter: support pre-flight calibration of gyro 2014-10-09 10:26:05 +09:00
Randy Mackay
661755e05a Copter: report gyro unhealthy if failed calibration 2014-10-09 10:25:52 +09:00
Randy Mackay
3b0a308ed2 Copter: only report ahrs unhealthy after initialisation 2014-10-02 15:02:55 +09:00
Randy Mackay
20d35b4bd1 Copter: bugfix to condition-yaw for relative angles
Thanks to roque-canales for raising the issue and paradisephil for finding
the specific piece of code that went wrong and suggesting the fix.
2014-09-26 12:26:05 +09:00
Randy Mackay
cac10a3041 Copter: never send unhealthy terrain status
Copter does not yet rely on the terrain data (it's for informational
purposes only) so we will temporarily disable the failure flags to the
GCS to avoid support calls
2014-09-09 22:20:33 +09:00
Randy Mackay
e706c24542 Copter: send extended status to GCS only after initialisation 2014-09-09 22:20:31 +09:00
Randy Mackay
8b91900b74 Copter: individual accel and gyro status to GCS 2014-09-03 11:38:47 +09:00
Randy Mackay
d242fcaae5 Copter: remove get_angle_targets_for_reporting fn
this saves a tiny amount of time by removing the memory copy of a
Vector3f
2014-08-22 22:59:50 +09:00
Andrew Tridgell
f86de61d82 Copter: show firmware version on param fetch
fixes pull #1320

thanks Arthur!
2014-08-22 21:38:16 +09:00
Randy Mackay
7686660c73 Copter: use baro healthy() 2014-08-14 16:03:23 +09:00
Randy Mackay
1e374ab42b Copter: report baro health to GCS 2014-08-14 16:02:49 +09:00
Andrew Tridgell
e260f1c569 Copter: convert to using StorageManager 2014-08-13 18:46:44 +10:00
ggregory8
e8b0c7a7e7 Copter: Handle MAV_CMD_NAV_TAKEOFF command to takeoff in guided mode only 2014-08-05 10:25:31 +09:00
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