Quote:
Originally Posted by pSYeNCe
That's from the link you recommended, and I just don't understand what he means on how to identify the missed packet.
|
Read the clock at the beginning of teleop and compare it to the clock value from the previous iteration of teleop. If the difference is 40 ms (or 60ms or 80ms etc) instead of 20ms then you've run out of realtime and missed a packet (or 2 or 3 etc).
Or, read the clock at the beginning and end of teleop and look at the difference to see what your throughput margin (or overrun) is.
~