示例#1
0
 private static void Run()
 {
     rocket = new RocketController();
     DefaultMakeRocket();
     simRocket      = rocketCreation();
     currentControl = InitializeControlOutput();
     sensorPackage  = InitialSensorReadings();
     while (rocket.GetFlightStatus() != FlightState.MISSION_ENDED)
     {
         sensorPackage  = GetDynamics();
         currentControl = rocket.Tick(sensorPackage);
     }
 }