Commit Graph

3569 Commits

Author SHA1 Message Date
Randy Mackay
f54a13f24b Copter: report NAV_CONTROLLER_OUTPUT in RTL, Guided
This allows the GCS to display to the user where the vehicle is flying
to in RTL and Guided flight modes
2015-01-06 16:38:34 +09:00
Robert Lefebvre
d7ba808400 ArduCopter: Bug fix, int8t should be uint16t. 2015-01-06 15:02:48 +09:00
Robert Lefebvre
205b312789 Copter: GCS Failsafe comments and format changes 2015-01-05 10:34:17 +09:00
Robert Lefebvre
5f19a43104 Copter: GCS Failsafe to trigger if using Guided mode 2015-01-05 10:33:50 +09:00
Andrew Tridgell
c268d7252f Copter: fixed flymaple build 2015-01-05 07:36:40 +11:00
Andrew Tridgell
cb5552f0e3 Copter: fixed build with optflow disabled 2015-01-04 12:29:22 +11:00
Andrew Tridgell
ab62105afe Copter: use common send_opticalflow() 2015-01-03 15:53:49 +11:00
Andrew Tridgell
788bb8ab9f Copter: make optflow available to AHRS 2015-01-03 14:16:34 +11:00
Andrew Tridgell
c784ee717b Copter: update for new OptFlow API 2015-01-03 14:16:33 +11:00
Randy Mackay
f1f71ef605 Copter: cli uses has_current method 2014-12-31 15:22:50 +09:00
Randy Mackay
3ccc61c163 Copter: use battery.has_current method 2014-12-31 15:22:49 +09:00
Randy Mackay
d6b4bfd97f Copter: move underscore in BATT_ parameters 2014-12-31 15:22:48 +09:00
Randy Mackay
2e7435df52 Copter: remove unused OF_LOITER pid defines 2014-12-31 13:16:18 +09:00
Randy Mackay
3e34e7ed7e Copter: remove logging dependency on optflow 2014-12-31 13:16:17 +09:00
priseborough
695f12bec0 Copter: Don't log EKF optical flow data if not required 2014-12-31 13:16:12 +09:00
Randy Mackay
f2b0fc3566 Copter: disarm on landing regardless of pilot input 2014-12-27 13:33:06 +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
Randy Mackay
2bc1b7e4d6 Copter: skip pre-arm checks when already armed 2014-12-26 22:01:43 +09:00
Randy Mackay
990a34cb75 Copter: remove support for do-set-home mission command
This avoids the chance of an arithmetic exception in cases where the
position is moved too far
2014-12-26 15:55:26 +09:00
Randy Mackay
2ea9b8a5a8 Copter: set pre_arm_gps_check flag 2014-12-26 12:32:36 +09:00
Randy Mackay
05fedbf98f Copter: minor formatting fixes 2014-12-18 16:38:34 +09:00
Jonathan Challinger
91bff63267 Copter: Fix LAND overshoot issue 2014-12-18 16:38:31 +09:00
Randy Mackay
b6bcf841e1 Copter: remove second camera mount 2014-12-16 21:26:20 +09:00
Jonathan Challinger
cafb38e923 Copter: allow radio failsafe while disarmed so that user can be notified 2014-12-15 14:10:29 +09:00
Randy Mackay
79e40b4f6a Copter: do not send mode_change event before init complete
This avoids a beep as the flight mode is set during start-up
2014-12-15 14:10:23 +09:00
Randy Mackay
562f3e7382 Copter: set notify event when failsafe changes flight mode 2014-12-15 14:10:19 +09:00
Randy Mackay
6a15d21704 Copter: minor format change 2014-12-15 14:10:13 +09:00
Jonathan Challinger
f045c75bfe Copter: play various tones 2014-12-15 14:09:12 +09:00
Randy Mackay
fd55a2d9c4 Copter: increase GPS_HDOP_GOOD default to 2.3 2014-12-15 10:45:50 +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
882546aa8e Copter: optflow logging minor format change 2014-12-08 14:58:27 +09:00
Randy Mackay
3127dd94c1 Copter: add OPTFLOW to default logging 2014-12-08 14:58:27 +09:00
Randy Mackay
aba829678a Copter: optflow instantiation format change
No functional change
2014-12-08 14:58:26 +09:00
Randy Mackay
c93c7af20c Copter: move update_optflow to sensors.pde
No functional change
2014-12-08 14:58:25 +09:00
Randy Mackay
67fdfffc2a Copter: remove OF_Loiter PIDs and tuning 2014-12-08 14:58:18 +09:00
Randy Mackay
0994529624 Copter: remove OF_Loiter from FLTMODE param descriptions
Also remove OF_Loiter reference in comments
No functional change
2014-12-08 14:57:04 +09:00
Andrew Tridgell
fba02479b7 Copter: fixed build with no EKF 2014-12-06 18:43:38 +11:00
priseborough
963cc4d60a Copter: Add velocity gain scaler to interfaces
Allows nav gain to be scaled to compensate for optical flow noise
2014-12-06 18:16:50 +11:00
priseborough
9e7709fa09 Copter: Expand EKF speed limit public method to handle control limits 2014-12-06 18:16:50 +11:00
priseborough
9844dacf40 Copter: Add EKF ground speed limit to loiter speed control
This is required to prevent the speed controller saturating the optical flow sensor during low altitude flying.
2014-12-06 18:16:50 +11:00
priseborough
715d64dce9 Copter: Check for new optical flow updates at 200Hz
Supports use of higher flow read rates if required.
2014-12-06 18:16:48 +11:00
priseborough
468c83c074 Copter : Check for new optical flow readings every 10ms
The driver polls the sensor asynchronously every 100 msec, so we need to continually check for new data.
2014-12-06 18:16:48 +11:00
priseborough
be54f2d6ee Copter : Don't force pre-compiler inclusion of optical flow 2014-12-06 18:16:48 +11:00
priseborough
6d5fb33d1a Copter : enable optical flow by default 2014-12-06 18:16:47 +11:00
priseborough
45c007d216 Copter : Correct comment on required optical flow update rate 2014-12-06 18:16:47 +11:00
priseborough
a72b6b179b Copter : Modify EKF optical flow data interface 2014-12-06 18:16:46 +11:00
priseborough
311206017c Copter : Update EKF optical flow data interface
Makes it compatible with the new PX4Flow interface
2014-12-06 18:16:46 +11:00
priseborough
267ef48026 Copter : disable tilt correction of range finder data for use by EKF
This is a temporary fix. We need to make separate range and altitude measurements available.
2014-12-06 18:16:45 +11:00