Play and fix this free return

rocketman768

New member
Joined
Jun 25, 2008
Messages
54
Reaction score
0
Points
0
This is the XR2. I launched to get into LEO, then thought I could set up IMFD to do a free return with the moon. I was wrong. It seems no matter what I do, I can't get a free return trajectory that returns close to earth unless my perigee altitude above the moon is over 2 Megameters. I would really appreciate it if you would play this scenario and tell me what I have to do to fix it. Thanks!

Code:
BEGIN_DESC

END_DESC

BEGIN_ENVIRONMENT
  System Sol
  Date MJD 51985.0598357176
END_ENVIRONMENT

BEGIN_FOCUS
  Ship XR2-01
END_FOCUS

BEGIN_CAMERA
  TARGET XR2-01
  MODE Cockpit
  FOV 40.00
END_CAMERA

BEGIN_HUD
  TYPE Orbit
  REF AUTO
END_HUD

BEGIN_MFD Left
  TYPE User
  MODE Interplanetary
  Scenario Old2
  MapMFD V5
  Reference Auto
  Target moon
  Center moon
  Data 0 1 1.624103694396879e-007 0 1 1 0 0 1 0 0 0
  MassLimit 1e+020
  CMode 1
  Config 0 1 1 1 1e+006 0
  ExtMode 2
  Periapis Moon
  END 
  CorMFD V4
  Reference Earth
  Target Moon
  Source XR2-01
  ActiveProg 1 1
  DataA 0 2 0 1 0 0
  DataB 11.390625 10 51985.10090460654 0 0 5.773192678279941 0 51990.28826814902 0
  DVProg 0 0 0 1
  AdvConf 1.570796326794897 0 15522035.79831782 2 0
  Guidance 1
  END 
  EjectMFD V5
  Reference Auto
  Data 0 1 3 0 1 51985.03562556141 10
  Guidance 0
  END 
  BaseAprMFD V2
  Reference Auto
  Target none
  Source none
  DataA 0 0 120000 0.10821 0.366519 1 1 51985.03562556141 51985.03562556141 0
  DataB 0 3 0 1 0 1
  END 
  SlingMFD V4
  Reference Auto
  Source none
  Data 0 1 1 3 0 1 51985.03562556141 0
  END 
  LaunchMFD V4
  Target None
  Data 0 1 1 3 0 1 0
  END 
  CF1_DataA 1 0
  CF1_DataB 51984.6053168878 10 120000 2 20 150000
  CF1_SecTgt 
  mfdShare -1
  mfdProgram 2
END_MFD

BEGIN_MFD Right
  TYPE User
  MODE Interplanetary
  Scenario Old2
  MapMFD V5
  Reference Auto
  Target moon
  Center moon
  Data 0 1 1.624103694396879e-007 0 1 1 0 0 1 0 0 0
  MassLimit 1e+020
  CMode 1
  Config 0 1 1 1 1e+006 0
  ExtMode 2
  Periapis Moon
  END 
  CorMFD V4
  Reference Earth
  Target Moon
  Source XR2-01
  ActiveProg 1 1
  DataA 0 2 0 1 0 0
  DataB 11.390625 10 51985.10090460654 0 0 5.773192678279941 0 51990.28826814902 0
  DVProg 0 0 0 1
  AdvConf 1.570796326794897 0 15522035.79831782 2 0
  Guidance 1
  END 
  EjectMFD V5
  Reference Auto
  Data 0 1 3 0 1 51985.03562556141 10
  Guidance 0
  END 
  BaseAprMFD V2
  Reference Auto
  Target none
  Source none
  DataA 0 0 120000 0.10821 0.366519 1 1 51985.03562556141 51985.03562556141 0
  DataB 0 3 0 1 0 1
  END 
  SlingMFD V4
  Reference Auto
  Source none
  Data 0 1 1 3 0 1 51985.03562556141 0
  END 
  LaunchMFD V4
  Target None
  Data 0 1 1 3 0 1 0
  END 
  CF1_DataA 1 0
  CF1_DataB 51984.6053168878 10 120000 2 20 150000
  CF1_SecTgt 
  mfdShare 0
  mfdProgram 4
