When my RSSI changes rapidly, then it takes about 5 seconds for the displayed
RSSI to adjust to the new value. That's way too slow to be practical for when
flying in hilly areas and accidently going out of LOS.
The problem is in calculateRssi().
In order to test the smoothing, I created a Perl test script that calls
calculateRssi() at a simulated 10Hz and displays the actual as well as smoothed
RSSI data. See attachments.
I can't seem to make sense of how the smoothing works in this line so I'm not
sure if it's correct:
rssi_Int += ( ( (signed int)((aa*rssiSample) - rssi_Int )) / rssiSample ); //
Smoothing the readings
Original issue reported on code.google.com by craig.ma...@gmail.com on 15 Jan 2015 at 11:22
Original issue reported on code.google.com by
craig.ma...@gmail.com
on 15 Jan 2015 at 11:22Attachments: