Backport RSSI feature

Hi,

would it be difficult to have the new RSSI features backported to 3.2? I’d like to use the EZUHF PPM RSSI feature on Channel 8 for the APM2.6

kef

Probably not. Give it a try, and post a PR.

This is as far as I’ve gotten. I don’t know where to continue though.

/Users/kef/src/ardupilot/libraries/AP_RSSI/AP_RSSI.cpp: In member function 'float AP_RSSI::read_receiver_rssi()':
/Users/kef/src/ardupilot/libraries/AP_RSSI/AP_RSSI.cpp:119:14: error: 'RssiType' is not a class or namespace
         case RssiType::RSSI_DISABLED :
              ^
/Users/kef/src/ardupilot/libraries/AP_RSSI/AP_RSSI.cpp:122:14: error: 'RssiType' is not a class or namespace
         case RssiType::RSSI_ANALOG_PIN :
              ^
/Users/kef/src/ardupilot/libraries/AP_RSSI/AP_RSSI.cpp:125:14: error: 'RssiType' is not a class or namespace
         case RssiType::RSSI_RC_CHANNEL_VALUE :
              ^
/Users/kef/src/ardupilot/libraries/AP_RSSI/AP_RSSI.cpp: In member function 'float AP_RSSI::scale_and_constrain_float_rssi(float, float, float)':
/Users/kef/src/ardupilot/libraries/AP_RSSI/AP_RSSI.cpp:169:33: error: 'is_zero' was not declared in this scope
     if (is_zero(rssi_value_range)) {
                                 ^
make: *** [/var/folders/q4/x2cp_b6d3_j30bj5l3fdc2fm0000gn/T/ArduCopter.build/libraries/AP_RSSI/AP_RSSI.o] Error 1