Randy Mackay
fbfc94cf69
Copter: remove GPS glitch and failsafe
...
The EKF failsafe now captures all failures that could lead to a bad
position including GPS glitches and a bad compass meaning we do not need
this protection in the main flight code.
2015-03-13 16:40:46 +09:00
Randy Mackay
553261d4ce
Copter: send EKF_STATUS_REPORT in extra3 stream
2015-03-12 12:20:03 +09:00
Randy Mackay
72d1113501
Copter: set accel and gyro disabled during calibration
2015-03-09 17:58:38 +11:00
Randy Mackay
3e45052a75
Copter: reply with failed if gyro or accel cal fails
2015-03-09 17:58:38 +11:00
Randy Mackay
10724f5738
Copter: reject preflight calibration when armed
2015-03-09 17:58:38 +11:00
Andrew Tridgell
3f906f6bd1
Copter: added CLI_ENABLED option
2015-03-09 17:58:37 +11:00
Andrew Tridgell
47e9409d00
Copter: set gyros disabled when calibrating
2015-03-09 17:58:36 +11:00
Andrew Tridgell
9b9aa3dc33
Copter: use new interactive accelcal
2015-03-07 21:56:40 +11:00
Randy Mackay
e0acd250d1
Copter: set Notify firmware_update flag before reboot
2015-03-06 17:26:53 +09:00
Randy Mackay
c5b3bc5698
Copter: handle LED_CONTROL and pass to Notify
2015-03-02 16:58:08 +09:00
João Fortuna
b99f38d39d
Copter: Fixed MAVLINK stream trigger calculation.
2015-02-20 13:10:57 +09:00
Andrew Tridgell
307b9e807f
Copter: reduced build warnings
...
removed some unused code, and mark some functions with UNUSED_FUNCTION
2015-02-18 11:13:48 +11:00
Andrew Tridgell
191d803968
Copter: make PERF info message into a STATUSTEXT message
...
this makes it appear properly in tlogs. Also show both min and max
loop times
2015-02-16 10:02:53 +11:00
Randy Mackay
da4a36c4e0
Copter: fix nack result_unsupported when arming fails
...
We should return unsupported if param1 does not equal 0 or 1
2015-02-14 14:27:47 +09:00
Randy Mackay
7ae1436b97
Copter: nack result_failed when arming fails
...
Previously result_unsupported was returned which is a less accurate
description of the failure
2015-02-14 14:03:41 +09:00
Randy Mackay
7029b11414
Copter: support do_set_home command from GCS and mission
2015-02-12 15:00:54 +09:00
Andrew Tridgell
81302fe190
Copter: implement MAV_CMD_REQUEST_AUTOPILOT_CAPABILITIES
2015-02-12 09:04:20 +11:00
Andrew Tridgell
4ade22c94b
Copter: use common send_autopilot_version()
2015-02-11 19:50:51 +11:00
Jonathan Challinger
62c63e9b35
Copter: support AUTOPILOT_VERSION_REQUEST message
2015-02-11 19:11:53 +11:00
Jonathan Challinger
c5d66cdfba
Copter: add send_autopilot_version
2015-02-11 19:11:53 +11:00
Randy Mackay
99ca779718
Copter: fix to allow arming in Guided from GCS
2015-02-10 22:12:38 +09:00
Robert Lefebvre
2186dec271
Copter: Remove trim_radio() function.
2015-02-05 11:17:56 +09:00
Andrew Tridgell
51dc3c120d
Copter: handle GIMBAL_REPORT receive and send
...
Pair-Programmed-With: Randy Mackay <rmackay9@yahoo.com>
2015-02-03 09:49:15 +11:00
Randy Mackay
e7f20c04c3
Copter: init_arm_motors calls pre-arm checks
...
This reduces a small amount of duplicated code in the pilot initiated
arming and GCS initiated arming functions
2015-02-02 22:31:14 +09:00
Randy Mackay
f4c392c64d
Copter: pre_arm_checks returns success or failure
...
This makes the pre-arm check function consist with the other arming
check functions
2015-02-02 22:31:11 +09:00
Randy Mackay
43ba94e99a
Copter: rename manual_flight_mode to mode_has_manual_throttle
2015-02-02 22:31:01 +09:00
Randy Mackay
3641d3d508
Copter: send inav velocities in global position message
...
Also absolute alt now calculated from home alt + current alt above home
instead of using GPS absolute alt
2015-01-22 14:39:54 +09:00
Andrew Tridgell
557f4df77e
Copter: use barometer.all_healthy() for health check in SYS_STATUS and arming
2015-01-09 11:51:51 +11:00
Jonathan Challinger
474456e349
Copter: use guided_posvel for set_position_target messages
2015-01-07 14:02:24 +09:00
Andrew Tridgell
ab62105afe
Copter: use common send_opticalflow()
2015-01-03 15:53:49 +11:00
Randy Mackay
3ccc61c163
Copter: use battery.has_current method
2014-12-31 15:22:49 +09:00
Randy Mackay
72127cde35
Copter: remove broken support for do-change-alt
...
This command was not implemented fully removing this code resolves a
compiler warning
2014-12-26 22:17:45 +09:00
Andrew Tridgell
e73f8b8e40
Copter: removed use of mavlink_check_target()
2014-12-11 12:32:34 +09:00
Randy Mackay
67f48168a8
Copter: send OPTICAL_FLOW msg to GCS
2014-12-08 14:58:31 +09:00
Randy Mackay
641c770726
Copter: send optflow health in extended status
2014-12-08 14:58:28 +09:00
Randy Mackay
13b8159fb5
Copter: only allow one preflight calibration at a time
2014-11-21 22:00:45 +09:00
Randy Mackay
330b52194f
Copter: change to switch order in guided spline
...
No functional change
2014-11-19 12:06:30 -08:00
Arthur Benemann
db89bd6f03
Copter: correct frame/location of guided spline
2014-11-19 11:59:13 -08:00
Randy Mackay
c6e70179d2
Copter: move MOUNT_STATUS lower in GCS_MAVLink
...
No functional change
2014-11-17 15:59:41 -08:00
Arthur Benemann
6bee8969a1
Copter: append MOUNT_STATUS message to STREAM_EXTRA3 messages
...
The msg is now periodically sent to the GCS, instead of only on request.STREAM_EXTRA3
2014-11-17 15:59:26 -08:00
Jonathan Challinger
387f3276cb
Copter: handle SET_POSITION_TARGET mavlink messages
2014-11-17 14:38:55 -08:00
Arthur Benemann
f24f5a6a32
Copter: remove call to camera.configure and control
...
The do_take_picture() function must be called for logging to occur.
configure_msg is empty at the moment so the call to this is remove
2014-11-11 10:31:49 -08:00
Randy Mackay
44dbf50101
Copter: fix camera feedback msg handling
...
If the camera was disabled, camera message handling would fall though to
status-text msg handling.
2014-10-31 14:46:47 +09:00
Arthur Benemann
b587025ad1
Copter: send a camera_feedback message when there is a camera trigger
2014-10-31 14:46:42 +09:00
Randy Mackay
cce876c2f9
Copter: fail to arm if gyro cal fails
2014-10-29 15:36:29 +09:00
Randy Mackay
0ac3267d52
Copter: reset ahrs gyro drift after gyro calibration
2014-10-28 20:25:36 +09:00
benoit35690
f866bf979e
Copter: fix compiler warnings in GCS_Mavlink.pde
2014-10-21 12:00:01 +09:00
benoit35690
b63f701fd3
Copter: minor formatting fix
2014-10-21 11:59:48 +09:00
Andrew Tridgell
c3d839456b
Copter: support logging while disarmed
2014-10-17 16:29:59 +09:00
Randy Mackay
3201a8dbca
Copter: integrate optflow_enable param move to optflow class
2014-10-15 16:35:43 +09:00