Commit Graph

21 Commits

Author SHA1 Message Date
Peter Barker b7710a78d8 AP_RSSI: add and use AP_RSSI_ENABLED 2023-12-12 11:37:57 +11:00
jackhong12 4a4f361a17 all: use CLASS_NO_COPY() macro 2022-10-04 11:23:04 +11:00
VMsunghwan e669902b9f AP_RSSI : Update Telemetry
telemtry -> telemetry
2022-01-17 11:26:34 +09:00
Hwurzburg 983c7aba2f AP_RSSI: add Link Quality reporting to RC protocols 2021-07-16 13:27:38 +10: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
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
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
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
Peter Barker ac2fe5f042 AP_RSSI: add singleton 2018-05-08 12:33:32 +01: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
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
Lucas De Marchi 336e04ca60 AP_RSSI: replace header guard with pragma once 2016-03-16 18:40:43 +11: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 1369179046 AP_RSSI: formatting fixes 2015-09-16 16:41:33 +09:00
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.
2015-08-29 08:05:53 +10:00