Support Help debugging a scenario which causes CTDs

Graham2001

Well-known member
Joined
Mar 20, 2008
Messages
1,523
Reaction score
73
Points
48
Thought I'd test out one of Francisdrakes oldest orbiter addons the Orbital Space Capsule which proceeds the various CEV designs. I've found that it still works under Orbiter 2006.

I thought I'd write a quick scenario that used the Delta IV Heavy Versatile as the launch vehicle rather than the much older addon originally used.

However the scenario I've written results in a CTD as soon as the scenario loads. Experience tells me the most likely cause to be a syntax error in the scenario, but as far as I can tell everything is correct. I would like to ask if someone with more experience could look over the scenario below and point out what the mistake is.

Code:
BEGIN_DESC
OSC to re-supply ISS mission in earth orbit.


Launch the Delta 4HV into orbit.
During the second stage burn, when the vetical speed decreases, pitch up to keep the vertical speed around 0.
END_DESC

BEGIN_ENVIRONMENT
  System Sol
  Date MJD 56931.729
END_ENVIRONMENT

BEGIN_FOCUS
  Ship Delta4HV-1
END_FOCUS

BEGIN_CAMERA
  TARGET Delta4HV
  MODE Extern
  POS 5.47 25.59 -48.56
  TRACKMODE Ground Earth
  GROUNDLOCATION -80.62102 28.61846 18.60
  FOV 50.00
END_CAMERA

BEGIN_HUD
  TYPE Surface
END_HUD

BEGIN_MFD Left
  TYPE Surface
  REF Earth
END_MFD

BEGIN_MFD Right
  TYPE Map
  REF Earth
  BTARGET Cape Canaveral
  OTARGET ISS
END_MFD

BEGIN_SHIPS
Delta4:Delta4HV\D4HV
  STATUS Landed Earth
  BASE Cape Canaveral:5
  POS -80.6232502 28.6197341 
  PRPLEVEL 0:1  1:1  2:1
  NAVFREQ 0 2
  CONFIGURATION 0
  HEADING 90  
  INITIALHEADING -20 
  HEIGHT 25  
  FAIRING 2
  LES 31.2
; PAYLOAD name   Mesh-file  cfg-file  x  y  z  mass  rotation fuellevel
  PAYLOAD OSC1 OSC\OSC OSC\OSC 0 0 29.0 9700 0 1
END
ISS:ProjectAlpha_ISS
  STATUS Orbiting Earth
  RPOS -2422755.36 6153069.60 -1266987.21
  RVEL 7037.889 2353.014 -2027.680
  AROT 30.00 0.00 50.00
  PRPLEVEL 0:0.400
  IDS 0:588 10 1:586 10 2:584 10 3:582 10 4:580 10
  NAVFREQ 0 0
  XPDR 466
END
END_SHIPS

It requires the following to run

1. Orbital Space Capsule V 1.1

http://www.orbithangar.com/download.php?ID=1872

2. Delta 4 Heavy Versatile V0.51b

http://www.orbithangar.com/download.php?ID=902
 

Artlav

Aperiodic traveller
Addon Developer
Beta Tester
Joined
Jan 7, 2008
Messages
5,790
Reaction score
780
Points
203
Location
Earth
Website
orbides.org
Preferred Pronouns
she/her
Payload description is wrong, there is no OSC subdir in any place.
Correct one:
Code:
; PAYLOAD name   Mesh-file  cfg-file  x  y  z  mass  rotation fuellevel
  PAYLOAD OSC1 OSC OSC 0 0 29.0 9700 0 1
The rocket barely takes off the pad though.
 

Graham2001

Well-known member
Joined
Mar 20, 2008
Messages
1,523
Reaction score
73
Points
48
Payload description is wrong, there is no OSC subdir in any place.
Correct one:
Code:
; PAYLOAD name   Mesh-file  cfg-file  x  y  z  mass  rotation fuellevel
  PAYLOAD OSC1 OSC OSC 0 0 29.0 9700 0 1
The rocket barely takes off the pad though.

Thanks, I knew the initial problem would be a simple one, but the other is strange.

The scenario I based it off is a launch of a CEV which has a higher mass than the OSC & the Delta IVh has no problems lifting that payload.

Original Code
Code:
; PAYLOAD name   Mesh-file  cfg-file  x  y  z  mass  rotation fuellevel
  PAYLOAD CEV1 CEV1\CEV-Assy CEV1\CEV 0 0 29.0 19200 0 1

OSC Launch Code
Code:
; PAYLOAD name   Mesh-file  cfg-file  x  y  z  mass  rotation fuellevel
  PAYLOAD OSC1 OSC OSC 0 0 29.0 9700 0 1


If anyone is interested in further testing this scenario, a final version incorporating the corrected payload line is available. This also incorporates height changes to ensure there are no gaps between the payload, the launch vehicle and the launch escape system, the necessary addons are linked to in the original post.

Code:
BEGIN_DESC
OSC to re-supply ISS mission in earth orbit.


Launch the Delta 4HV into orbit.
During the second stage burn, when the vetical speed decreases, pitch up to keep the vertical speed around 0.
END_DESC

BEGIN_ENVIRONMENT
  System Sol
  Date MJD 56931.729
END_ENVIRONMENT

BEGIN_FOCUS
  Ship Delta4HV-1
END_FOCUS

BEGIN_CAMERA
  TARGET Delta4HV
  MODE Extern
  POS 5.47 25.59 -48.56
  TRACKMODE Ground Earth
  GROUNDLOCATION -80.62102 28.61846 18.60
  FOV 50.00
END_CAMERA

BEGIN_HUD
  TYPE Surface
END_HUD

BEGIN_MFD Left
  TYPE Surface
  REF Earth
END_MFD

BEGIN_MFD Right
  TYPE Map
  REF Earth
  BTARGET Cape Canaveral
  OTARGET ISS
END_MFD

BEGIN_SHIPS
Delta4:Delta4HV\D4HV
  STATUS Landed Earth
  BASE Cape Canaveral:5
  POS -80.6232502 28.6197341 
  PRPLEVEL 0:1  1:1  2:1
  NAVFREQ 0 2
  CONFIGURATION 0
  HEADING 90  
  INITIALHEADING -20 
  HEIGHT 25  
  FAIRING 2
  LES 28.2
; PAYLOAD name   Mesh-file  cfg-file  x  y  z  mass  rotation fuellevel
  PAYLOAD OSC1 OSC OSC 0 0 28.0 9700 0 1
END
ISS:ProjectAlpha_ISS
  STATUS Orbiting Earth
  RPOS -2422755.36 6153069.60 -1266987.21
  RVEL 7037.889 2353.014 -2027.680
  AROT 30.00 0.00 50.00
  PRPLEVEL 0:0.400
  IDS 0:588 10 1:586 10 2:584 10 3:582 10 4:580 10
  NAVFREQ 0 0
  XPDR 466
END
END_SHIPS
 
Last edited:

Graham2001

Well-known member
Joined
Mar 20, 2008
Messages
1,523
Reaction score
73
Points
48
The rocket barely takes off the pad though.

I've just completed a series of test flights using the original scenario I based it on (from [ame=http://www.orbithangar.com/searchid.php?ID=756]Odyssey CEV Vers. 0.5 [/ame] and the same thing happens, which does not make sense because according to the designers notes the rocket should be able to lift both payloads with ease.
 
Top