示例#1
0
 public void setRover(RoverState StateIn)
 {
     throttlePID     = new RoverPidController(10, 1e-5F, 1e-5F, 50, 1);
     this.roverState = StateIn;
     altitude        = Vector3d.Distance(core.vessel.mainBody.position, core.vessel.transform.position);
     roverActive     = true;
     core.vessel.ActionGroups.SetGroup(KSPActionGroup.Brakes, false);
 }
示例#2
0
 public void setRover(RoverState StateIn)
 {
     throttlePID = new RoverPidController(10, 1e-5F, 1e-5F, 50, 1);
     this.roverState = StateIn;
     altitude = Vector3d.Distance(core.vessel.mainBody.position, core.vessel.transform.position);
     roverActive = true;
     core.vessel.ActionGroups.SetGroup(KSPActionGroup.Brakes, false);
 }