Commit Graph

5586 Commits

Author SHA1 Message Date
Randy Mackay 1b38a377ff Copter: autotune replace 1 with true 2018-04-12 20:51:37 +09:00
Leonard Hall 7204d46ccb Copter: Autotune - Fix low angle P issue 2018-04-12 20:51:37 +09:00
Peter Barker d9ab8d6569 Copter: sprayer now uses ahrs singleton; stop passing reference 2018-04-12 14:23:33 +09:00
Michael du Breuil d96919ed21 Copter: Use RC_Channels instead of hal.rcin 2018-04-11 21:47:07 +01:00
Randy Mackay 2817cc61f3 Copter: add heliquad to frame-class param description 2018-04-11 19:35:06 +09:00
Randy Mackay bf6e1993a1 Copter: resolve compiler warning re temp_calibration init order 2018-04-11 11:31:17 +09:00
Pierre Kancir 9e298b3b2f Copter: sprayer uses ahrs in constructor 2018-04-11 09:41:33 +09:00
Michael du Breuil adb7ecef92 Copter: Check MANUAL_CONTROL target 2018-04-10 16:54:34 +01:00
Randy Mackay 13b8ad0e94 Copter: remove sport from pixhawk v2 builds
this mode is almost never used
2018-04-09 09:10:01 +09:00
Andrew Tridgell 9c040105d6 waf: split copter and heli builds
this makes things less confusing for users
2018-04-08 21:26:16 +10:00
Peter Barker d219540554 Copter: correct compilation when AFS is enabled 2018-04-07 09:46:54 +09:00
Peter Barker d0425c7b2f Copter: correct compilation when precland is disabled
Closes #8098
2018-04-07 09:44:43 +09:00
Andrew Tridgell 1ffe75957e Copter: fixed ESC calibration for DShot 2018-04-07 09:10:29 +10:00
Leonard Hall 5c1d895f82 Copter: autotune announce only while tuning 2018-04-06 14:48:28 +09:00
Leonard Hall 83fac326a4 Copter: autotune check for vel overshoot in angle P
this change reduces the chance of over tuned angle P
2018-04-06 14:48:28 +09:00
Peter Barker 975ad608eb Copter: honour defines for optional feature's log messages 2018-04-05 17:37:02 +09:00
Peter Barker 893b761533 Copter: correct terrain-alt logging
Also change to using an out-of-band value upon no-terrain-alt-available
2018-04-05 12:30:05 +09:00
Peter Barker 2d31a7b318 Copter: remove check for enabled in for Log_Write_Beacon
The DataFlash library does this now
2018-04-04 16:20:33 +09:00
Randy Mackay 59e4749fd0 Copter: integrate AC_Loiter
includes param conversion
2018-04-04 10:45:10 +09:00
Randy Mackay 5f2f446199 Copter: add AC_Loiter to make build 2018-04-04 10:45:10 +09:00
Randy Mackay acfc3a606a Copter: circle mode uses AC_Circle get_distance_to_target 2018-04-04 10:45:10 +09:00
Francisco Ferreira 8ff74f31e9
Copter: fix method shadowing 2018-04-03 16:29:33 +01:00
Peter Barker 0c8110ecb2 Copter: factor vehicle's mavlink send_heartbeat 2018-04-03 13:05:19 +01:00
Peter Barker d58e2214d2 Copter: tidy handling of barometer calibrations 2018-04-02 23:25:05 +01:00
Peter Barker cca4d5136e Copter: move common calibration functions up 2018-04-02 23:25:05 +01:00
Peter Barker c80714b820 Copter: factor out preflight calibration function 2018-04-02 23:25:05 +01:00
Peter Barker ebebb3b107 Copter: use ahrs singleton for AP_Follow and SmartRTL 2018-04-02 17:16:02 +01:00
Randy Mackay b3cb491bb1 Copter: minor format fix to mode_land 2018-03-31 14:19:13 +09:00
Dr.-Ing. Amilcar do Carmo Lucas d633ba8c46 Copter: Add option to disable RPM module 2018-03-30 09:36:48 +09:00
Ebin 914f3385a4 ArduCopter: Moved land control fn definitions to mode.cpp (NFC) 2018-03-29 16:54:54 +01:00
Ebin 1ff4019ddf ArduCopter: moved landing control fns from Copter to Mode
land_run_horizontal_control(),land_run_vertical_control(),get_alt_above_ground() moved to Mode
2018-03-29 16:50:00 +01:00
Randy Mackay cbd2756467 Copter: loiter loses redundant z-axis init 2018-03-29 08:26:42 +09:00
Leonard Hall a3a1601837 Copter: althold remove redundant z-axis init 2018-03-29 08:26:42 +09:00
Leonard Hall 8ff8364252 Copter: remove redundant takeoff_stop from flowhold 2018-03-29 08:26:42 +09:00
Peter Barker ce0f0938ee Copter: make superclass handle command_ack packets 2018-03-28 09:28:23 +09:00
Michael du Breuil 291531e056 Copter: Support new battery failsafes 2018-03-27 22:12:21 +01:00
priseborough 4b00f399b4 Copter: Clarify definition for gps_glitching flag 2018-03-27 20:28:55 +09:00
Peter Barker f8d5fe96d8 Copter: allow DataFlash to handle log sending 2018-03-26 09:22:47 +09:00
Bruno Camba 7b50517232 Copter: Moved commands_logic to mode_auto
Moved methods from commands_logic.cpp to
the mode_auto.cpp. Method order is
the same as declared in mode.h
2018-03-23 10:07:12 +09:00
Dr.-Ing. Amilcar do Carmo Lucas 580143d404 Copter: Add whitespaces to increase readability and consistency (NFC) 2018-03-23 09:34:11 +09:00
Dr.-Ing. Amilcar do Carmo Lucas 58480435bb Copter: Add missing parameter units (NFC) 2018-03-23 09:34:11 +09:00
Peter Barker 41960704b0 Copter: move handling of visual odometry messages up 2018-03-23 09:28:07 +09:00
Dr.-Ing. Amilcar do Carmo Lucas 4f0cf6d334 Copter: Parameter ACRO_THR_MID is only used in ACRO flight mode 2018-03-23 09:14:23 +09:00
Pierre Kancir 9c23aa5ec3 ArduCopter: fix FALLTHROUGH 2018-03-21 08:24:56 +09:00
apinxiko 032ad9a67b Copter: avoid hard stop in missions 2018-03-20 10:30:38 +09:00
kozinalexey 8b5f5a5fa0 Copter: fix camera relay trigger
camera.update() for automatic shots always called from
void Copter::update_GPS(void), after gps read
copter specific bug
2018-03-20 10:13:49 +09:00
Dr.-Ing. Amilcar do Carmo Lucas 5f9879fae1 Copter: remove more parameters when ACRO is disabled 2018-03-20 08:13:06 +09:00
Dr.-Ing. Amilcar do Carmo Lucas d78c2a1015 Copter: Fix copy-paste error in toy_mode 2018-03-20 08:13:06 +09:00
night-ghost a1797beb41 Copter: removed 1ms delay on startup
handled by GCS library now, not needed here
2018-03-20 10:08:20 +11:00
Dr.-Ing. Amilcar do Carmo Lucas 8e143aa637 Copter: Do not switch into a disabled flight mode 2018-03-19 15:06:41 +00:00