Quote:
Originally posted by whickedmoo
My point is, if worse comes to worse, perhapse you could try and add some debug statements to your code and see what happens, though I don't recommend it.
|
debug statements are SLOW. They send data serially through the programming port at 9600 bps = 1200 bytes/sec. since there are 38 packets a second, you can send at the most 31 bytes. Since you do a lot of other stuff in your program, it's really much less. If you have too many, you will skip loops.
If you incremented your counter by 1+delta_t, the debug statements would have far less of an impact, however, it would still be affected because you wouldn't have the same resolution.