goodfet icon indicating copy to clipboard operation
goodfet copied to clipboard

Stuck in loop in client/goodfet.nrf Autotune::selftune

Open sbluhm opened this issue 7 years ago • 2 comments

https://github.com/travisgoodspeed/goodfet/blob/34f175f8ff00a2262ee1ffe52a062359df42ee21/client/goodfet.nrf#L425

Hello, I am hitting a problem at the above location that the program is not continuing. Do I read this line correct, that the program will only continue if it has received a packet? This will cause issues if no packets are received on the selected channel/rate/speed. Is the assumption really that there will always be a packet received? Why can't there be empty channels?

sbluhm avatar Jan 06 '18 20:01 sbluhm

With checksums disabled, you'd need to be in a very quiet environment to never have a packet. Is there no wifi in your area?

Perhaps your goodfet's INFO flash is not set, and the UART is slightly miscalibrarted? That would cause trouble at the same location.

travisgoodspeed avatar Jan 11 '18 17:01 travisgoodspeed

Hi Travis, I am actually using the code on a Raspberry Pi standalone with an NRF module to find the right address and channel of a "Blum ServoDrive" transmitter. This setup is placed in a rural area with tons of WIFI but I assumed that they are all transmitting on different frequencies. I will check this out in more detail but I seem to be hitting the on packet every 1 or 2 runs.

What is your oppinion, should I keep this issue open or close it?

sbluhm avatar Jan 13 '18 20:01 sbluhm