kRPC: Control the game using C#, C++, Java, Lua, Python...

kRPC: Control the game using C#, C++, Java, Lua, Python...

7.8k Downloads

Autopilot parameters are not reverted correctly

djungelorm opened this issue ยท 4 comments

commented

If a script connects, sets autopilot parameters, disconnects, vessel reverts to launch, and script reconnects, the autopilot parameters are not reset to default.

commented

changed code in the function " ComputeTargetAngularVelocity(Vector3d torque, Vector3d moi)", the moving of direction and roll was coupled which caused diverge before and now I decoupled them.

commented

Would it be possible to just revert all changes when reverting to launch anyway?
In my opinion it should then clear all parameters automatically and it would be clear what is happening on revert.

I guess the server would need to hook into the game to see when a vessel gets reverted, right?

I'd like to contribute to it, but I'm very busy with exams right now and I have no about where to look in the code.

commented

changed code in the function " ComputeTargetAngularVelocity(Vector3d torque, Vector3d moi)", the moving of direction and roll was coupled which caused diverge before and now I decoupled them.

I think the change you reference is from this issue, is it? If that is the case, how does that relate to this issue? I am currently trying to understand if I might be able to help fix this issue so 0.49 can be released already :)

commented

changed code in the function " ComputeTargetAngularVelocity(Vector3d torque, Vector3d moi)", the moving of direction and roll was coupled which caused diverge before and now I decoupled them.

I think the change you reference is from this issue, is it? If that is the case, how does that relate to this issue? I am currently trying to understand if I might be able to help fix this issue so 0.49 can be released already :)
the #571 is not related to this issue ,and this one just makes inconvenience,but the #571 causes error