Peter Barker
4384f53dce
AP_RSSI: allow more libraries to compile with no HAL_GCS_ENABLED
2023-09-05 22:23:51 +10:00
jackhong12
4a4f361a17
all: use CLASS_NO_COPY() macro
2022-10-04 11:23:04 +11:00
Henry Wurzburg
c48b7319bc
AP_RSSI: convert floating point divides into multiplys
2022-03-18 15:26:44 +11:00
VMsunghwan
e669902b9f
AP_RSSI : Update Telemetry
...
telemtry -> telemetry
2022-01-17 11:26:34 +09:00
TunaLobster
206a25fbcc
AP_RSSI: fix ADC scaling on IOMCU
2021-11-16 14:12:43 +11:00
Iampete1
8f50eab6c2
AP_RSSI: check for valid analog pin
2021-10-06 18:42:51 +11:00
Andrew Tridgell
9691581c81
AP_RSSI: replaced PixhawkAUX1 with AUX1
...
not everything is a pixhawk
2021-07-22 07:48:12 +10:00
Andrew Tridgell
958843c0a9
AP_RSSI: default RSSI pin to -1
2021-07-22 07:48:12 +10:00
Hwurzburg
983c7aba2f
AP_RSSI: add Link Quality reporting to RC protocols
2021-07-16 13:27:38 +10:00
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
2020-11-17 10:01:54 +11:00
Peter Barker
abfd995fff
AP_RSSI: create and use new AP_HAL::PWMSource object
2020-09-08 16:10:50 +10:00
Peter Barker
547b641c91
AP_RSSI: add RADIO_STATUS.rssi as an AP_RSSI telemetry source
2020-06-09 10:20:29 +10:00
Rishabh
44d35942b6
AP_RSSI: Fix duplicate values in ANA_PIN
2020-03-24 10:26:04 +11:00
Randy Mackay
f211a0e40c
AP_RSSI: resolve gcs::send_text compiler warning
2019-07-30 09:02:39 +09:00
Peter Barker
dcb6e74c3f
AP_RSSI: make type enum class, remove default clause in type switch
2019-04-09 09:31:47 +10:00
Tom Pittenger
3032e5c3d9
AP_RSSI: unify singleton naming to _singleton and get_singleton()
2019-02-10 19:09:58 -07:00
hongle
5485eda199
AP_RSSI: add V5 Nano to the RSSI_ANA_PIN param description
2019-01-30 19:50:36 +09:00
Peter Barker
396028f628
AP_RSSI: remove defaults for CONFIG_ARCH_BOARD_PX4FMU_V4 - not used
2019-01-19 19:44:19 +11:00
Andrew Tridgell
0102016e54
AP_RSSI: set pin to input before attaching interrupt
...
this fixes input on AUX6 on CubeBlack
2018-11-08 18:25:14 +11:00
Andrew Tridgell
672b4be3d2
AP_RSSI: fixed build warnings
2018-10-17 12:54:22 +11:00
Peter Barker
822fab0f5a
AP_RSSI: let HAL's attach_interrupt implementation handle board stuff
2018-08-31 08:32:08 +10:00
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
2018-08-21 20:34:01 +09:00
Andrew Tridgell
71988b49a4
AP_RSSI: allow override of RSSI pin
2018-08-15 09:51:30 +10:00
Peter Barker
497746c3d0
AP_RSSI: use rc() method to get rc singleton
2018-08-01 12:11:30 +09:00
Michael du Breuil
2134373646
AP_RSSI: Remove APM doc references
2018-08-01 09:24:26 +10:00
Randy Mackay
5cf119cd2f
AP_RSSI: const get_gpio and fix includes
2018-07-30 10:14:04 +09:00
Randy Mackay
eb026eef98
AP_RSSI: support pwm input on gpio pin
2018-07-30 10:14:04 +09:00
Randy Mackay
4f6c50b79e
AP_RSSI: minor format fix
2018-07-30 10:14:04 +09:00
Randy Mackay
06d26aaaa7
AP_RSSI: clarify PIN_LOW/HIGH parameter description
2018-07-30 10:14:04 +09:00
Peter Barker
ac2fe5f042
AP_RSSI: add singleton
2018-05-08 12:33:32 +01:00
Michael du Breuil
70b1eb9836
AP_RSSI: Use RC_Channels instead of hal.rcin
2018-04-11 21:47:07 +01:00
Michael du Breuil
a1845783b5
AP_RSSI: Make the RSSI library an enable param tree
2018-04-10 17:29:32 +01:00
Randy Mackay
b2eeceb82d
AP_RSSI: add PH2 ADC to ANA_PIN param values
2018-03-27 14:20:57 +09:00
Andrew Tridgell
076f7bc0cf
AP_RSSI: removed create() method for objects
...
See discussion here:
https://github.com/ArduPilot/ardupilot/issues/7331
we were getting some uninitialised variables. While it only showed up in
AP_SbusOut, it means we can't be sure it won't happen on other objects,
so safest to remove the approach
Thanks to assistance from Lucas, Peter and Francisco
2017-12-14 08:12:28 +11:00
Lucas De Marchi
b09e0c3261
AP_RSSI: add static create method
2017-09-26 03:01:21 +01:00
Andrew Tridgell
ca8a2a1f34
AP_RSSI: support receiver based RSSI protocols
2017-07-03 11:22:21 +10:00
Dr.-Ing. Amilcar Do Carmo Lucas
2c867ec362
AP_RSSI: Improve the PWM parameters descriptions
2017-06-06 11:06:26 +10:00
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
2017-05-17 18:07:25 +10: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
Randy Mackay
6ef735c41e
AP_RSSI: use fabsf instead of abs
...
resolves compiler warning
2016-04-23 23:06:26 -07:00
Andrew Tridgell
16b3fe75d1
AP_RSSI: default to analog RSSI on pixracer
2016-04-14 11:13:47 +10:00
Marc MERLIN
5bcd1b02ef
RSSI channel is not limited to 5-8.
...
Fix doc per my request on https://github.com/ArduPilot/ardupilot/issues/3280
2016-03-29 08:16:42 -07:00
Lucas De Marchi
336e04ca60
AP_RSSI: replace header guard with pragma once
2016-03-16 18:40:43 +11:00
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.
2015-10-30 14:35:16 +09:00
stew@lovinggibbard.com
9ed6e6afa4
Copy paste errors and naming issues in documentation help.
2015-09-28 18:17:07 +10:00
Andrew Tridgell
e0810c2e54
AP_RSSI: fixed doc prefixes for RSSI variables
2015-09-25 22:00:22 +10:00
Randy Mackay
ce6fe0e746
AP_RSSI: add enabled method
2015-09-16 16:41:41 +09:00
Randy Mackay
f633733b3b
AP_RSSI: make parameters private
2015-09-16 16:41:38 +09:00
Randy Mackay
9a648117a7
AP_RSSI: use is_zero and add break for avoid compile warning
2015-09-16 16:41:36 +09:00
Randy Mackay
1369179046
AP_RSSI: formatting fixes
2015-09-16 16:41:33 +09:00