Commit Graph

23 Commits

Author SHA1 Message Date
Peter Barker f64fcb78d3 ArduCopter: make AP_RANGEFINDER_ENABLED remove more code 2024-07-02 09:17:26 +10:00
Peter Barker c32a11f37a ArduCopter: make and use AP_LANDINGGEAR_ENABLED 2022-12-14 18:30:23 +11:00
Tatsuya Yamaguchi ed8384b45a Copter: add option to disable LANDING_GEAR 2021-03-17 10:41:11 +09:00
Peter Barker dac5aca40e ArduCopter: move logging of LandingGear event into LandingGear
Less code and Plane will get the event logged too.
2020-12-05 20:45:20 +11:00
Randy Mackay 8d99f204b0 Copter: integrate landing gear option and make edge based
also guided mode now retracts landing gear after takeoff
previously landing gear deployment was "level based" meaning the pilot could not override the gear's position
2020-02-26 08:01:00 +09:00
Peter Barker dfc8349866 Copter: use enum-class for RangeFinder Status 2019-11-09 08:01:53 +11: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
Peter Barker 2c814e9de2 Copter: get_alt_above_ground to get_alt_above_ground_cm 2019-02-26 19:31:41 +09:00
Peter Barker 8e1b48ef1e Copter: use height-above-ground for landing gear deployment 2019-02-26 08:21:32 +09:00
Randy Mackay d6dca1f6a1 Copter: landing gear deployment height calc uses lidar status 2018-11-10 21:24:19 +11:00
Andrew Tridgell 144e1945c6 Copter: support height based landing gear 2018-11-10 21:24:19 +11:00
Matt 15823d9e97 AP_LANDING_GEAR: Remove deploy lock
Since the RC switches only respond to changes, there is no longer a need
for this lock state. The gear can be retracted or deployed by RC switch,
flight mode, or mavlink command freely without convoluted unlocking
methods.  Also removed use of this in the associated Copter code.
2018-08-03 10:59:15 +09:00
Peter Barker d9235d3d41 Copter: make landing_gear_should_be_deployed a base-class method 2017-12-27 12:08:15 +00:00
Randy Mackay 2d23e1f7c7 Copter: rename flightmode_ objects to mode_ 2017-12-12 10:39:26 +09:00
Peter Barker 682f3c0e7e Copter: FlightMode - convert RTL flight mode 2017-12-06 08:24:24 +09:00
Peter Barker e2b70c3a0a Copter: FlightMode - convert AUTO flight mode 2017-12-06 08:24:24 +09:00
Randy Mackay c3fd354452 Copter: enable landing gear based on RC output
previously it was enabled based on the transmitter's auxiliary switch
being setup
2017-08-05 11:20:41 +09:00
Randy Mackay 5b8e7cfdf9 Copter: landinggear_update formatting change
no functional change
2017-08-05 11:20:41 +09:00
Randy Mackay a5ea9420c0 Copter: landing gear position set less often
This change means no pwm output is sent to the landing gear servos until the pilot has moved the switch
2017-06-13 13:56:07 +09:00
Randy Mackay ca8ae06bba Copter: minor format fix to landing-gear update function 2017-05-18 12:26:19 +09:00
Mathieu OTHACEHE 152edf7189 Global: remove mode line from headers
Using a global .dir-locals.el file is a better alternative than
reincluding the same emacs header in every file of the project.
2016-10-24 09:42:01 -02:00
Andrew Tridgell 278883c521 Copter: finished conversion to .cpp files
Pair-Programmed-With: Randy Mackay <rmackay9@yahoo.com>
2015-05-30 15:21:19 +09:00
Andrew Tridgell 356ece3402 Copter: rename .pde files to .cpp files 2015-05-30 15:21:15 +09:00