Commit Graph

265 Commits

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