SASMode don't work
Zoeille opened this issue ยท 6 comments
Fix for retrograde:
refFrame = vessel.getSurfaceVelocityReferenceFrame();
vessel.getAutoPilot().setReferenceFrame(refFrame);
vessel.getAutoPilot().setTargetDirection(new Triplet<>(0.0,-1.0,0.0));
SAS is not allowed when AutoPilot
is enagled:
https://github.com/krpc/krpc/blob/master/service/SpaceCenter/src/Services/AutoPilot.cs#L261
AutoPilot.Disengage()
or set AutoPilot.TargetDirection
to -vessel.Velocity
.
What version of KSP and what version of KRPC?
I'm using KSP 1.8.1 and 0.4.9-156-g52544abf (as it's write in the VERSION file)
SAS is not allowed when
AutoPilot
is enagled:
https://github.com/krpc/krpc/blob/master/service/SpaceCenter/src/Services/AutoPilot.cs#L261
AutoPilot.Disengage()
or setAutoPilot.TargetDirection
to-vessel.Velocity
.