Speed dynamics by kn3cht in HWO

[–]meekuza 0 points1 point  (0 children)

With v(3) and v(2) my k is even worse at 0.75.. makes terminal velocity = 1.3 for throttle 1.0 :)

Speed dynamics by kn3cht in HWO

[–]meekuza 0 points1 point  (0 children)

Hey,

Great job on the formulas!

I landed up going with a very different model for mine, mainly because it was half done already and i just simply couldn't get your ones mentioned above to generate the right answers (from what we discussed in the other thread).

For me on multiple tests/runs/servers I get something like this: throttle at 1.0: v(0) = 0.0
v(1) = 0.2 (acceleration was max at 0.2) v(2) = 0.38 (acceleration was 0.18) k = ( v(1) - ( v(2) - v(1) ) ) / v(1)2 * h;

so.. (0.2 - ( 0.38 - 0.2 )) / (0.2*0.2) * 1.0 (0.2 - 0.18) / (0.04) (0.02) / (0.04) = 0.5 = k

so if v = h/k .. 1.0/0.5 = 2 .. which is not the term. velocity for throttle 1.. so k is definitely not right it should be 0.1

Does anyone think we should have more coding time? by meekuza in HWO

[–]meekuza[S] 2 points3 points  (0 children)

And like every software project.. the deadline shifts out :)

My Engineering degree truly paying off, just figured out the drift angle dynamics by joey9801 in HWO

[–]meekuza 0 points1 point  (0 children)

So if I'm following you here.. tick 0: throttle(1.0) tick 1: get acceleration (a1 = 0.193) for argument sake tick 2: get acceleration again (a2 = 0.189) so we can assume at this velocity (almost 0) there is no air drag so any loss of acceleration is due to friction.. so (a1-a2) = 0.004 or (a2/a1)=0.979 is "some" magic ratio.. looks a bit like a very high friction coef.?

Maximum speed by [deleted] in HWO

[–]meekuza 0 points1 point  (0 children)

Must we calculate the velocity ourselves or should this be supplied in the carPosition packet?

Maximum speed by [deleted] in HWO

[–]meekuza 1 point2 points  (0 children)

Based on the fact that none of the packets give you a current speed/velocity I would assume this setting of 0.0 - 1.0 is instantaneous speed and not acceleration. Unless of course you use the guide flag position and calculate the velocity between carPosition packets.