END_MFD

BEGIN_PANEL
END_PANEL


BEGIN_SHIPS
ISS:ProjectAlpha_ISS
  STATUS Orbiting Earth
  RPOS 6206043.42 1135143.70 -2323402.48
  RVEL 1941.022 -7276.810 1618.193
  AROT 134.31 30.34 169.62
  PRPLEVEL 0:1.000
  IDS 0:588 100 1:586 100 2:584 100 3:582 100 4:580 100
  NAVFREQ 0 0
  XPDR 466
END
Mir
  STATUS Orbiting Earth
  RPOS 111556.03 -305818.94 -6673641.35
  RVEL 7665.316 899.327 90.502
  AROT 83.29 -36.13 -3.24
  VROT -0.10 0.01 0.01
  IDS 0:540 100 1:542 100 2:544 100
  XPDR 482
END
Luna-OB1:Wheel
  STATUS Orbiting Moon
  RPOS 1143237.35 1925187.82 1360.13
  RVEL -1272.444 755.500 0.300
  AROT -0.03 0.01 36.13
  VROT 0.00 0.00 10.00
  IDS 0:560 100 1:564 100
  XPDR 494
END
XR2-01:XR2Ravenstar
  STATUS Orbiting Earth
  RPOS 674096.93 -612547.98 -6511268.49
  RVEL 7717.989 -583.289 853.706
  AROT -35.68 -82.58 40.79
  VROT -0.00 0.07 -0.00
  RCSMODE 0
  PRPLEVEL 0:0.606 1:0.851
  IDS 0:199 100
  NAVFREQ 588 466 84 114
  XPDR 193
  SECONDARY_HUD 2
  LAST_ACTIVE_SECONDARY_HUD 0
  ADCTRL_MODE 0
  TAKEOFF_LANDING_CALLOUTS 7379.445188 36425.903000 36425.919000 0.000000 0.191397
  APU_FUEL_QTY 0.867
  LOX_QTY 0.967276
  CABIN_O2_LEVEL 0.209
  CREW_STATE 0
  INTERNAL_SYSTEMS_FAILURE 0
  COGSHIFT_MODES 0 0 0
  MWS_ACTIVE 0
  COOLANT_TEMP 34.899
  DMG_0 1.000000 Left Wing
  DMG_1 1.000000 Right Wing
  DMG_2 1.000000 Left Aileron
  DMG_3 1.000000 Right Aileron
  DMG_4 1.000000 Landing Gear
  DMG_5 1.000000 Nosecone
  DMG_6 1.000000 Retro Doors
  DMG_7 1.000000 Top Hatch
  DMG_8 1.000000 Radiator
  DMG_9 1.000000 Airbrake
  DMG_10 1.000000 Left Main Engine
  DMG_11 1.000000 Right Main Engine
  DMG_12 1.000000 Left SCRAM Engine
  DMG_13 1.000000 Right SCRAM Engine
  DMG_14 1.000000 Fore Hover Engine
  DMG_15 1.000000 Aft Hover Engine
  DMG_16 1.000000 Left Retro Engine
  DMG_17 1.000000 Right Retro Engine
  DMG_18 1.000000 Forward Lower RCS
  DMG_19 1.000000 Aft Upper RCS
  DMG_20 1.000000 Forward Upper RCS
  DMG_21 1.000000 Aft Lower RCS
  DMG_22 1.000000 Forward Star. RCS
  DMG_23 1.000000 Aft Port RCS
  DMG_24 1.000000 Forward Port RCS
  DMG_25 1.000000 Aft Star. RCS
  DMG_26 1.000000 Outboard Upper Port RCS
  DMG_27 1.000000 Outboard Lower Star. RCS
  DMG_28 1.000000 Outboard Upper Star. RCS
  DMG_29 1.000000 Outboard Lower Port RCS
  DMG_30 1.000000 Aft RCS
  DMG_31 1.000000 Forward RCS
  DMG_32 1.000000 Bay Doors
  IS_CRASHED 0
  MET_STARTING_MJD 51985.026913
  INTERVAL1_ELAPSED_TIME -1.000000
  INTERVAL2_ELAPSED_TIME -1.000000
  MET_RUNNING 1
  INTERVAL1_RUNNING 0
  INTERVAL2_RUNNING 0
  ACTIVE_MDM 2
  TEMP_SCALE 2
  CUSTOM_AUTOPILOT_MODE 0
  AIRSPEED_HOLD_ENGAGED 0
  SCRAM0DIR 0.000000 0.000000 1.000000
  SCRAM1DIR 0.000000 0.000000 1.000000
  HOVER_BALANCE 0.000
  MAIN0DIR 0.000000 0.000000 1.000000
  MAIN1DIR 0.000000 0.000000 1.000000
  GIMBAL_BUTTON_STATES 0 0 0 0 0 0
  ATTITUDE_HOLD_DATA 0.000000 0.000000 0 0 0.000000
  DESCENT_HOLD_DATA 0.000000 -3.000000 0
  AIRSPEED_HOLD_DATA 0.000000
  OVERRIDE_INTERLOCKS 0 0
  TERTIARY_HUD_ON 0
  CREW_DISPLAY_INDEX 0
  GEAR 0 0.0000
  RCOVER 1 1.0000
  NOSECONE 0 0.0000
  AIRLOCK 0 0.0000
  IAIRLOCK 0 0.0000
  CHAMBER 0 0.0000
  AIRBRAKE 0 0.0000
  RADIATOR 1 1.0000
  HATCH 0 0.0000
  SCRAM_DOORS 0 0.0000
  HOVER_DOORS 0 0.0000
  BAY_DOORS 0 0.0000
  APU_STATUS 0
  EXTCOOLING_STATUS 0
  TRIM -0.012
  LIGHTS 0 0 0
  XRUMMU_CREW_DATA_VALID 1
  UMMUCREW XI0-Lee_Nash-39-65-78
  UMMUCREW XI1-Kara_Miller-32-65-58
  UMMUCREW XI2-Sharon_Valerii-26-67-54
  UMMUCREW XI3-Cameron_Mitchell-36-65-77
  UMMUCREW XI4-Samantha_Carter-33-66-53
  UMMUCREW XI5-Daniel_Jackson-35-68-75
  UMMUCREW XI6-Teal_c-31-64-104
  UMMUCREW XI7-Vala_Mal_Doran-30-67-53
  UMMUCREW XI8-Elizabeth_Weir-36-68-56
  UMMUCREW XI9-John_Sheppard-34-64-77
  UMMUCREW XI10-Rodney_McKay-35-72-90
  UMMUCREW XI11-Teyla_Emmagan-27-68-57
  UMMUCREW XI12-Ronon_Dex-32-63-97
  UMMUCREW XI13-Carson_Beckett-38-74-95
  PAYLOAD_SCREENS_DATA 0.2 0 1 1
END
SH-03:ShuttleA
  STATUS Landed Earth
  BASE Habana:4
  POS -82.3982414 23.0005396
  HEADING 70.00
  PRPLEVEL 0:1.000 1:1.000
  NAVFREQ 0 0
  XPDR 0
  PODANGLE 0.0000 0.0000
  DOCKSTATE 0 0.0000
  AIRLOCK 0 0.0000
  GEAR 0 0.0000
  PAYLOAD MASS 0.0 0
END
PB-01:ShuttlePB
  STATUS Landed Earth
  BASE Habana:1
  POS -82.4000000 22.9994604
  HEADING 22.00
  PRPLEVEL 0:1.000
  NAVFREQ 0 0
END
GL-02:DeltaGlider
  STATUS Landed Mars
  BASE Olympus:3
  POS -135.4300000 12.7366196
  HEADING 0.00
  PRPLEVEL 0:1.000 1:1.000
  NAVFREQ 0 0 0 0
  XPDR 0
  GEAR 1 1.0000
END
SH-01:ShuttleA
  STATUS Landed Moon
  BASE Brighton Beach:1
  POS -33.4375000 41.1184067
  HEADING 0.00
  PRPLEVEL 0:1.000 1:1.000
  NAVFREQ 0 0
  XPDR 0
  PODANGLE 0.0000 0.0000
  DOCKSTATE 0 0.0000
  AIRLOCK 0 0.0000
  GEAR 0 0.0000
  PAYLOAD MASS 0.0 0
END
XR2-01_Bay:XRPayloadBay
  STATUS Orbiting Earth
  RPOS 674094.07 -612546.69 -6511268.89
  RVEL 7717.989 -583.289 853.706
  AROT -35.68 -82.58 40.79
  VROT -0.00 0.07 -0.00
  ATTACHED 0:3,XR2-01
END
XR2PayloadCHM-01-1:XR2PayloadCHM
  STATUS Orbiting Earth
  RPOS 674099.05 -612547.38 -6511268.33
  RVEL 7717.989 -583.289 853.706
  AROT -35.68 -82.58 40.79
  VROT -0.00 0.07 -0.00
  ATTACHED 0:0,XR2-01
  NAVFREQ 0 0
END
END_SHIPS
 

flytandem

Tutorial Publisher
Tutorial Publisher
Joined
Oct 19, 2007
Messages
499
Reaction score
5
Points
0
Location
San Bernardino
Website
www.flytandem.com
A nice tight pass at the moon and free return is possible with the orbit you have. I pulled the orbit data and date and plugged it into something I'm familiar with (DG and TransX) and something about a 3+ day wait from the start date of the scenario and about 3158m/s prograde is what allowed the free return with a pass about 100 KM agl at the moon. I don't know how one would get IMFD to set up the autoburn but the IMFD veterans out there will likely be able to help.
 

jarmonik

Well-known member
Orbiter Contributor
Addon Developer
Beta Tester
Joined
Mar 28, 2008
Messages
2,669
Reaction score
798
Points
128
This is the XR2. I launched to get into LEO, then thought I could set up IMFD to do a free return with the moon. I was wrong. It seems no matter what I do, I can't get a free return trajectory that returns close to earth unless my perigee altitude above the moon is over 2 Megameters. I would really appreciate it if you would play this scenario and tell me what I have to do to fix it. Thanks!

In order to reach lower fly-by altitude you need to increase lunar fly-by velocity. That means reducing time of flight.
 

rocketman768

New member
Joined
Jun 25, 2008
Messages
54
Reaction score
0
Points
0
In order to reach lower fly-by altitude you need to increase lunar fly-by velocity. That means reducing time of flight.

You were absolutely right. I ended up reducing the flight time to 80-something hours, and got a much better trajectory. However, immediately after the injection burn, the map showed my moon perigee altitude to be increasing at a rate of about 2 km/s. After it got around 3M, I pushed "AB" again to hopefully correct my course, and the retarded thing sent me flying out in the solar system somewhere! Grrr...
 

jarmonik

Well-known member
Orbiter Contributor
Addon Developer
Beta Tester
Joined
Mar 28, 2008
Messages
2,669
Reaction score
798
Points
128
You were absolutely right. I ended up reducing the flight time to 80-something hours, and got a much better trajectory. However, immediately after the injection burn, the map showed my moon perigee altitude to be increasing at a rate of about 2 km/s.

Non-spherical gravity sources must be turned on.;)

However, if they ware allready turned on there must be something wrong in configuration settings. Try to relpace IMFD5.cfg with original.
 

rocketman768

New member
Joined
Jun 25, 2008
Messages
54
Reaction score
0
Points
0
Non-spherical gravity sources must be turned on.;)

However, if they ware allready turned on there must be something wrong in configuration settings. Try to relpace IMFD5.cfg with original.

Awesome. Why exactly must non-spherical gravity be on for IMFD to work?

Also, why doesn't the correction burn work as I expected? Again, I tried hitting "AB" again when the burn vector display said the remaining dV was about starting to creep upwards, but when I clicked AB, all the numbers changed so that my dV was 5.5k again, and it proceeded to fling me out of earth-moon orbit again.
 
Top