예제 #1
0
 public void map_modues()
 {
     pvc    = owner.cur_ves_modules[typeof(PitchAngularVelocityController)] as PitchAngularVelocityController;
     yvc    = owner.cur_ves_modules[typeof(YawAngularVelocityController)] as YawAngularVelocityController;
     rvc    = owner.cur_ves_modules[typeof(RollAngularVelocityController)] as RollAngularVelocityController;
     dc     = owner.cur_ves_modules[typeof(DirectorController)] as DirectorController;
     mapped = true;
 }
예제 #2
0
 public override void InitializeDependencies(Dictionary <Type, AutopilotModule> modules)
 {
     //imodel = modules[typeof(FlightModel)] as FlightModel;
     dir_c    = modules[typeof(DirectorController)] as DirectorController;
     thrust_c = modules[typeof(ProgradeThrustController)] as ProgradeThrustController;
 }