Randy Mackay
52f7186cbf
Copter: pre-arm check primary compass health
...
Previously we would check the 1st compass which might not necessarily be
the primary compass
10 years ago
Andrew Tridgell
29be2f0b60
Copter: send LOCAL_POSITION_NED
...
very useful for GPS-disabled operation and EKF debugging
10 years ago
Randy Mackay
b4df5b35f0
Copter: fix compiler error when mount disabled
10 years ago
Randy Mackay
9a5ff97c61
Copter: send invalid batt curr if monitor unhealthy
10 years ago
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.
10 years ago
Randy Mackay
553261d4ce
Copter: send EKF_STATUS_REPORT in extra3 stream
10 years ago
Randy Mackay
72d1113501
Copter: set accel and gyro disabled during calibration
10 years ago
Randy Mackay
3e45052a75
Copter: reply with failed if gyro or accel cal fails
10 years ago
Randy Mackay
10724f5738
Copter: reject preflight calibration when armed
10 years ago
Andrew Tridgell
3f906f6bd1
Copter: added CLI_ENABLED option
10 years ago
Andrew Tridgell
47e9409d00
Copter: set gyros disabled when calibrating
10 years ago
Andrew Tridgell
9b9aa3dc33
Copter: use new interactive accelcal
10 years ago
Randy Mackay
e0acd250d1
Copter: set Notify firmware_update flag before reboot
10 years ago
Randy Mackay
c5b3bc5698
Copter: handle LED_CONTROL and pass to Notify
10 years ago
João Fortuna
b99f38d39d
Copter: Fixed MAVLINK stream trigger calculation.
10 years ago
Andrew Tridgell
307b9e807f
Copter: reduced build warnings
...
removed some unused code, and mark some functions with UNUSED_FUNCTION
10 years ago
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
10 years ago
Randy Mackay
da4a36c4e0
Copter: fix nack result_unsupported when arming fails
...
We should return unsupported if param1 does not equal 0 or 1
10 years ago
Randy Mackay
7ae1436b97
Copter: nack result_failed when arming fails
...
Previously result_unsupported was returned which is a less accurate
description of the failure
10 years ago
Randy Mackay
7029b11414
Copter: support do_set_home command from GCS and mission
10 years ago
Andrew Tridgell
81302fe190
Copter: implement MAV_CMD_REQUEST_AUTOPILOT_CAPABILITIES
10 years ago
Andrew Tridgell
4ade22c94b
Copter: use common send_autopilot_version()
10 years ago
Jonathan Challinger
62c63e9b35
Copter: support AUTOPILOT_VERSION_REQUEST message
10 years ago
Jonathan Challinger
c5d66cdfba
Copter: add send_autopilot_version
10 years ago
Randy Mackay
99ca779718
Copter: fix to allow arming in Guided from GCS
10 years ago
Robert Lefebvre
2186dec271
Copter: Remove trim_radio() function.
10 years ago
Andrew Tridgell
51dc3c120d
Copter: handle GIMBAL_REPORT receive and send
...
Pair-Programmed-With: Randy Mackay <rmackay9@yahoo.com>
10 years ago
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
10 years ago
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
10 years ago
Randy Mackay
43ba94e99a
Copter: rename manual_flight_mode to mode_has_manual_throttle
10 years ago
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
10 years ago
Andrew Tridgell
557f4df77e
Copter: use barometer.all_healthy() for health check in SYS_STATUS and arming
10 years ago
Jonathan Challinger
474456e349
Copter: use guided_posvel for set_position_target messages
10 years ago
Andrew Tridgell
ab62105afe
Copter: use common send_opticalflow()
10 years ago
Randy Mackay
3ccc61c163
Copter: use battery.has_current method
10 years ago
Randy Mackay
72127cde35
Copter: remove broken support for do-change-alt
...
This command was not implemented fully removing this code resolves a
compiler warning
10 years ago
Andrew Tridgell
e73f8b8e40
Copter: removed use of mavlink_check_target()
10 years ago
Randy Mackay
67f48168a8
Copter: send OPTICAL_FLOW msg to GCS
10 years ago
Randy Mackay
641c770726
Copter: send optflow health in extended status
10 years ago
Randy Mackay
13b8159fb5
Copter: only allow one preflight calibration at a time
10 years ago
Randy Mackay
330b52194f
Copter: change to switch order in guided spline
...
No functional change
10 years ago
Arthur Benemann
db89bd6f03
Copter: correct frame/location of guided spline
10 years ago
Randy Mackay
c6e70179d2
Copter: move MOUNT_STATUS lower in GCS_MAVLink
...
No functional change
10 years ago
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
10 years ago
Jonathan Challinger
387f3276cb
Copter: handle SET_POSITION_TARGET mavlink messages
10 years ago
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
10 years ago
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.
10 years ago
Arthur Benemann
b587025ad1
Copter: send a camera_feedback message when there is a camera trigger
10 years ago
Randy Mackay
cce876c2f9
Copter: fail to arm if gyro cal fails
10 years ago
Randy Mackay
0ac3267d52
Copter: reset ahrs gyro drift after gyro calibration
10 years ago