RSSI Modeling in SITL

Hi all,

I am new to ardupilot, I have a basic mathematical model of RSSI which I would like to include in SITL. Just looking for pointers on how I can go about doing this.

Cheers,
Sam

Hello,

It will be a nice addition !
I think the simplier for now is to implement the get_rssi() for AP_HAL : https://github.com/ArduPilot/ardupilot/blob/master/libraries/AP_HAL/RCInput.h#L36 inside AP_HAL_SITL https://github.com/ArduPilot/ardupilot/blob/master/libraries/AP_HAL_SITL/RCInput.h
To implement the rssi calculus, look on how it is done in AP_HAL_SITL/sitl_rangefinder.cpp for example !

For the submission, I invite you to look on the wiki at http://ardupilot.org/dev/docs/submitting-patches-back-to-master.html and http://ardupilot.org/dev/docs/where-to-get-the-code.html if you don’t know git well !

Anyway, when you think it is ready submit a PR so everybody can look at it and help you to correct the last thing before merging !

I look forward from seeing you PR !