5
0
mirror of https://github.com/ArduPilot/ardupilot synced 2025-01-08 17:08:28 -04:00
Commit Graph

5548 Commits

Author SHA1 Message Date
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
Ebin
d8f56b3511 ArduCopter: changed signature for get_pilot_desired_lean_angles()
Removes first two redundant input parameters, makes fn non static, makes fn const
2018-03-19 17:51:39 +09:00
Peter Barker
edcfa7ffd4 Copter: move handling of get_home_position up 2018-03-19 10:32:37 +09:00
Peter Barker
45f2312bfe Copter: move home state into AP_AHRS 2018-03-19 10:32:37 +09:00
Peter Barker
52882d11fa Copter: AP_TempCalibration does not take reference to ins 2018-03-16 00:37:35 -07:00
Peter Barker
2749ee9060 Copter: use ins singleton 2018-03-16 00:37:35 -07:00
Randy Mackay
feecbe442f Copter: use multiply instead of divide in param conversion 2018-03-16 13:50:57 +09:00
Randy Mackay
d7ea8f073f Copter: run guided velocity control at main loop rate 2018-03-16 13:50:57 +09:00
Randy Mackay
4a74b1b5e5 Copter: replace NTUN with PSC logging 2018-03-16 13:50:57 +09:00
Randy Mackay
0392d2752d Copter: tuning rc-feel uses multiply instead of divide 2018-03-16 13:50:57 +09:00
Randy Mackay
1035645f5c Copter: poshold always resets loiter I term 2018-03-16 13:50:57 +09:00
Leonard Hall
a727305a59 Copter: integrate attitude control EKF inertial-frame-reset 2018-03-16 13:50:57 +09:00
Randy Mackay
f368ff6664 Copter: parameter conversion from RC_FEEL_RP to ATC_INPUT_TC 2018-03-16 13:50:57 +09:00
Leonard Hall
8ac653cabf Copter: AutoTune integrate renamed use_sqrt_controller 2018-03-16 13:50:57 +09:00
Randy Mackay
853d7ab573 Copter: remove setting of pos-con jerk 2018-03-16 13:50:57 +09:00
Leonard Hall
7511781a7e Copter: add accel target to NTUN log msg
Also rename NTUN column headers from D (meaning Desired) to T (meaning Target)
2018-03-16 13:50:57 +09:00
Leonard Hall
f9acc8a666 Copter: guided removes xy mode in calls to pos-con
Also limit angle to hold altitude
2018-03-16 13:50:57 +09:00
Randy Mackay
1a0be015f9 Copter: land, loiter, rtl provide dt to AC_WPNav::set_pilot_desired_acceleration
Also fix accelerations/lean-angles for land and rtl-land
2018-03-16 13:50:57 +09:00
Leonard Hall
93de23e7c4 Copter: get-pilot-desired-lean-angles accepts another angle-max 2018-03-16 13:50:57 +09:00
Leonard Hall
1540f98888 Copter: add angle inputs to Loiter 2018-03-16 13:50:57 +09:00
Leonard Hall
9544b1763b Copter: replace smoothing gain with AC_AttitudeControl::set_input_tc 2018-03-16 13:50:57 +09:00
Ebin
185f41d5bd Copter arm_checks(): PreArm in error msg changed to Arm 2018-03-16 09:49:54 +09:00
Dr.-Ing. Amilcar Do Carmo Lucas
7df1419579 Copter: add missing MAGNETOMETER and STATS_ENABLED build defines 2018-03-15 15:03:22 +00:00
Dr.-Ing. Amilcar Do Carmo Lucas
115ed491c0 Copter: Obey RANGEFINDER_ENABLED, AUTOTUNE_ENABLED and AC_TERRAIN build macros 2018-03-15 15:03:22 +00:00
Dr.-Ing. Amilcar Do Carmo Lucas
5b7116bbbd Copter: Fix else formating (NFC)
git history on these lines is not important, this is a simple else
2018-03-15 07:51:26 +09:00
Dr.-Ing. Amilcar Do Carmo Lucas
db90ee6841 Copter: Remove RTL_ parameters if RTL flight mode is disabled 2018-03-15 07:38:50 +09:00
Dr.-Ing. Amilcar Do Carmo Lucas
21c33b60db Copter: Remove DRIFT mode code if DRIFT mode is disabled. 2018-03-15 07:38:14 +09:00
Dr.-Ing. Amilcar Do Carmo Lucas
ed36ec3c29 Copter: add option to disable THROW mode 2018-03-15 07:38:14 +09:00
Dr.-Ing. Amilcar Do Carmo Lucas
b27c00dc5f Copter: add option to disable ACRO mode 2018-03-15 07:38:14 +09:00
Randy Mackay
20ac17cda8 Copter: remove adsb beacon nav-guided and visodom from min features 2018-03-14 20:41:47 +09:00
Ebin
b8a307cdd0 Copter: Changed log message IDs to enum
Changes log message IDs to enum, removes values in LoggingParameters enum
and removes deprecated params in LogParameters.
2018-03-14 09:33:39 +09:00
Randy Mackay
af207caa1f Copter: move get_pilot_desired_lean_angles higher in cpp
this makes the definition in the .h and implementation in .cpp files appear in the same order
2018-03-14 09:33:39 +09:00
Ebin
20995b909f Copter: Moved get_pilot_desired_lean_angles to mode.cpp 2018-03-14 09:33:39 +09:00
Andrew Tridgell
62522a4e1d Copter: fixed docs for Follow mode number 2018-03-13 07:53:16 +09:00
Peter Barker
d88bd52a53 Copter: use baro singleton 2018-03-08 21:20:05 -08:00
Peter Barker
9f05556801 Copter: delete correct assignment operator 2018-03-08 21:20:05 -08:00
Peter Barker
9bffeb4117 Copter: use AHRS singleton in GCS_MAVLink 2018-03-07 12:34:39 +00:00
Peter Barker
bc4f021516 Copter: use AP::ahrs() for ADSB 2018-03-07 12:34:39 +00:00
Dr.-Ing. Amilcar Do Carmo Lucas
35a4748c06 Copter: follow mode renames and comment improvements 2018-03-06 09:50:16 +09:00