Iampete1
dff29a5015
AP_RPM: add DroneCAN backend
2024-05-02 20:25:38 +10:00
Iampete1
23989bc569
AP_RPM: add DC_SEND_ID for periph RPM stream
2024-05-02 20:25:38 +10:00
Peter Barker
ffb1fe0a1a
AP_RPM: allow HarmonicNotches to be compiled out of the code
2024-03-19 07:04:13 +11:00
Peter Barker
b4a9c0ec1e
AP_RPM: include backend header
...
in the case you're inlcuding the RPM library but no backends we don't know the shape of the backend class, so we can't call the update-esc-telem method.
2023-08-22 09:09:54 +10:00
Peter Barker
5a0f0915ed
AP_RPM: tidy constructors and use of config.h
2023-08-17 09:22:41 +10:00
Peter Barker
83cecdd229
AP_RPM: correct compilation when AP_RPM_ESC_TELEM_ENABLED is disabled
2023-08-15 18:06:58 -07:00
Tom Pittenger
d8e9379289
AP_RPM: add writing to outbound ESC_Telem
2023-08-16 06:35:05 +10:00
Tom Pittenger
15b8700a2c
Revert "AP_RPM: enable AP_RPM to set ESC Telemetry"
...
This reverts commit 1e633df3de
.
2023-08-16 06:35:05 +10:00
Tom Pittenger
0de754bff3
AP_RPM: prepare for AP_Periph
2023-08-11 13:31:45 -07:00
Tom Pittenger
aefc2a8492
AP_RPM: enable AP_RPM to set ESC Telemetry
2023-08-09 12:02:31 -07:00
Pierre Kancir
7514507dca
AP_RPM: remove unused
2023-06-14 17:58:43 +10:00
Pierre Kancir
836042f454
AP_RPM: make Log_RPM() const
2023-06-14 17:58:43 +10:00
Pierre Kancir
0959f926f4
AP_RPM: More const and remove useless default assignement.
...
We don't need to set quality to 0 as it will be always setted after.
2023-06-14 17:58:43 +10:00
Pierre Kancir
5a9542be81
AP_RPM: make dt_avg a float value by using float division
...
Previously, it was using interger division and thus lost the fractional part
2023-06-14 17:58:43 +10:00
Peter Barker
1452dc0c54
AP_RPM: prefer AP_Generator_config.h
...
.... otherwise include chain on bootloaders can try to include mavlink
2023-05-14 06:17:33 +10:00
Andrew Tridgell
1c5c1a566f
AP_RPM: fixed SITL RPM backend for new motor mask
2022-10-16 20:38:19 +11:00
Peter Barker
d4a7ff1ccd
AP_RPM: correct compilation when RPM_PIN disabled
2022-10-11 10:50:13 +11:00
Peter Barker
855f4fe2d2
AP_RPM: correct SITL backend compilation if RPM disabled in SITL
2022-09-28 20:10:21 +10:00
Peter Barker
63c551ce13
AP_RPM: add and use AP_RPM_ENABLED
...
... and backend-specific equivalents
2022-09-20 09:28:27 +10:00
Andy Piper
9d3f4d1906
AP_RPM: fix reporting of RPM from the harmonic notch
2022-09-14 17:45:57 +10:00
Andrew Tridgell
13453f705e
AP_RPM: added AP_Generator support
...
useful for notch filtering of generator vibration
2022-08-30 10:53:45 +10:00
Andrew Tridgell
943b262eef
AP_RPM: fixed use of configured() vs configured_in_storage()
2022-06-06 13:11:50 +10:00
Peter Barker
5ddd50fefb
AP_RPM: tidy includes
2022-05-03 09:14:58 +10:00
Randy Mackay
da961948db
AP_RPM: pre-arm displays gpio vs servo_ch conflict
2022-04-26 15:19:28 +09:00
Randy Mackay
bfd168dd4f
AP_RPM: avoid attach interrupt retry and spam to GCS if PIN = -1
2022-04-25 08:59:03 +09:00
Henry Wurzburg
8556edc5ad
AP_RPM: add note to desc's on how to determine GPIO pin numbers
2022-04-24 08:21:01 +09:00
Andrew Tridgell
e6b56ce9ba
AP_RPM: use HarmonicNotch class
2022-04-19 09:39:03 +10:00
Andrew Tridgell
ac50d3cc9f
AP_RPM: support two full harmonic notch filters
2022-04-19 09:39:03 +10:00
Peter Barker
ab86dafda7
AP_RPM: move logging of RPM into RPM library
2022-04-13 16:22:19 +10:00
Peter Barker
99a3d253db
AP_RPM: move RPM sensor logging into AP_RPM
2022-01-11 11:09:26 +11:00
Gone4Dirt
c94b9e8a19
AP_RPM: Mark type = PWM as not used in docs
2021-08-25 09:36:58 +10:00
Gone4Dirt
df1280e999
AP_RPM: Whitespace changes
2021-08-25 09:36:58 +10:00
Gone4Dirt
5bb4729d61
AP_RPM: Restructure params to be per instance of _params
2021-08-25 09:36:58 +10:00
Andrew Tridgell
45f6b16dec
AP_RPM: fixed formatting of pin arming check
2021-08-05 09:43:35 +10:00
bugobliterator
5653f8c08b
AP_RPM: change class name from SITL::SITL to SITL::SIM
2021-08-05 07:25:31 +10:00
Andrew Tridgell
d827b35e57
AP_RPM: implement arming_checks()
2021-07-22 07:48:12 +10:00
Andrew Tridgell
095ab7c9d7
AP_RPM: replaced PixhawkAUX1 with AUX1
...
not everything is a pixhawk
2021-07-22 07:48:12 +10:00
Andrew Tridgell
7eaab583d4
AP_RPM: stop defaulting RPM_PIN to 54
2021-07-22 07:48:12 +10:00
yaapu
28905a1e67
AP_RPM: fixed #ifdef HAL_WITH_ESC_TELEM to #if HAL_WITH_ESC_TELEM
2021-07-02 15:35:05 +10:00
yaapu
cdc874c366
AP_RPM: added a new RPM driver based on ESC telem
...
this adds a new RPM driver based on average RPM of selected motors.
A new bitmask parameter has been added to select which motor to average.
2021-07-02 15:35:05 +10:00
Andrew Tridgell
6a1e3afe33
AP_RPM: use HAL_EFI_ENABLED
2021-06-09 18:07:00 +10:00
Peter Barker
370db00096
AP_RPM: add explicit RPM_TYPE_SITL
...
Old behaviour is that anything that wasn't claimed (or failed to
allocate) would become a SITL RPM sensor. This meant we always had at
least one RPM sensor which was allocated but never provided valid data.
New behaviour is that if you want a SITL RPM sensor you have to set type
to 10.
2021-03-02 15:41:44 +11:00
Peter Barker
01eb64ce73
AP_RPM: don't present RPM2_PIN parameter if RPM_MAX_INSTANCES <=1
2021-02-16 08:26:18 +09:00
Andy Piper
c4217f329b
AP_RPM: allow harmonic notch driver to appear as RPM values.
2020-04-14 09:43:16 +10:00
Andrew Tridgell
22ce90af34
AP_RPM: changed get_rpm() API to be scripting compatible
...
return a bool and use a reference for the value
2020-03-12 08:36:40 +11:00
Andy Piper
449e9ee13d
AP_RPM: use updated rpm information for sitl
2019-12-17 10:07:06 +11:00
Gone4Dirt
5f11afde6d
AP_RPM: Fix to SITL RPM driver instance
2019-12-09 16:00:20 +11:00
Andrew Tridgell
7e7bae9d55
AP_RPM: added EFI backend
2019-11-17 20:10:54 +11:00
Randy Mackay
353cb648f6
AP_RPM: rename px4-pwm to just pwm
2019-10-22 07:15:48 +08:00
Gone4Dirt
5239d86d13
AP_RPM: Added Arduino RPM Sensor Debug Tool
...
This debug tool has been created to help users correctly impliment
and debug various RPM sensors when an oscilloscope is unavailable.
The RPM Sensor wiki will direct to this tool to help users.
2019-08-20 09:13:09 +10:00