Commit Graph

613 Commits

Author SHA1 Message Date
Iampete1 6a4280429a RC_Channel: move aux pos string to function, print RC channel number with aux fun 2022-10-14 12:01:07 +11:00
Andrew Tridgell ff4478a4d9 RC_Channel: added cache of aux functions for scripting
allows for scripting to act on aux functions
2022-10-11 11:47:04 +11:00
Peter Barker 8e7d87447c RC_Channel: make emitting nice strings on aux functions a selectable feature 2022-10-11 10:23:19 +11:00
Iampete1 93b1825414 RC_Channel: add method to check if override hads ever been recived 2022-10-09 16:02:13 +01:00
Randy Mackay d612bb3089 RC_Channel: add winch enable to option param docs for Copter 2022-10-08 03:11:01 +09:00
Peter Barker 61c4320e89 RC_Channel: add AP_GRIPPER_ENABLED 2022-10-04 10:58:34 +11:00
Randy Mackay 47e2be6e60 RC_Channel: add camera aux functions 2022-09-30 15:17:29 +09:00
Peter Barker e9918306fd RC_Channel: save some bytes by excluding functions 2022-09-22 11:24:25 +10:00
Peter Barker ada65b6ad0 RC_Channel: add and use AP_CAMERA_ENABLED 2022-09-21 11:58:38 +10:00
Henry Wurzburg ac1b1c5a93 RC_Channel: change sw and output names to match new MOUNT params 2022-09-14 18:29:33 +10:00
Randy Mackay cc67d6f73c RC_Channel: define mount roll, pitch and yaw inputs 2022-09-06 13:53:25 +09:00
esaldiran 8eeb4227f7 RC_Channel: add custom controller aux func 2022-08-30 13:10:09 +10:00
Henry Wurzburg 451ed0aede RC_Channel: add ARM/MOTOR_EMERGENCY_STOP Aux Switch 2022-08-24 16:03:52 +10:00
Henry Wurzburg 7014fde866 RC_Channel: add airbrake option metadata omitted in prev commits 2022-08-21 17:34:03 -07:00
Peter Barker 35ab667e74 RC_Channel: rename OpticalFlow class to AP_OpticalFlow
Brings us in-line with other classes in ArduPilot.

Removes ambiguity with AP_HAL::OpticalFlow which can cause compilation errors as we start to make code more portable across targets
2022-08-18 14:24:01 +10:00
Tamas Nepusz 1ae299b717 RC_Channel: reserve RX aux functions 248-249 for Skybrush 2022-08-09 13:22:07 +10:00
Henry Wurzburg 022987e4d3 RC_Channel: add AUX switch to pause logging of streamed entries 2022-08-02 10:15:08 +10:00
Iampete1 bab866268f RC_Channel: change AC_FENCE to AP_FENCE_ENABLED 2022-07-27 19:04:56 +10:00
Iampete1 5d5552aa93 RC_Channel: fix complation without fence 2022-07-27 19:04:56 +10:00
Henry Wurzburg ac6ae829e4 RC_Channel: Add docs for Mount_Lock option in parameter 2022-07-18 15:38:55 +01:00
Henry Wurzburg fe51cf2ae7 RC_Channel: Add FFT tune doc to param 2022-07-18 15:38:55 +01:00
Randy Mackay 640a4b1a5f RC_Channel: add mount lock aux function 2022-06-15 09:07:14 +09:00
Andrew Tridgell d512dc0b00 RC_Channel: fixed use of configured() vs configured_in_storage() 2022-06-06 13:11:50 +10:00
Randy Mackay b4e5e16d56 RC_Channel: minor spelling fix 2022-06-03 11:56:18 +09:00
Iampete1 069b81819d RC_Channel: notify Airmode switch 2022-05-16 16:13:53 +09:00
Peter Barker b0ceee2c42 RC_Channel: use reference while iterating to find string for aux func 2022-05-16 13:34:36 +10:00
Andy Piper bfc3a5a749 RC_Channel: add in-flight FFT notch tuning function
initialize FFT tune
2022-05-04 17:05:51 +10:00
Mirko Denecke 60b0be4a97 RC_Channel: fix auxiliary typo 2022-05-02 10:55:08 +10:00
Peter Barker d319370080 RC_Channel: stop libraries including AP_Logger.h in .h files
AP_Logger.h is a nexus of includes; while this is being improved over
time, there's no reason for the library headers to include AP_Logger.h
as the logger itself is access by singleton and the structures are in
LogStructure.h

This necessitated moving The PID_Info structure out of AP_Logger's
namespace.  This cleans up a pretty nasty bit - that structure is
definitely not simply used for logging, but also used to pass pid
information around to controllers!

