Request New Shepard vehicle and tower

I was just going to elaborate!
Technically I'm not getting NaN values, just very high, here's the current state.scn after close.

BEGIN_SHIPS
NSCAPSULE:nscapsule
MODE 1
STATUS Orbiting Earth
RPOS 126612430825059860000.000 -139208591145413900000.000 6321291876566804500.000
RVEL 17047742488498016000.0000 -18743753662804750000.0000 851130930859800450.0000
AROT -43.145 51.609 -26.751
VROT 3337.5477 6209.8963 -12531.0208
AFCMODE 7
NAVFREQ 0 0
XPDR 0
END

Somethings accelerating it at high speed! Can you include the SDK files to take a look at the code?
 
The Nscapsule.dll in the zip is dated 17.8.25, your end is currently working? Is this .dll outdated?

Edit: Emissive is good, maybe a lttle too high (have to check the last launch video- IIRC it was pretty dark), maybe you can leave the door if the rest is darker?
Seat positions (by the windows) would be cool.
Still getting the spinning and accelerarion in the orbit test scn.
This is how it looks on scn start even though it's way above the atmosphere.
0713.jpg
I'll take a look at the code, but I'm no programmer.
 
Last edited:
Hi,
I'll also take a look at the nscapsule code and see if I can ched any light on what's going on.
The capsule jettison speed from the booster is 5 m/s, shouldn't be a problem.
I'll do some experiments and report back.
Cheers,
BrianJ
 
I don't know if this is relevant but first off I notice there are definitions for H and V airfoils followed directly by more airfoil defs for H and V tagged "atlantis". I think the atlantis can be deleted but I would think that one would supercede the other?

Edit: Ignore anything I say on code, BrianJ's on the case;)
 
Last edited:
Edit: Ignore anything I say on code, BrianJ's on the case;)
Thanks for the vote of confidence - but I'm not sure its warranted 🙃

Anyway, I had a quick look, lots of stuff I don't really understand.

I usually find that its good start off vessel creation with getting the basic parameters (mass, size, PMI, fuel mass, etc.) in the right ball park - and some of the parameters I'm seeing are not what I'd expect - 9200kg fuel, large PMI, etc.

But apart from that, I have hunch the prime suspect for the "NaN-speed" behaviour is this line in the clbkSetClassCaps(...) section.
Code:
CreateVariableDragElement(&SPEEDBRAKE_proc, 500, _V(0, -4, 9));

As far as I can see
Code:
SPEEDBRAKE_proc
is declared in the header file, but not initialized to any value anywhere.

If your PC decides to initialize it to 0 (as my PC probably does), you may get a reasonable chance of jettison without NaN-speed craziness. BUT if your PC decides to initialise it to 47538904590870099 (or whatever) you get flung into warpspeed Nan-space!

Try initializing to 0
Code:
SPEEDBRAKE_proc = 0;
or get rid of the whole CreateVariableDragElelement line.

The other thing that can cause problems is the cross sections, currently its set to:
Code:
SetCrossSections (_V(710.54,2159.34,207.95));
Way too big. You can use the ShipEdit.exe tool in your OrbiterSDK/Utils/ folder to check the actual cross sections.

Good luck!
BrianJ
 
OK, so a quick test would be just to add the variable initilisation. If you can recompile I'll check if that solves the NaN issue.

On the data I just had a quick look and didn't find much.
The capsule has nitrogen jets for the landing so probably only a few kg of fuel.
Launch mass = 35,000kg - current booster wet mass?= capsule?
The wrong size explains the camera issue I mentioned, I would go by the model (I'm guessing the mesh is a little bigger?), RL has 3.8m diameter.
Setsize is 1.98, this should be ok.

But changing mass etc.. will affect everything else, like parachute drag etc.. so would need further testing...
 
Last edited:
So this is weird. I changed add the variable and set the pmi:
SetPMI(_V(6.90, 6.94, 8.64));

but now when I launch the whole launch pad moves away and the rocket never leaves


Maybe the mass of the launchpad needs increased? I had to do the same for my newglenn
 

Attachments

So this is weird. I changed add the variable and set the pmi:
SetPMI(_V(6.90, 6.94, 8.64));

but now when I launch the whole launch pad moves away and the rocket never leaves


Maybe the mass of the launchpad needs increased? I had to do the same for my newglenn
This is what I meant, it would probably need a complete reconfiguration. Better to fix the NaN issue first.
I was expecting the opposite? If the capsule was overweight (fuel) and now reduced that the booster would be overpowered. AFAIK PMI only affects vessel rotation?

OK, quick Orbital test, the NaN is gone!(y):)
The doors fixed, MFD and seat position! (I think the seats might be the wrong way around?):)
Launch and sep. good!
I opened the chutes to early (7Gs!?) and ctd because I used time acc.🤦‍♂️
I'll do more testing later.:)
 
Check if you have "Attachment Manager" enabled in your modules tab - disable it if so.
Unchecked. All works for me.

How hard would it be to use the code for new Glenn? just for grins. I launched the new Shepard from my lp36. and look where she landed
 

Attachments

  • capchute.jpg
    capchute.jpg
    25.1 KB · Views: 9
  • _119484257_1.jeff_bezos_rocket_6402x-nc.png.webp
    _119484257_1.jeff_bezos_rocket_6402x-nc.png.webp
    31.6 KB · Views: 7
  • bopad.jpg
    bopad.jpg
    35.4 KB · Views: 7
Last edited:
I think I'm missing a .cfg? Or a typo in the .dll? Everything works down to touchdown and then CTD.
No .cfg for Bo_drogue.
In the 9.4zip there's a BO_CHUTE and a Bo_drogue_CHUTE.

Had a bit more time to look at it, the seats are good btw. I checked a video and set the mesh interior emmision to 0.1 instead of 0.3.
And added some texture maps for the chutes (transparency, translucense, transmission) attach.
 

Attachments

Thanks. here you go.

I think we are good for launch,.....

might need more work to get from Assembly building to pad
 

Attachments

@BrianJ
Looking at the new Shepard code. So the Autopilot does everything the speed brake,.....?

trying to adapt this to New Glenn. But not being successful
 
@BrianJ
Looking at the new Shepard code. So the Autopilot does everything the speed brake,.....?

trying to adapt this to New Glenn. But not being successful
The New Glenn is a very different vehicle to New Shepard (two stage, goes to orbit, 1st stage boostback burn to landing target etc.)
so I don't know how you would adapt the New Shepard code 🤷‍♂️
Well done on getting the capsule jettison sorted out (y)
Cheers,
Brian
 
Thanks. I was thinking the 1stage of NG would be like NS.

Well At least the NG gets to orbit;)

Maybe someone can figure the whole autoland out
 
Back
Top