Hi,
In theory of a continuous movement, these values should be
velocity/turning rate in radians, your values are close, the one for 6
is a bit off. Formula:
velocity / ((10-0.75*velocity)/(180/Math.PI))
In Reality, with discrete time steps, it is a bit more complicated (but
not much): velocity/2/sin(turning rate/2), or
velocity/2 / Math.sin((10-0.75*velocity)/(180*Math.PI)/2)
Values are (I used your values for first column):
measured continuous discrete
8 114.627 114.5915590262 114.
6148333914
7 84.464 84.
4358855982 84.4600705286
6 62.159 62.
5044867415 62.
5284914701
5 45.862 45.8366236105 45.
8593571413
4 32.764 32.740445436 32.
7608164788
3 22.186 22.1790114244 22.1959283285
2 13.492 13.4813598854 13.4937305748
1 6.205 6.1941383257 6.2008702328
0 0 0 0
HTH,
Johannes
> --
> You received this message because you are subscribed to the Google Groups
> "robocode" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
robocode+u...@googlegroups.com.
> For more options, visit
https://groups.google.com/d/optout.