Quote:
Originally Posted by tdlrali
those should both be divided by time since the previous loop
(Distance - previous Distance)/time = speed (ticks)
(Speed - previous Speed)/time = acceleration (ticks)
|
Yes, we do that. Our loop is constrained to run at a fixed rate, 50 msec intervals. So the speeds are ticks-per-50msec-interval.