Commit Graph

301 Commits

Author SHA1 Message Date
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