There are a lot of patches in here because AP_Logger.h, acting as a
nexus, was providing transitive header file inclusion in many (some
unlikely!) places.
2022-04-08 19:18:38 +10:00
Peter Barker 30c08c1e7c RC_Channel: rename within_min_dz to in_min_dz for consistency
... consistency with in_trim_dz
2022-03-08 11:17:45 +11:00
Iampete1 a47445bde9 RC_Channel: update RC_MIN_LIMIT_PWM from 900 to 800 2022-03-01 10:47:25 +11:00
Peter Barker 37af7e5166 RC_Channel: rename and make enum RC_Channel::ControlType
Type:: is too generic; get_type should probably be get_control_type
2022-02-27 09:55:01 +11:00
Peter Barker 14ce09279f RC_Channel: privatise switch reading functions 2022-02-27 09:51:04 +11:00
Peter Barker d3db716dd9 RC_Channel: remove unused functions 2022-02-27 09:51:04 +11:00
Peter Barker d41388f242 RC_Channel: privatise range accessors 2022-02-27 09:51:04 +11:00
Bill Geyer 3a8175b880 RC_Channel: move tradheli turbine start to unused AUX_FUNC 2022-02-23 14:22:47 +09:00
Ferruccio1984 20f1d0c4da RC_Channel: tradheli support for turbine start 2022-02-23 14:22:47 +09:00
Gone4Dirt 15b3dbe63c RC_Channel: Allow weathervaning from rc switches 2022-02-08 10:38:16 +11:00
Leonard Hall 0c42b890e6 RC_Channel: Add Aux Switch enumeration Force Flying 2022-02-04 09:10:57 +09:00
Randy Mackay 41f1c763f2 RC_Channel: add aux switch for optical flow calibration 2022-01-29 08:26:12 +09:00
Josh Henderson 382d4639a0 RC_Channel: add define AP_AIRSPEED_ENABLED 2022-01-19 18:21:32 +11:00
Gone4Dirt 2599c2d134 RC_Channel: make AUXF.function an instance 2022-01-18 11:10:17 +11:00
Andrew Tridgell 4733f57102 RC_Channel: don't use avoidance on plane 2022-01-11 09:51:47 +11:00
Tom Pittenger c82866dff8 RC_Channel: fix typo, again
correctly fixes https://github.com/ArduPilot/ardupilot/pull/19663
2022-01-05 19:23:46 +00:00
Mirko Denecke 763f768c30 RC_Channel: fix typo 2022-01-05 17:00:45 +11:00
Hwurzburg ff3c4b8bda RC_Channel: add RC option to report CRSF LQ as RSSI
Co-author: Jules Gilson <julesgilson@yahoo.co.uk>
2021-12-21 10:04:33 +11:00
Hwurzburg 83d3aace44 RC_Channel: correct Rover metadata 2021-12-11 09:55:30 +11:00
Andrew Tridgell 0554fb2d4f RC_Channel: added QRTL mode on a switch 2021-12-02 08:29:07 +11:00
Iampete1 467caa5259 RC_Channel: remove landinggear switch message 2021-11-23 11:40:44 +11:00
Andrew Tridgell a78200fa24 RC_Channel: added parachute for plane 2021-11-22 13:22:54 +11:00
Hwurzburg 1162d556c6 RC_Channel: fix flare rc switch action with flight option bit 10 active 2021-11-21 21:00:04 +11:00
Peter Barker 409147a291 AP_RCProtocol: add support for DJI Fast SBUS
It's just SBUS... but with increased opportunities for corruption
2021-11-18 17:19:04 +11:00
Andrew Tridgell 71faeb926c RC_Channel: added fixed wing autotune rc option 2021-11-10 18:46:34 +11:00
Iampete1 c9107b2e98 RC_Channel: add gcs_is_calibrating bool 2021-11-02 10:05:07 +11:00
Hwurzburg 9c529c8950 RC_Channel: add RC option to plane for emergency remote landing that forces FS actions to FBWA 2021-10-26 10:34:28 +11:00
Iampete1 14b9e99020 RC_Channel: use float for stick mixing 2021-10-20 18:29:58 +11:00
Shiv Tyagi 229e2757d4 RC_Channel : Formatting fix for blimp parameter documentation 2021-10-20 14:22:48 +11:00
Randy Mackay 47dd2d7aea RC_Channel: torqeedo clear error aux function 2021-10-19 01:30:51 -04:00
Andrew Tridgell 6c2689fef2 RC_Channel: added RC_OPTION bit for allowing RC protocol switching
this is meant to prevent accidential switching to a disconnected pin
2021-10-15 19:29:23 -04:00
Peter Barker 893354ccfe RC_Channel: correct spelling error in parameter description 2021-10-13 19:36:20 +11:00
Iampete1 82cd9e24c3 RC_Channel: add configured_in_storage metthod 2021-10-11 22:19:17 -04:00
Iampete1 3d566ca59b RC_Channel: add trim to current servo and RC option 2021-09-28 09:16:24 +10:00
Iampete1 b6a73dd3d0 RC_Channel: renstate ArmDisarm Discription with 4.1 note 2021-09-27 13:33:54 +01:00
Peter Barker b0e59b2611 RC_Channel: rename GENERATOR_ENABLED to HAL_GENERATOR_ENABLED 2021-09-26 19:24:09 +10:00
Iampete1 524ea39dfa RC_Channel: add convert_options function 2021-09-21 09:36:24 +10:00
Iampete1 c67705b02d RC_Channel: do_aux_function_armdisarm no longer needs to be virtual 2021-09-21 09:36:24 +10:00
Iampete1 39ca7dae1c RC_Channel: add two new ARMDISARM options and deprecate old 2021-09-21 09:36:24 +10:00
Iampete1 169375d14f RC_Channel: arming_check_throttle to virtual 2021-09-18 15:52:38 +01:00
Iampete1 1f7023b580 RC_Channel: add SIMPLE_HEADING_RESET option 2021-09-08 16:49:33 +09:00
Iampete1 e28650c8bd RC_Channel: remove recompute_pwm_no_deadzone 2021-08-31 09:48:59 +10:00
Teo 4988f72ee2 RC_Channel: removed dead code 2021-08-28 10:29:06 +09:00
Randy Mackay 04c8ad6150 RC_Channel: rename visodom_calibrate to visodom_align
This should be a non-functional change
2021-08-25 15:42:02 +10:00
Andy Piper 3790957d02 RC_Channel: add turtle mode docs 2021-08-18 10:49:13 +10:00
Peter Hall 8e62385d8d RC_Channel: add lua helper 2021-08-17 11:01:00 +01:00
Andy Piper b9598dac00 RC_Channel: add turtle mode to RC option 150 2021-08-12 19:00:51 +09:00
Andy Piper 5ece42bce0 RC_Channel: add turtle mode 2021-08-12 19:00:51 +09:00
Hwurzburg 42128a70b8 RC_Channel: add CRUISE mode RC AUX Function switch 2021-08-11 18:35:05 +10:00
Hwurzburg 80b4cd7ae9 ArduPlane: correct Mission Reset override behaviour in Plane 2021-08-06 10:17:25 +10:00
Iampete1 7d3fa242d7 RC_Channel: add AUTO RTL option 2021-07-27 09:00:11 +09:00
Andrew Tridgell f969dbe411 RC_Channel: added training mode RC option 2021-07-20 09:00:46 +10:00
Hwurzburg 55af794a2f RC_Channel: add Link Quality reporting to RC protocols 2021-07-16 13:27:38 +10:00
Hwurzburg 448ae368b1 RC_Channel: fix ELRS systems spamming CRSF mode/rate messages 2021-07-13 09:52:53 +10:00
Michelle Rossouw 3bfd577a49 RC_Channel: Add blimp param frame values 2021-07-06 14:56:02 +10:00
Peter Barker 5d6b733d6d RC_Channel: add rc channel option to disable all airspeed sensors 2021-06-23 15:13:13 +10:00
Tatsuya Yamaguchi 001b2a825d RC_Channel: add const in member functions 2021-06-23 11:32:40 +10:00
Tatsuya Yamaguchi 5a8ebeda1d RC_Channel: add flight mode conflict check 2021-06-23 11:32:40 +10:00
Tatsuya Yamaguchi e63918d9ba RC_Channel: refactor KILL_IMU of do_aux_function 2021-05-30 11:33:47 +10:00
Pierre Kancir c17ef36354 RC_Channel: change or to || 2021-05-19 20:54:30 +09:00
Pierre Kancir 002b00f69d RC_Channel: make RC PWM LIMITS variables 2021-05-19 20:54:30 +09:00
Peter Barker 3de3f57501 RC_Channel: log which RC channels are being overridden 2021-05-15 14:49:20 +10:00
Andy Piper 0d43cb4622 RC_Channel: add VTX power to docs 2021-05-11 10:29:15 +10:00
Iampete1 cbbdf8ba74 RC_Channel: add SCRIPTING aux fun trigger source 2021-05-04 09:05:56 +10:00
Pierre Kancir 21d92780d2 RC_Channel: log init_aux_function and read_aux 2021-04-29 21:49:45 +10:00
Peter Barker a12ed2c99f RC_Channel: log auxillary function invocations 2021-04-29 13:00:40 +10:00
Iampete1 67edff1c7c RC_Channel: add WIND_VANE_DIR_OFSSET option 2021-04-28 15:16:35 +10:00
Hwurzburg 85e3772759 RC_Channel: correct metadata for fence enable and rst mode for Plane 2021-04-20 16:14:22 +10:00
murata 3344e87639 RC_Channel: Align Relay5 and Relay6 notations with others 2021-04-15 08:42:54 +09:00
Peter Barker e5a8acb227 RC_Channel: return MAV_RESULT_FAILED from do_aux_function if invalid function 2021-03-31 11:36:09 +11:00
Peter Barker 30539ac8ac RC_Channel: add method on RC_Channels to execute aux function 2021-03-31 11:36:09 +11:00
Iampete1 733db3de19 RC_Channel: add MODE_SWITCH_RESET option 2021-03-17 19:18:46 +11:00