So I have this so if alt is over 50000 then cut off engine. But if did not but still get a ctd when I detach the capsule
I also think if detach and at?? alt deploy speed brake?
double h = GetAltitude(ALTMODE_GROUND);
const double TGT_AP = 50000;// target altitude 100km 50km
bool engine_cutoff = false;
if (h> TGT_AP)engine_cutoff = true;
if (engine_cutoff == true)
{
SetThrusterLevel(th_main[0], 0.0);
}
if using CTRL and Plus it shuts off at 50km. If you hold down the Plus key it will not. capsule landed and rocket in the background
The rocket lands sink a bit and starts to fall and rights her up.
ran the debug. put a break at the detach child. when I press continue I get the symbol not loaded
PAD = CreateAttachment(true, _V(0, 0.0, -7.384), _V(0, 0, -1), _V(1, 0, 0), "ns", false);
MB = CreateAttachment(false, _V(0, 0, 5.476), _V(0, 0, 1), _V(0.707107, 0.707107, 0), "MB", false);
I also think if detach and at?? alt deploy speed brake?
double h = GetAltitude(ALTMODE_GROUND);
const double TGT_AP = 50000;// target altitude 100km 50km
bool engine_cutoff = false;
if (h> TGT_AP)engine_cutoff = true;
if (engine_cutoff == true)
{
SetThrusterLevel(th_main[0], 0.0);
}
if using CTRL and Plus it shuts off at 50km. If you hold down the Plus key it will not. capsule landed and rocket in the background
The rocket lands sink a bit and starts to fall and rights her up.
ran the debug. put a break at the detach child. when I press continue I get the symbol not loaded
PAD = CreateAttachment(true, _V(0, 0.0, -7.384), _V(0, 0, -1), _V(1, 0, 0), "ns", false);
MB = CreateAttachment(false, _V(0, 0, 5.476), _V(0, 0, 1), _V(0.707107, 0.707107, 0), "MB", false);
Attachments
Last edited:
