// -----------------------------------------------------------
// Flightplan for the orbiter space simulation 
// for use with the Autopilot MFD
// 
// AutopilotMFD (c) 2005 by R. Bumm, Munich 
// -----------------------------------------------------------
// flightplan landing in Cape Canaveral!
//
select Wallops Island
//     (Wallops Island)    
set apcontrol airfoil
set afcontrol on
//  
set timeacc 10
//   10
wait distin 170000.
//    (170     -  )
set timeacc 100
//   100
//wait 4615. -        DG-IV (Alt+7) 
wait 4580.
//  4580 
set timeacc 10
//   10
wait 2.
set speed 7260.
maintain speed
//     7260 / (  =~1.95 .)
run oretrograde
wait 100.
//             100 
burn main 100.
//      (  6000    )
wait speedless 7260.
burn main 0.
//      7260 /
run prograde
//   prograde (  )
set timeacc 10
//   10
wait 30.
//  30 
set timeacc 100
//   100
wait altdesc 130000.
//   130 
set timeacc 10
//   10
stop apa
//    APA
run hlevel
//    (    )
wait 25.
//  30 
pitch +34.
//    40 . (  - AOA)
// wait 10.
wait altdesc 90000.
pitch +40.
//   90      40 .
wait altdesc 75000.
pitch +40.
//     DG-IV  reentry (Alt+7)   30  
//        
//   75      40 .,  ....
run hlevel
elv up 100.
set timeacc 0.2
elv up 100.
pitch +40.
// ...  3,5          
wait 1
//  1  (  - 5      0,2)
pitch +40.
//    40 . (  - AOA,  )
set timeacc 10
//   10
wait altdesc 63000.
pitch +40.
elv up 100.
wait altdesc 52000
pitch +40.
elv up 100.
wait altdesc 45000
pitch +35.
elv up 100.
wait altdesc 40000
pitch +28.
elv up 100.
wait altdesc 35000
pitch +20.
elv up 100.
//   35      20 .
wait altdesc 30000
pitch +15.
//   30      30 .
set attmode on
set apmode airfoil
set afcontrol on
//    
select Cape Canaveral
headtarget
//   Cape Canaveral    
wait altdesc 25000.
//   25 
select Cape Canaveral
set apcontrol airfoil
set afcontrol on
set alt 9600
//     Cape Canaveral 9600 
set desc wp
//          
run apv
//       (  ?   !)
set speed 260
maintain speed
headtarget
wait distin 2000
//     () 2 
set alt 2200.
set desc wp
//           (DM003 -  )
select DM003
wait distin 1000.
set alt 1500
set desc wp
select DM004
wait distin 3000.
set alt 0.
set climb -10.
set speed 220.
select DM005
wait distin 1000.
operate gear
select RW33START
set alt 10.
set desc wp
wait distin 3000.
head 330.
wait altdesc 20.
set alt 0.
set climb -2.0
set speed 150.
wait groundcontact
elv down 20.
set speed 10.
operate wheelbrake
wait speedless 20.
elv neutral
release wheelbrake
set speed 15
set speed 0.
operate brakes
stop aps
burn main 0.
wait 3
stop engines
end