Randy Mackay
6597d5c825
Copter: remove old ch7_opt and tune param desc
2020-01-21 13:06:56 +09:00
Peter Barker
e3dd0d33e7
Copter: allow NavEKFs to be compiled out
2020-01-21 11:53:18 +11:00
Peter Barker
45dc4cf25c
Copter: EKF objects have moved into AP_AHRS_NavEKF
2020-01-21 11:53:18 +11:00
Andrew Tridgell
47ea3274bb
Copter: list BetaflightXReversed frame type
2020-01-16 19:13:13 +11:00
Andrew Tridgell
1fae2009db
Copter: update for new SRV_Channels parameter conversion call
2020-01-14 14:23:11 +11:00
Gone4Dirt
daf1b57736
Copter: Changed autorotation fltmode to clarify for heli
2020-01-14 09:47:28 +09:00
Andy Piper
93abfdb905
Copter: create generic vehicle management and move runcam to it
2019-12-30 13:02:04 +11:00
Randy Mackay
f56a426193
Copter: gcs failsafe disabled by default
2019-12-23 14:35:15 +09:00
Randy Mackay
ea22e888c7
Copter: improve RTL terrain following
...
RTL_ALT_TYPE replaces TERRAIN_FOLLOW param
return path built using rangefinder or terrain database
pre-arm checks for RTL_ALT_TYPE parameter
pre-arm checks of terrain data only run if RTL might use it
2019-12-17 20:02:01 +09:00
bnsgeyer
74d81e6d50
Copter: Change STAB_COL params to percent
2019-12-14 09:00:31 +09:00
Peter Barker
544eb5f179
Copter: correct duplicate button instance
2019-12-10 09:29:52 +09:00
Leonard Hall
7d062e3767
Copter: System ID mode: Add tuning option parameter discription
2019-12-05 09:21:00 +08:00
Gone4Dirt
180d4e713c
Copter: Added autorotation flight mode and support
2019-11-29 08:06:10 +08:00
Peter Barker
afdded2bff
Copter: adjust for renaming of RangeFinder files
2019-11-12 07:14:37 +08:00
Peter Barker
e6c6189fe5
Copter: cope with change in namespace of LogEvent enum
...
Also move Acro Trainer types into an enum class as the global defines
interfere with the Event names.
Also eliminate the Log_Write_Event wrappers.
2019-11-05 08:19:26 +08:00
Matt Lawrence
f71ef4c7ab
Copter: Refactor failsafes, add fs_options bitmask parameter
...
- Radio failsafe, battery failsafe, GCS failsafe refactoring
- Add new FS_OPTIONS parameter
- Enhance GCS Failsafe abilities
2019-11-03 07:07:34 +08:00
Peter Barker
2a312aa8f1
Copter: stop passing serial manager to proximity constructor
2019-10-31 11:58:15 +08:00
Randy Mackay
f0084f743d
Copter: fix PSC_ACCZ_FILT to _FLTE param conversion
2019-10-29 12:25:57 +08:00
Randy Mackay
85f963b961
Copter: multicopter ATC_RAT_RLL/PIT_FILT copied to FLTD and FLTT
2019-10-25 12:28:00 +08:00
Randy Mackay
7b0da89708
Copter: add vibration check
2019-10-18 11:15:25 +09:00
Leonard Hall
c11f2247eb
Copter: System ID mode
2019-10-16 08:17:09 +09:00
murata
abb91fc33a
Copter: Change external button specification to option
...
Copter: Change the definition name from BUTTON to BUTTON_ENABLED.
2019-10-08 08:09:19 +09:00
bnsgeyer
aef04fd924
Copter: tradheli update conversion
2019-09-25 14:59:02 +09:00
Peter Barker
b4537bebd8
Copter: move control_mode_t into being Mode::Number enum class
...
Fixes this compiler error:
In file included from ../../ArduCopter/sensors.cpp:1:
In file included from ../../ArduCopter/Copter.h:195:
../../ArduCopter/mode.h:1291:9: fatal error: declaration shadows a variable in the global namespace [-Wshadow]
AUTO, // after A and B defined, pilot toggle the switch from one side to the other, vehicle flies autonomously
^
../../ArduCopter/defines.h:38:5: note: previous declaration is here
AUTO = 3, // fully automatic waypoint control using mission commands
^
1 error generated.
2019-09-13 13:12:08 +09:00
bnsgeyer
23d4473f88
Copter: tradheli-properly upgrade rsc parameters
2019-09-13 08:53:54 +09:00
Randy Mackay
6ddaf81439
Copter: param conversion for INS_NOTCH_FREQ and BW
2019-09-11 18:41:05 +10:00
bnsgeyer
f84dac85ea
Copter: tradheli-dualheli swashplate type upgrade conversion fix
2019-09-10 15:02:34 +09:00
bnsgeyer
a849aab4c7
Copter: tradheli-singleheli swashplate type upgrade conversion fix
2019-09-10 15:02:34 +09:00
Randy Mackay
709c874d8b
Copter: integrate AP_OAPathPlanner
2019-08-17 09:42:43 +09:00
Peter Barker
48a1b2f436
Copter: avoid allocate a GCS_MAVLINK per mavlink channel
2019-08-14 18:25:43 +10:00
Bill Geyer
c8b547a8e4
Copter: tradheli-remove snprintf statements
2019-08-06 08:24:59 +09:00
bnsgeyer
5eb5277f4c
Copter: tradheli-converts swashplate to H3-120 on upgrade based on old params
2019-08-06 08:24:59 +09:00
Michael du Breuil
599a1af5c1
Copter: Convert ARMING_CHECK
2019-07-30 10:42:16 +10:00
Leonard Hall
f128e93ec5
Copter: support for upgrade to PID object
2019-07-25 17:38:15 +09:00
Peter Barker
cf45108efb
Copter: set Heli frame default at compile-time
2019-07-04 10:05:01 +09:00
Michael du Breuil
c612291a47
Copter: Enable scripting parameters
2019-06-18 00:06:32 -07:00
Michael du Breuil
bd904f890f
Copter: Update for AFS interface
2019-06-18 10:02:05 +10:00
Peter Barker
676d75c391
Copter: correct namespacing of Copter modes
...
This makes us look like Rover and Plane in terms of namespacing for the
Mode classes, and removes a wart where we #include mode.h in the middle
of the Mode class.
This was done mechanically for the most part.
I've had to remove the convenience reference for ap as part of this.
2019-06-11 09:18:22 +09:00
ChristopherOlson
e13ff6c398
Copter: Parameters TradHeli Acro - add description for setting of virtual flybar
2019-06-04 09:57:13 +09:00
1iggy2
3c4bac7c97
Copter: added I frame for octa
2019-06-04 09:49:44 +09:00
bnsgeyer
4120e29614
AP_Motors: Tradheli-complete conversion of throttle curve params to percent
...
add conversion for throttle curve params for upgrade
2019-06-03 07:53:01 +09:00
Randy Mackay
2c682c7001
Copter: add missing AccelZ to GCS_PID_MASK param description
2019-04-13 13:33:52 +09:00
Peter Barker
e5b25824eb
Copter: remove unused takeoff_trigger_dz parameter
2019-04-09 08:15:39 +10:00
Randy Mackay
a5bdd12bfa
Copter: replace TUNE_LOW/HIGH params with TUNE_MIN/MAX
...
change from uint16 to floats to ease setup
also add check that no function assigned to rc6
2019-04-08 15:24:00 +09:00
Peter Barker
fad769f3bf
Copter: add param conversion from MAG_ENABLE to COMPASS_ENABLED
2019-04-02 10:24:49 +11:00
Peter Barker
2040580ce7
Copter: move enabled parameter into compass library
2019-04-02 10:24:49 +11:00
Patrick José Pereira
33764d6c3b
Copter: Fix typo
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2019-03-26 15:39:23 +11:00
bnsgeyer
2ec470aaee
Copter:tradheli - added swash params to convert on upgrade
2019-03-20 10:40:20 +10:00
bnsgeyer
2fc942ac24
Copter: tradheli-convert swash parameters on firmware upgrade
2019-03-20 10:40:20 +10:00
Randy Mackay
ead3682e4c
Copter: correct ACRO_YAW_P param description
...
this parameter applies to all flight modes
2019-03-06 14:42:59 +09:00
Michael du Breuil
cac4b91671
Copter: Allow scripting to run
2019-03-05 08:45:54 +11:00
Andrew Tridgell
3f58461839
Copter: allow override of default frame type
2019-02-06 11:17:35 +11:00
Andrew Tridgell
36180faab5
Copter: added 3 more FRAME_TYPE values
2019-02-06 11:17:35 +11:00
bnsgeyer
62ffd273aa
Copter: Tradheli-default RC8_OPTION to motor interlock
2019-01-28 09:44:56 +09:00
Peter Barker
b47733142f
GLOBAL: rename DataFlash_Class to AP_Logger
2019-01-18 18:08:20 +11:00
Dr.-Ing. Amilcar do Carmo Lucas
00d9cc2e09
Copter: Only use the 6 LSBs, avoids a cpp warning
2019-01-11 20:55:17 +09:00
Pierre Kancir
8c5d9d38a6
Copter: fix snprintf size warning
2019-01-10 20:00:29 +09:00
Michael du Breuil
fc2ea009fb
Copter: Reset all storage when format version is incorrect
2019-01-08 10:35:37 +11:00
IamPete1
21b6a2a878
Copter: Add value to paramiter discription
2018-12-21 11:19:18 +09:00
Andrew Tridgell
89d54767b1
Copter: convert to use AC_AutoTune library
...
this maintains existing behaviour
2018-12-18 10:34:42 +09:00
Francisco Ferreira
a2fa63bcf7
Copter: fix Cygwin build
...
Static initialization doesn't have an exact order, we can't rely on it
2018-12-13 09:28:44 +09:00
Randy Mackay
550be0bfb1
Copter: tradheli default table made static
2018-12-06 12:23:41 +09:00
Randy Mackay
00b909255c
Copter: tradheli uses set_defaults_from_table
2018-12-06 12:23:41 +09:00
ChristopherOlson
2e98de3292
Copter:Parameters-TradHeli - set defaults for PSC and LOIT controllers
2018-11-27 08:48:41 +09:00
Randy Mackay
f8773e0bdc
Copter: enable ground effect compensation by default
2018-11-12 13:43:42 +09:00
Andrew Tridgell
2f79932611
Copter: auto-convert landing gear PWM parameters
2018-11-10 21:24:19 +11:00
Peter Barker
72440e2af3
Copter: allow VFR_HUD.alt to be relative-alt if DEV_OPTIONS has bit 2 set
2018-11-06 11:26:38 +09:00
Michael du Breuil
f7245e7797
Copter: Remove old parameter conversion that conflicts with newer code
2018-11-06 10:18:39 +09:00
Michael du Breuil
5740ea55e8
Copter: Fix battery failsafe param conversion
2018-11-06 10:18:39 +09:00
CAO MUQING
71beab7502
Copter: create and update Zigzag flight mode
2018-10-05 10:05:45 +09:00
Randy Mackay
e44f7dc3e1
Copter: minor fix to user parameters
2018-08-31 09:25:37 +09:00
SergeyBokhantsev
af6303c82b
Copter: User parameters implementation
2018-08-31 08:42:03 +09:00
Randy Mackay
9fff6d1e71
Copter: restore CHx_OPT param descriptions
...
This will help users who are using beta mission planner (which gets param descriptions from master) with Copter-3.6 which still has these parameters.
2018-08-07 09:47:39 +09:00
Andrew Tridgell
59cd468444
Copter: fixed RC_Channels parameter docs
2018-08-04 12:28:38 +10:00
Peter Barker
e7e56dde7a
Copter: move handling of RC switches into RC_Channel
2018-08-01 12:11:30 +09:00
chobits
6f2814d70c
Copter: clarify RTL_ALT parameter description
2018-07-05 10:30:07 +09:00
Luis Vale Gonçalves
6194413829
Copter: clarify PILOT_THR_BHV param desc
2018-07-03 08:24:46 +09:00
Lucas De Marchi
7f0d5ddf21
AP_Param: stop panic()'ing on unknown parameters
...
Our track record on keeping parameters up to date with master is not
great and panic()'ing when loading them apparently is not helping
because every and each vehicle has a different file.
On aerofc load_defaults_file() is used in the same way as
load_embedded_param_defaults() is in which the panic() behavior has been
previously removed.
This finishes the removal of the panic param and add warnings to the
debug console when reading the parameters (rather than when counting
them).
2018-06-28 10:18:19 -07:00
Andrew Tridgell
20dea6df45
Copter: moved OSD to top level params
...
this gives us plenty of param depth for a complex param tree
2018-06-27 14:55:00 +10:00
Alexander Malishev
f63b3c044a
Copter: added OSD support
2018-06-27 14:55:00 +10:00
Michael du Breuil
749e0acd10
Copter: Remove software type param
2018-06-05 09:14:12 +10:00
Peter Barker
e3ddf7dadd
Copter: rename SPRAYER-enabled-define to SPRAYER_ENABLED
2018-06-01 15:13:05 +09:00
Peter Barker
dc61884303
Copter: remove rcmap member from AP_AdvancedFailsafe
2018-05-05 18:06:31 +09:00
Peter Barker
80549a479e
Copter: move throw logging into ModeThrow
2018-04-17 17:16:52 +09:00
Randy Mackay
2817cc61f3
Copter: add heliquad to frame-class param description
2018-04-11 19:35:06 +09:00
Peter Barker
d219540554
Copter: correct compilation when AFS is enabled
2018-04-07 09:46:54 +09:00
Randy Mackay
59e4749fd0
Copter: integrate AC_Loiter
...
includes param conversion
2018-04-04 10:45:10 +09:00
Peter Barker
ebebb3b107
Copter: use ahrs singleton for AP_Follow and SmartRTL
2018-04-02 17:16:02 +01:00
Dr.-Ing. Amilcar do Carmo Lucas
d633ba8c46
Copter: Add option to disable RPM module
2018-03-30 09:36:48 +09:00
Michael du Breuil
291531e056
Copter: Support new battery failsafes
2018-03-27 22:12:21 +01: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
4f0cf6d334
Copter: Parameter ACRO_THR_MID is only used in ACRO flight mode
2018-03-23 09:14:23 +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
Peter Barker
52882d11fa
Copter: AP_TempCalibration does not take reference to ins
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
f368ff6664
Copter: parameter conversion from RC_FEEL_RP to ATC_INPUT_TC
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
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
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
ed36ec3c29
Copter: add option to disable THROW mode
2018-03-15 07:38:14 +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
af56826107
Copter: follow mode fixups
...
add follow to FLTMODEx param descriptions
remove follow's set_velocity method
10hz logging of desired velocity in follow mode
follow mode uses pos error P gain
add send-debug-via-mavlink option
don't enter follow if follow lib is disabled
follow debug slowed to 1hz
disable follow on min-features builds
2018-03-05 15:08:08 +09:00
Randy Mackay
053983eb70
Copter: integrate AP_Follow into chase mode
2018-03-05 15:08:08 +09:00
night-ghost
adcc309f15
Copter: allow AP_Stats to be optional
2018-03-02 07:23:35 +11:00
murata
c0954b557e
Copter: move BCN param desc within define
...
non-functional change to make the formatting consistent
2018-02-28 13:17:40 +09:00
Peter Barker
b8e1f03599
Copter: add define for disabling beacon
2018-02-27 07:43:13 +09:00
Peter Barker
5b355214fd
Copter: add option to disable CIRCLE flight mode
...
Saves about 2.4kB of flash
2018-02-27 07:43:13 +09:00
Peter Barker
9b440d6b25
Copter: add option to disable SmartRTL mode
...
Saves 5.5k of Flash
2018-02-27 07:43:13 +09:00
Peter Barker
b9ad2bc8db
Copter: add option to disable AUTO mode
...
Saves ~12k of flash
2018-02-27 07:43:13 +09:00
Dr.-Ing. Amilcar Do Carmo Lucas
def098bd8a
Copter: obey ADSB_ENABLED == DISABLED
2018-02-21 22:11:34 +09:00
Andrew Tridgell
7938bd08bb
Copter: make flowhold mode conditional
...
reduces build size on px4-v2 by 4k
2018-02-12 13:34:47 +09:00
murata
c31c2a4cf1
Copter: optionalize the winch
2018-02-12 12:16:57 +09:00
Andrew Tridgell
0ed75052f8
Copter: enable parameters inside mode objects
...
this adds FHLD_* parameters for FlowHold mode. It is a large patch as
it needs to disentagle the mode class to enable it to be used in
Parameters.h
2018-02-08 17:36:33 +11:00
Andrew Tridgell
af4f0c29ba
Copter: enable TMODE (ToyMode) support
...
this is for the skyviper button based transmitter control
2018-02-08 17:36:33 +11:00
Andrew Tridgell
15166eff2e
Copter: enable temperature calibration library
2018-02-08 17:36:33 +11:00
Randy Mackay
0f6762bbd2
Copter: PSC_ACCZ param name shortened
2018-01-31 08:48:21 +09:00
Andrew Tridgell
89674482a7
Copter: added FLTMODE_CH parameter
...
this allows for the flight mode to be on any RC channel, or no channel
at all to disable RC flight modes
2018-01-27 12:01:35 +09:00
Pierre Kancir
cfc69214e6
Copter: add LAND_ALT_LOW parameter
2018-01-24 21:14:35 +09:00
Randy Mackay
8d6f8e4d9c
Copter: move pos-control pids to pos-control library
2018-01-23 12:00:43 +09:00
Randy Mackay
6546ccbb3f
Copter: velocity pi moved to position control library
2018-01-23 12:00:43 +09:00
Dylan Herman
20fe5bb98f
Copter: add SmartRTL failsafe action
...
Adds SmartRTL or RTL and SmartRTL or Land failsafe options for batt, throttle, and GCS failsafes
2018-01-22 10:54:28 +09:00
Randy Mackay
0ac708b5a0
Copter: remove ability to disable PosHold flight mode
...
This flight mode is stable and regularly used so it is unlikely that we ever want to disable it
2017-12-12 10:39:26 +09:00
Andrew Tridgell
311d7c11e4
Copter: added LOITER option in THROW_NEXTMODE
2017-11-27 14:14:06 +09:00
ChrisBird
caaeae3d0a
Copter: Separate max ascent and descent speeds
...
Added equivalent parameters to WPNAV_SPEED_UP and WPNAV_SPEED_DN
New parameters named:
PILOT_SPEED_UP (technically renamed PILOT_VELZ_MAX)
PILOT_SPEED_DN
Removed parameter PILOT_VELZ_MAX (technically renamed to PILOT_SPEED_UP).
Flight Modes impacted:
ALTHOLD
AUTOTUNE
CIRCLE
LOITER
POSHOLD
SPORT
TAKEOFF
Update a section in GUIDED mode but I don't think it is ever used but update just in case.
It will use the PILOT_SPEED_UP for ascending max velocity. For down it will check if
it is 0, if so then it will PILOT_SPEED_UP instead, if non zero it will use PILOT_SPEED_DN.
This retains current behavior and gives the flexibility to change it if desired.
2017-11-09 09:03:54 +09:00
Randy Mackay
787954fa37
Copter: integrate winch library
...
fixes after peer review:
rename winch-disable to winch-relaxed
add DO_WINCH to do-verify
winch release-length accepts rate
2017-10-27 09:20:38 +09:00
Andrew Tridgell
e2f710523e
Copter: added inverted flight to switch docs
2017-10-03 10:16:41 +11:00
Randy Mackay
44a436642b
Copter: complete rename to SmartRTL
...
Also fix parameter description for CH7_OPT
2017-09-15 08:58:14 +09:00
squilter
4b57a4a231
Copter: rename SafeRTL to SmartRTL
2017-09-09 14:05:41 +09:00
squilter
ba0e08552f
Copter: add SafeRTL flight mode
2017-09-09 14:05:41 +09:00
squilter
00ace08b54
Copter: minor formatting fixes
2017-08-30 20:07:11 +09:00
Peter Barker
0b6de644fb
Copter: add ArduSub to list of SYSID_SW_TYPE
2017-08-24 19:50:38 +09:00
Peter Barker
c6b9c84d1f
Copter: remove CLI
2017-08-14 10:23:50 +09:00
Andrew Tridgell
7473471f38
Copter: reverse IDs in g2 for TCAL and tx_type
...
as discussed with Randy
2017-07-10 17:07:57 +10:00
Peter Barker
d9b45cc202
Copter: create GCS subclass, use inheritted methods
2017-07-07 16:18:37 +01:00
Eugene Shamaev
24c390ade0
ArduCopter: move of CAN parameters into separate group
2017-07-03 11:44:32 +01:00
Randy Mackay
41752eef8b
Copter:default RC_FEEL to 50
2017-07-03 09:34:07 +09:00
Dr.-Ing. Amilcar Do Carmo Lucas
f8aa91681e
Copter: Improve the PWM parameters descriptions
2017-06-06 11:06:26 +10:00
Leonard Hall
c61d0a7373
Copter: reduce RC_FEEL default to 25
2017-06-01 10:06:20 +09:00
murata
1a76c28655
Copter: add dodeca-hexa
2017-05-27 14:21:13 +09:00
Randy Mackay
70ed572476
Copter: minor formatting fix
...
This is mostly just to trigger compilation of the latest beta
2017-05-25 17:53:20 +09:00
Dr.-Ing. Amilcar Do Carmo Lucas
f366095113
Copter: Use SI units conventions in parameter units
...
Follow the rules from:
http://physics.nist.gov/cuu/Units/units.html
http://physics.nist.gov/cuu/Units/outside.html
and
http://physics.nist.gov/cuu/Units/checklist.html
one further constrain is that only printable (7bit) ASCII characters are allowed
2017-05-17 18:07:25 +10:00
Dr.-Ing. Amilcar Do Carmo Lucas
60aeade0f4
Copter: Add missing @RebootRequired: True
2017-05-15 21:51:16 +09:00
Randy Mackay
1a246851fc
Copter: enable radio failsafe by default
2017-04-24 17:07:42 +09:00
Randy Mackay
713c08672f
Copter: integrate AP_VisualOdom
2017-04-19 11:04:40 +09:00
Randy Mackay
7478ae9eb4
Copter: TUNE parameter description fixes
2017-04-08 15:35:05 +09:00
Andrew Tridgell
6bb5c16fb8
Copter: allow for HELI_DUAL configurations
2017-03-25 16:22:10 +11:00
Jacob Walser
353202e03c
Copter: Fix parameter metadata
2017-03-22 16:16:26 -07:00
Randy Mackay
e8c5612587
Copter: fix reference to PosControl param descriptions
...
No functional change
2017-03-01 14:59:44 +09:00
Randy Mackay
627e3faf41
Copter: fix SYSID_ENFORCE parameter description
2017-02-28 15:06:51 +09:00