MechJeb2

MechJeb2

4M Downloads

vesselState.vesselHeading isn't accurate near 0°

zyayoung opened this issue · 1 comments

commented
[LOG 16:18:19.733] 359.92
[LOG 16:18:19.740] 359.94
[LOG 16:18:19.748] 359.96
[LOG 16:18:19.800] 359.97
[LOG 16:18:19.806] 359.97
[LOG 16:18:19.812] 323.98 //should be about 0° here
[LOG 16:18:19.819] 287.99
[LOG 16:18:19.866] 251.99
[LOG 16:18:19.870] 251.99
[LOG 16:18:19.874] 251.99
[LOG 16:18:19.933] 251.98
[LOG 16:18:19.937] 251.96
[LOG 16:18:19.942] 251.92
[LOG 16:18:20.033] 251.87
[LOG 16:18:20.039] 251.79
[LOG 16:18:20.043] 287.68
[LOG 16:18:20.049] 323.53
[LOG 16:18:20.100] 359.35
commented

use vesselState.HeadingFromDirection(vesselState.forward) instead