Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

turnrate units #180

Open
NoseyNick opened this issue Jul 9, 2019 · 1 comment
Open

turnrate units #180

NoseyNick opened this issue Jul 9, 2019 · 1 comment

Comments

@NoseyNick
Copy link
Collaborator

protocol-docs defines turnrate as:

turnrate (float, 0-n)
How fast the ship turns. This number is in degrees per second divided by 2500.

http://artemiswiki.pbworks.com/w/page/117991854/Object%20Properties says
"The maximum turn rate, in radians per cycle. (~1/50 second)". This would be closer to 2865 degrees/sec

See discussion at https://artemis.forumchitchat.com/post/turning-rate-how-does-it-work-10183249 where "DizzyKungFu" measures with a stopwatch and comes up with something that's not quite any of the above, but is probably closer to the radians-per-50th-of-a-sec.

Research? Confirm / Deny? Update?

@StarryWisdom
Copy link
Collaborator

this is slightly more confusing as it depends on the power % of manouver
I can go dig up code but IIRC the turn rate is ((turn rate in xml)*(manouver power %)-0.0005) per time unit

note this means 300% is not 3x the turn rate of 100% and there is a dead zone within which you cant turn
I have conflicting comments at hand as to if the time unit is 10 ms, 20 ms

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants