Henry Wurzburg
c48b7319bc
AP_RSSI: convert floating point divides into multiplys
3 years ago
TunaLobster
206a25fbcc
AP_RSSI: fix ADC scaling on IOMCU
3 years ago
Iampete1
8f50eab6c2
AP_RSSI: check for valid analog pin
3 years ago
Andrew Tridgell
9691581c81
AP_RSSI: replaced PixhawkAUX1 with AUX1
...
not everything is a pixhawk
4 years ago
Andrew Tridgell
958843c0a9
AP_RSSI: default RSSI pin to -1
4 years ago
Hwurzburg
983c7aba2f
AP_RSSI: add Link Quality reporting to RC protocols
4 years ago
Andrew Tridgell
5385f25868
AP_RSSI: handle init ordering with MSP
...
this fixes a nullptr dereference on startup when MSP asks for RSSI
data before the RSSI library is initialised
Fixes #15824
4 years ago
Peter Barker
abfd995fff
AP_RSSI: create and use new AP_HAL::PWMSource object
4 years ago
Peter Barker
547b641c91
AP_RSSI: add RADIO_STATUS.rssi as an AP_RSSI telemetry source
5 years ago
Rishabh
44d35942b6
AP_RSSI: Fix duplicate values in ANA_PIN
5 years ago
Randy Mackay
f211a0e40c
AP_RSSI: resolve gcs::send_text compiler warning
6 years ago
Peter Barker
dcb6e74c3f
AP_RSSI: make type enum class, remove default clause in type switch
6 years ago
Tom Pittenger
3032e5c3d9
AP_RSSI: unify singleton naming to _singleton and get_singleton()
6 years ago
hongle
5485eda199
AP_RSSI: add V5 Nano to the RSSI_ANA_PIN param description
6 years ago
Peter Barker
396028f628
AP_RSSI: remove defaults for CONFIG_ARCH_BOARD_PX4FMU_V4 - not used
6 years ago
Andrew Tridgell
0102016e54
AP_RSSI: set pin to input before attaching interrupt
...
this fixes input on AUX6 on CubeBlack
6 years ago
Andrew Tridgell
672b4be3d2
AP_RSSI: fixed build warnings
6 years ago
Peter Barker
822fab0f5a
AP_RSSI: let HAL's attach_interrupt implementation handle board stuff
7 years ago
Peter Barker
d9f393f42e
AP_RSSI: convert to HAL attach_interrupt
...
AP_RSSI: add error reporting for attaching of interrupts
AP_RSSI: use detach_interrupt method
7 years ago
Andrew Tridgell
71988b49a4
AP_RSSI: allow override of RSSI pin
7 years ago
Peter Barker
497746c3d0
AP_RSSI: use rc() method to get rc singleton
7 years ago
Michael du Breuil
2134373646
AP_RSSI: Remove APM doc references
7 years ago
Randy Mackay
5cf119cd2f
AP_RSSI: const get_gpio and fix includes
7 years ago
Randy Mackay
eb026eef98
AP_RSSI: support pwm input on gpio pin
7 years ago
Randy Mackay
4f6c50b79e
AP_RSSI: minor format fix
7 years ago
Randy Mackay
06d26aaaa7
AP_RSSI: clarify PIN_LOW/HIGH parameter description
7 years ago
Peter Barker
ac2fe5f042
AP_RSSI: add singleton
7 years ago
Michael du Breuil
70b1eb9836
AP_RSSI: Use RC_Channels instead of hal.rcin
7 years ago
Michael du Breuil
a1845783b5
AP_RSSI: Make the RSSI library an enable param tree
7 years ago
Randy Mackay
b2eeceb82d
AP_RSSI: add PH2 ADC to ANA_PIN param values
7 years ago
Andrew Tridgell
ca8a2a1f34
AP_RSSI: support receiver based RSSI protocols
8 years ago
Dr.-Ing. Amilcar Do Carmo Lucas
2c867ec362
AP_RSSI: Improve the PWM parameters descriptions
8 years ago
Dr.-Ing. Amilcar Do Carmo Lucas
2b5d33fa07
AP_RSSI: Use SI units conventions in parameter units
...
Follow the rules from:
http://physics.nist.gov/cuu/Units/units.html
http://physics.nist.gov/cuu/Units/outside.html
and
http://physics.nist.gov/cuu/Units/checklist.html
one further constrain is that only printable (7bit) ASCII characters are allowed
8 years ago
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.
8 years ago
Randy Mackay
6ef735c41e
AP_RSSI: use fabsf instead of abs
...
resolves compiler warning
9 years ago
Andrew Tridgell
16b3fe75d1
AP_RSSI: default to analog RSSI on pixracer
9 years ago
Marc MERLIN
5bcd1b02ef
RSSI channel is not limited to 5-8.
...
Fix doc per my request on https://github.com/ArduPilot/ardupilot/issues/3280
9 years ago
Lucas De Marchi
831d8acca5
Remove use of PROGMEM
...
Now variables don't have to be declared with PROGMEM anymore, so remove
them. This was automated with:
git grep -l -z PROGMEM | xargs -0 sed -i 's/ PROGMEM / /g'
git grep -l -z PROGMEM | xargs -0 sed -i 's/PROGMEM//g'
The 2 commands were done so we don't leave behind spurious spaces.
AVR-specific places were not changed.
9 years ago
stew@lovinggibbard.com
9ed6e6afa4
Copy paste errors and naming issues in documentation help.
9 years ago
Andrew Tridgell
e0810c2e54
AP_RSSI: fixed doc prefixes for RSSI variables
10 years ago
Randy Mackay
9a648117a7
AP_RSSI: use is_zero and add break for avoid compile warning
10 years ago
Randy Mackay
1369179046
AP_RSSI: formatting fixes
10 years ago
Stewart Loving-Gibbard
c5f70d22c5
AP_RSSI: Adding RSSI library for reading various kinds of RSSI, with the possibility of adding more.
...
* Retains ability to read from Analog Pin
* Adds ability to read RSSI from PWM channel value as is done in OpenLRSng, EazyUHF, and various other LRS.
* Handles any type of RSSI that provides RSSI values inverted - i.e. when the low value is the best signal and the high value is the worst signal.
* Has different key names from all existing RSSI parameters to provide for a clean break and easier distinguishing.
10 years ago