Commit Graph

288 Commits

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