Commit Graph

217 Commits

Author SHA1 Message Date
Randy Mackay 265f19b396 SRV_Channel: fix scaled passthrough of ranges 2023-11-15 18:20:45 +11:00
Thomas Watson 79b7852357 SRV_Channel: expose public function to convert scaled value to pwm
Allow other modules to get and store the PWM value for a specific scaled
value and re-apply it later.
2023-10-17 10:32:39 +11:00
Peter Barker 0dae9b46ee SRV_Channel: correct description of SERVO_RC_FS_MSK 2023-08-15 08:16:16 +10:00
Peter Barker b8c1367aac SRV_Channel: avoid using bad RC data in passthrough code
we may not have valid input but not be at the stage of declaring an RC failsafe.
2023-08-15 08:16:16 +10:00
Peter Barker 90929205e9 SRV_Channel: correct RC channel failsafe mask
this is a 32-bit parameter.
2023-08-14 11:21:06 +10:00
Henry Wurzburg 78e44ebf3a SRV_Channel: allow scaled passthru to go to trim on rc failsafe 2023-06-29 21:37:12 +10:00
Peter Barker 89dcafcc5c SRV_Channel: add and use AP_SBUSOUTPUT_ENABLED
.... which will allow periphs to instantiate this if they really feel like it, and for it to be removed on smaller boards on the custom build server (and potentially on lower-specced boards.
2023-06-27 10:10:41 +10:00
Andy Piper 79bd29e9a7 SRV_Channel: add documentation for ESCs supporting extended dshot telemetry (EDT) 2023-06-27 09:28:33 +10:00
Peter Barker 79f08394b3 SRV_Channel: move and rename CAN Driver_Type enumeration 2023-04-20 08:53:46 +10:00
Peter Barker 8c203d29d0 SRV_Channel: remove CANTester 2023-04-18 11:43:58 +10:00
Tom Pittenger c2e1eeac98 SRV_Channel: move AP_KDECAN to a first-class library 2023-04-17 11:52:52 +10:00
Andrew Tridgell 6b268173dd SRV_Channel: text messages and more defines 2023-04-11 10:31:31 +10:00
Andrew Tridgell 9e31757b24 SRV_Channel: rename more variables, types and defines 2023-04-11 10:31:31 +10:00
Iampete1 4785c248c5 SRV_Channel: remove unused defualt in get channel for function 2023-04-11 09:13:26 +10:00
Andrew Tridgell 6125997093 SRV_Channel: rename AP_UAVCAN to AP_DroneCAN 2023-04-08 07:11:23 +10:00
Iampete1 999eb5b03f SRV_Channel: move FUNCTION @Values to multi line format 2023-04-04 11:31:09 +10:00
Rhys Mainwaring b5bbfe8011 SRV_Channel: add method have_32_channels
Signed-off-by: Rhys Mainwaring <rhys.mainwaring@me.com>
2023-03-29 21:56:38 +11:00
bugobliterator fcfc4ce889 SRV_Channel: replace libuavcan with libcanard based driver 2023-03-29 17:16:39 +11:00
Peter Barker ea26154088 SRV_Channel: add and use RC_Channel_config.h 2023-03-22 14:25:09 +11:00
Peter Barker 054332926b SRV_Channel: narrow include for configuration 2023-01-25 22:30:55 +11:00
Peter Barker 7481f79438 SRV_Channel: use minimize.inc to set NUM_SERVO_CHANNELS 2023-01-25 22:30:55 +11:00
Peter Barker cf7da64e28 SRV_Channel: move AP_Periph config of NUM_SERVO_CHANNELS into chibios_hwdef.py 2023-01-25 22:30:55 +11:00
James O'Shannessy cd76aa3cff SRV_Channel: adds SRV_Channel_config to simplify dependent includes in other libraries
Adding of SRV_Channel_config allows defining the number of servo channels for inclusion in other libraries without pulling in all the other SRV_Channel logic.

Co-authored-by: Simon Maddison <81274690+Sypaq-MadMan@users.noreply.github.com>
2022-12-01 11:09:58 +11:00
Peter Barker 26e4e7fd3b SRV_Channel: change namespace of MultiCopter and FixedWing params
this stops the libraries knowing anything about AP_Vehicle
2022-11-09 19:04:37 +11:00
Iampete1 5382083452 SRV_Channel: pwm_from_angle: return trim for 0 high_out 2022-10-25 11:03:35 +11:00
Iampete1 eefda1130c SRV_Channel: adjust trim, check all channels for range limit 2022-09-20 11:20:16 +10:00
Andy Piper cea9f639fc SRV_Channel: allow motor mask and motor output type to be passed in for AP_Periph 2022-09-20 09:45:03 +10:00
Supernovae 91afa19543 SRV_Channels.cpp: small correction
it's not only Auxilary o/p but affects the main o/p as well.
2022-09-15 10:49:32 +10:00
Henry Wurzburg 0654ed74e3 SRV_Channel: change sw and output names to match new MOUNT params 2022-09-14 18:29:33 +10:00
Henry Wurzburg 2c8c037b93 SRV_Channel:Correct metadata mistake in PR #21347 2022-09-06 10:35:14 +10:00
TunaLobster f28f5a1ad5 SRV_Channel: Add SRV fucntions for scaled RC passthrough 2022-08-31 17:05:39 +10:00
Henry Wurzburg 61b0f23ee2 SRV_Channel: add ARM/MOTOR_EMERGENCY_STOP Aux Switch 2022-08-24 16:03:52 +10:00
Henry Wurzburg c5451260ac SRV_Channel: add airbrake option metadata omitted in prev commits 2022-08-21 17:34:03 -07:00
murata f3da373beb SRV_Channel: Change the minimum value of minimum PWM for servo output 2022-08-17 09:58:52 +10:00
Iampete1 7ee330d12d SRV_Channel: use set_and_default method 2022-07-20 17:59:59 +10:00
Randy Mackay 2a264b0331 SRV_Channel: remove ToshibaCAN support 2022-06-10 12:08:05 +09:00
Andy Piper e95d116979 SRV_Channel: add BLHeli_S ESC type 2022-05-25 17:06:08 +10:00
Ruffalo-sunghwan e0d14d900a SRV_Channel : correct comment spelling 2022-05-24 20:27:45 +09:00
Andrew Tridgell 11a06aa6cb SRV_Channel: re-fixed typo 2022-05-22 12:07:37 +10:00
Andrew Tridgell aa9083e94c SRV_Channel: only support 32 channels on 2M flash boards
save flash on smaller boards
2022-05-22 12:07:37 +10:00
Andrew Tridgell e185e1252b SRV_Channel: added a SERVO_32_ENABLE parameter
save on param count for most users
2022-05-22 12:07:37 +10:00
Andrew Tridgell ed01d33ef8 SRV_Channel: more changes for 32 bit servo mask 2022-05-22 12:07:37 +10:00
Iampete1 a5928b752e SRV_Channels: set channels above 16 to GPIO by defualt 2022-05-22 12:07:37 +10:00
Iampete1 d1e02e4fdd SRV_Channel: add invalid mask for GPIO outputs 2022-05-22 12:07:37 +10:00
Iampete1 077401df69 SRV_Channel: add upto 32 servo outs 2022-05-22 12:07:37 +10:00
Mirko Denecke e60520160f SRV_Channel: fix auxiliary typo 2022-05-02 10:55:08 +10:00
Peter Barker a5dee06afb SRV_Channel: add PARAMETER CONVERSION comments 2022-04-28 10:17:11 +10:00
Andy Piper cc6b907a2f SRV_Channel: observe disabled_channels when enabling channels
setup disabled_channels observing channels that are implied to be digital
allow none to be a valid channel function once again
2022-04-25 15:55:54 +09:00
Peter Barker 961cf659d9 SRV_Channels: stop gating FETTECONEWIRE parameters on HAL_BUILD_BUILD_AP_PERIPH
This would break fettech on AP_Periph.  The define is off by default on
AP_Periph.
2022-04-12 10:35:01 +10:00
Peter Barker a5be9d0f18 SRV_Channel: allow RobotisServo protocol to be compiled out 2022-04-12 10:35:01 +10:00