Vessel Chang'e 4 Lander, Rover, Queqiao and Longjiang 1 and 2 Lunar probes

You did call VESSEL::ShiftCentreOfMass rsp. VESSEL::ShiftCG ? That definitely might cause a spin when it isn't shifted purely in the hover-thrust direction (Y axis in your case I assume)
 
You did call VESSEL::ShiftCentreOfMass rsp. VESSEL::ShiftCG ? That definitely might cause a spin when it isn't shifted purely in the hover-thrust direction (Y axis in your case I assume)


No change in center of mass. I wonder if there is a way to see what the center is?




This gives you the LongMArch4C and satellites.

https://drive.google.com/open?id=1sOm-TyGfTqirTqQdGldXfGKRtsDSXFay
on the Q the keys are
1 extend panels
2 lock unlock panels from sun finding
3 ext antenna
G dish open/closed


on the lander this is what I have:
Code:
// point, stiffness, dampening, isotropic/lateral friction coefficient, longitudinal friction coefficient (only used for first 3 points)
const double pesototal = MASS +FUELMASS;
const double xtx_target = -0.1;
const double xtst = (-1)*(pesototal*9.80655) / (3 * xtx_target);
const double xtda = 0.9*(2 * sqrt(pesototal*xtst));

static const DWORD ntdvtx_geardown = 4;
static TOUCHDOWNVTX tdvtx_geardown[ntdvtx_geardown] = {
    { _V(-4, -3.2806, -4), xtst, xtda, 500.0, 500.0 },
    { _V(4, -3.2806, -4), xtst, xtda, 500.0, 500.0 },
    { _V(4, -3.2806, 4), xtst, xtda, 500.0, 500.0 },
    { _V(-4, -3.2806, 4), xtst, xtda, 500.0 }
};




void CHANGE4LANDER::clbkSetClassCaps(FILEHANDLE cfg)
{
    // physical specs
    SetSize (1.5);
    SetEmptyMass(MASS);
    SetCrossSections (_V(6.05,15.26,6.17));
    SetRotDrag (_V(0.1,0.1,0.1));
    //if (GetFlightModel() >= 1) {
    //    SetPitchMomentScale (1e-4);
    //    SetBankMomentScale (1e-4);
    //}
    SetPMI (_V(4.08,1.31,4.18));
    //SetTrimScale (0.05);
    SetCameraOffset (_V(0,2,.731));
    double ro = Passo;
    //SetTouchdownPoints(tdvtx, ntdvtx);

    //SetTouchdownPoints(_V(0, .001, 1), _V(-1.6, .001, -1), _V(1.6, .001, -1));;

    SetTouchdownPoints(tdvtx_geardown, ntdvtx_geardown);
    SetSurfaceFrictionCoeff(50, 40);
EnableTransponder (true);
mesh_MSL = AddMesh(oapiLoadMeshGlobal("change4lander3"));
SetMeshVisibilityMode(mesh_MSL, MESHVIS_ALWAYS); //Main ship mesh
//LR2 = CreateAttachment(false, _V(0, -1.06, -.371), _V(0, 1, 0), _V(0, 0, -1), "ROVER", false);
LR2 = CreateAttachment(false, _V(0, -2.130815, -.671), _V(0, 1, 0), _V(0, 0, 1), "ROVER", false);
//0, -2.130815, -1.388644

ph_main = CreatePropellantResource(FUELMASS);

th_hover[0] = CreateThruster(_V(0, 0, 0), _V(0, 1, 0), 10000, ph_main, RCS_ISP);
//th_hover[1] = CreateThruster(_V(-5, 0, 5), _V(0, 1, 0), 10000/4, ph_main, RCS_ISP);
//th_hover[2] = CreateThruster(_V(5, 0, -5), _V(0, 1, 0), 10000/4, ph_main, RCS_ISP);
//th_hover[3] = CreateThruster(_V(-5, 0, -5), _V(0, 1, 0), 10000/4, ph_main, RCS_ISP);

AddExhaust(th_hover[0], 1, 0.3, _V(0, -2.8, 0), _V(0, -1, 0));
thg_hover = CreateThrusterGroup(th_hover,1, THGROUP_HOVER);







th_rcs[0] = CreateThruster(_V(6, 0, 10), _V(0, -1, 0), RCS_THRUST, ph_main, RCS_ISP);
//AddExhaust(th_rcs[0], 1, .1, _V(2.063, 1.0571, 8.3072), _V(0, 1, 0));
// AddExhaust(th_rcs[0], 1, 0.1, _V(1.2234, 1.1706, .782), _V(0, 1, 0));
// Delantero derecho inferior
th_rcs[1] = CreateThruster(_V(6, 0, 10), _V(0, 1, 0), RCS_THRUST, ph_main, RCS_ISP);
AddExhaust(th_rcs[1], .5, 0.1, _V(1.261, -2.6, 1.175), _V(0, -1, 0));
AddExhaust(th_rcs[1], .5, 0.1, _V(1.158, -2.6, 1.277), _V(0, -1, 0));// Delantero derecho proa
// Delantero derecho proa
th_rcs[2] = CreateThruster(_V(6, 0, 10), _V(0, 0, -1), RCS_THRUST, ph_main, RCS_ISP);
AddExhaust(th_rcs[2], .5, .1, _V(1.167, -1.86, 1.325), _V(0, 0, 1));
//AddExhaust(th_rcs[2], .5, .01, _V(1.1555, 1.2106, .766), _V(-0.464, 0, .8858));
//AddExhaust(th_rcs[2], .5, 0.01, _V(1.148, 1.2179, .782), _V(0, 0, 1));
// Delantero derecho popa
th_rcs[3] = CreateThruster(_V(6, 0, 10), _V(0, 0, 1), RCS_THRUST, ph_main, RCS_ISP);
//AddExhaust(th_rcs[3], 1, .10, _V(0.922, .046, -7.5872), _V(0, 0, -1));
// Delantero derecho exterior
th_rcs[4] = CreateThruster(_V(6, 0, 10), _V(-1, 0, 0), RCS_THRUST, ph_main, RCS_ISP);
AddExhaust(th_rcs[4], .5, 0.1, _V(1.324, -1.86, 1.164), _V(1, 0, 0));

// Grupo delantero izquierdo

// Delantero izquierdo superior
th_rcs[5] = CreateThruster(_V(-6, 0, 10), _V(0, -1, 0), RCS_THRUST, ph_main, RCS_ISP);
//AddExhaust(th_rcs[5], 1, .10, _V(-2.063, 1.0571, 8.3072), _V(0, 1, 0));

//AddExhaust(th_rcs[5], 1, 0.1, _V(-1.2234, 1.1706, .782), _V(0, 1, 0));
// Delantero izquierdo inferior
th_rcs[6] = CreateThruster(_V(-6, 0, 10), _V(0, 1, 0), RCS_THRUST, ph_main, RCS_ISP);
AddExhaust(th_rcs[6], .5, 0.1, _V(-1.261, -2.6, 1.175), _V(0, -1, 0));
AddExhaust(th_rcs[6], .5, 0.1, _V(-1.158, -2.6, 1.277), _V(0, -1, 0));// Delantero derecho proa
// Delantero izquierdo proa
th_rcs[7] = CreateThruster(_V(-6, 0, 10), _V(0, 0, -1), RCS_THRUST, ph_main, RCS_ISP);
AddExhaust(th_rcs[7], .51, .1, _V(-1.167, -1.86, 1.325), _V(0, 0, 1));

//AddExhaust(th_rcs[7], .5, 0.01, _V(-1.148, 1.2179, .782), _V(0, 0, 1));
// Delantero izquierdo popa
th_rcs[8] = CreateThruster(_V(-6, 0, 10), _V(0, 0, 1), RCS_THRUST, ph_main, RCS_ISP);
//AddExhaust(th_rcs[8], 1, .10, _V(-0.922, .046, -7.5872), _V(0, 0, -1));

//AddExhaust(th_rcs[8], .5, 0.01, _V(-1.148, 1.2179, .782), _V(0, 0, -1));
// Delantero izquierdo exterior
th_rcs[9] = CreateThruster(_V(-6, 0, 10), _V(1, 0, 0), RCS_THRUST, ph_main, RCS_ISP);
AddExhaust(th_rcs[9], .5, 0.1, _V(-1.324, -1.86, -1.164), _V(-1, 0, 0));


// Grupo trasero derecho

// Trasero derecho superior
th_rcs[10] = CreateThruster(_V(6, 0, -10), _V(0, -1, 0), RCS_THRUST, ph_main, RCS_ISP);
//AddExhaust(th_rcs[10], 1, .10, _V(3.4827, .3, -7.4698), _V(0, 1, 0));
//AddExhaust(th_rcs[10], 1, 0.1, _V(1.2234, 1.1706, .782), _V(0, 1, 0));
// Trasero derecho inferior
th_rcs[11] = CreateThruster(_V(6, 0, -10), _V(0, 1, 0), RCS_THRUST, ph_main, RCS_ISP);
AddExhaust(th_rcs[11], .5, 0.1, _V(1.261, -2.6, -1.175), _V(0, -1, 0));
AddExhaust(th_rcs[11], .5, 0.1, _V(1.158, -2.6, -1.277), _V(0, -1, 0));// Delantero derecho proa
// Trasero derecho proa
th_rcs[12] = CreateThruster(_V(6, 0, -10), _V(0, 0, -1), RCS_THRUST, ph_main, RCS_ISP);
//AddExhaust(th_rcs[12], 1, .10, _V(1.68, -1.67, -.575), _V(.577, -.577, -.577));

//AddExhaust(th_rcs[12], .5, 0.01, _V(1.148, 1.2179, -.782), _V(0, 0, 1));
// Trasero derecho popa
th_rcs[13] = CreateThruster(_V(6, 0, -10), _V(0, 0, 1), RCS_THRUST, ph_main, RCS_ISP);
AddExhaust(th_rcs[13], .5, .1, _V(1.167, -1.86, -1.325), _V(0, 0, -1));

//AddExhaust(th_rcs[13], .5, 0.01, _V(1.148, 1.2179, -.782), _V(0, 0, -1));
// Trasero derecho exterior
th_rcs[14] = CreateThruster(_V(6, 0, -10), _V(-1, 0, 0), RCS_THRUST, ph_main, RCS_ISP);
AddExhaust(th_rcs[14], .5, 0.1, _V(1.324, -1.86, -1.164), _V(1, 0, 0));

// Grupo trasero izquierdo

// Trasero izquierdo superior
th_rcs[15] = CreateThruster(_V(-6, 0, -10), _V(0, -1, 0), RCS_THRUST, ph_main, RCS_ISP);
//AddExhaust(th_rcs[15], 1, 0.1, _V(-3.4827, .3, -7.4698), _V(0, 1, 0));
// Trasero izquierdo inferior
th_rcs[16] = CreateThruster(_V(-6, 0, -10), _V(0, 1, 0), RCS_THRUST, ph_main, RCS_ISP);
AddExhaust(th_rcs[16], .5, 0.1, _V(-1.261, -2.6, -1.175), _V(0, -1, 0));
AddExhaust(th_rcs[16], .5, 0.1, _V(-1.158, -2.6, -1.277), _V(0, -1, 0));// Delantero derecho proa
// Trasero izquierdo proa
th_rcs[17] = CreateThruster(_V(-6, 0, -10), _V(0, 0, -1), RCS_THRUST, ph_main, RCS_ISP);
//AddExhaust(th_rcs[17], .5, 0.01, _V(-1.148, 1.2179, -.782), _V(0, 0, 1));
// Trasero izquierdo popa
th_rcs[18] = CreateThruster(_V(-6, 0, -10), _V(0, 0, 1), RCS_THRUST, ph_main, RCS_ISP);
AddExhaust(th_rcs[18], .5, .1, _V(-1.167, -1.86, -1.325), _V(0, 0, -1));
// Trasero izquierdo exterior
th_rcs[19] = CreateThruster(_V(-6, 0, -10), _V(1, 0, 0), RCS_THRUST, ph_main, RCS_ISP);
AddExhaust(th_rcs[19], .5, 0.1, _V(-1.324, -1.86, -1.164), _V(-1, 0, 0));

////visual rcs

// Grupo motor de cabeceo hacia arriba "PITCH-UP"
th_group[0] = th_rcs[1];
th_group[1] = th_rcs[6];
th_group[2] = th_rcs[10];
th_group[3] = th_rcs[15];
CreateThrusterGroup(th_group, 4, THGROUP_ATT_PITCHUP);

// Grupo motor de cabeceo hacia abajo "PITCH-DOWN"
th_group[0] = th_rcs[0];

th_group[1] = th_rcs[5];
th_group[2] = th_rcs[11];
th_group[3] = th_rcs[16];
//th_group[4] = th_rcs[21];
CreateThrusterGroup(th_group, 4, THGROUP_ATT_PITCHDOWN);

// Grupo motor de balanceo izquierda "YAW-RIGHT"
th_group[0] = th_rcs[8];
th_group[1] = th_rcs[18];
th_group[2] = th_rcs[2];
th_group[3] = th_rcs[12];
CreateThrusterGroup(th_group, 4, THGROUP_ATT_YAWRIGHT);

// Grupo motor de balanceo derecha "YAW-LEFT"
th_group[0] = th_rcs[3];
th_group[1] = th_rcs[13];
th_group[2] = th_rcs[7];
th_group[3] = th_rcs[17];
CreateThrusterGroup(th_group, 4, THGROUP_ATT_YAWLEFT);

// Grupo motor de alabeo derecho "BANK-RIGHT"
th_group[0] = th_rcs[0];
th_group[1] = th_rcs[6];
th_group[2] = th_rcs[10];
th_group[3] = th_rcs[16];
CreateThrusterGroup(th_group, 4, THGROUP_ATT_BANKRIGHT);

// Grupo motor de alabeo izquierdo "BANK-LEFT"
th_group[0] = th_rcs[1];
th_group[1] = th_rcs[5];
th_group[2] = th_rcs[11];
th_group[3] = th_rcs[15];
CreateThrusterGroup(th_group, 4, THGROUP_ATT_BANKLEFT);

// 2-Movimientos traslacionales

// Grupo motor de traslación derecha "RIGHT"
// Este grupo lo podían formar los impulsores izquierdos delantero de proa y trasero de popa
th_group[0] = th_rcs[9];
th_group[1] = th_rcs[19];
CreateThrusterGroup(th_group, 2, THGROUP_ATT_RIGHT);

// Grupo motor de traslación izquierda "LEFT"
// Este grupo lo podían formar los impulsores derechos delantero de proa y trasero de popa
th_group[0] = th_rcs[4];
th_group[1] = th_rcs[14];
CreateThrusterGroup(th_group, 2, THGROUP_ATT_LEFT);

// Grupo motor de traslación arriba "DOWN"
th_group[0] = th_rcs[0];
th_group[1] = th_rcs[5];
th_group[2] = th_rcs[10];
th_group[3] = th_rcs[15];
CreateThrusterGroup(th_group, 4, THGROUP_ATT_DOWN);

// Grupo motor de traslación abajo "UP"
th_group[0] = th_rcs[1];
th_group[1] = th_rcs[6];
th_group[2] = th_rcs[11];
th_group[3] = th_rcs[16];
CreateThrusterGroup(th_group, 4, THGROUP_ATT_UP);

// Grupo motor de traslación adelante "FORWARD"
th_group[0] = th_rcs[3];
th_group[1] = th_rcs[8];
th_group[2] = th_rcs[13];
th_group[3] = th_rcs[18];
CreateThrusterGroup(th_group, 4, THGROUP_ATT_FORWARD);

// Grupo motor de traslación atrás "BACK"
th_group[0] = th_rcs[2];
th_group[1] = th_rcs[7];
th_group[2] = th_rcs[12];
th_group[3] = th_rcs[17];
CreateThrusterGroup(th_group, 4, THGROUP_ATT_BACK);
















}
Code:
const double FUELMASS = 1480;
const double ISP = 5e7;
const double MAXMAINTH = 600;
const double MAXRETROTH = 600;
const double  RCS_THRUST = 10;    // 10kn
const double RCS_ISP = 2900;    // = 2650 + 10%    
const double MASS = 1200;
 
I wouldn't define 4 points for the landing plane because orbiter considers always the first three as a sort of landing gear.

so I would change this:
Code:
static const DWORD ntdvtx_geardown = 4;
static TOUCHDOWNVTX tdvtx_geardown[ntdvtx_geardown] = {
    { _V(-4, -3.2806, -4), xtst, xtda, 500.0, 500.0 },
    { _V(4, -3.2806, -4), xtst, xtda, 500.0, 500.0 },
    { _V(4, -3.2806, 4), xtst, xtda, 500.0, 500.0 },
    { _V(-4, -3.2806, 4), xtst, xtda, 500.0 }
};

in something like:
Code:
static const DWORD ntdvtx_geardown = 3;
static TOUCHDOWNVTX tdvtx_geardown[ntdvtx_geardown] = {
    { _V(-4, -3.2806, -4), xtst, xtda, 500.0, 500.0 },
    { _V(4, -3.2806, -4), xtst, xtda, 500.0, 500.0 },
    { _V(0, -3.2806, 4), xtst, xtda, 500.0, 500.0 },
};

and another point is: do you take off from a perfectly flat and levelled terrain?

And lastly: the center is always 0,0,0 by definition, unless you don't change it with the functions mentioned by kuddel
 
OK. I will change the landing points.

So taking off from the landing spot of the rover/lander

So maybe I need to test it from space and see?

All I was doing was applying hover. Would I apply Level and stop rotation?

Also on the Longmarch4 launch not sure about the date and time.
 
Last edited:
Have you tried offsetting the hover position-vector a little "down" (-Z)?
Code:
    th_hover[0] = CreateThruster(_V(0, [COLOR="Red"][B]-2[/B][/COLOR], 0), _V(0, 1, 0), 10000, ph_main, RCS_ISP);
I doubt that it changes anything, but now the force direction (thruster-pos - CoG) might be better defined/calculated...
Give it a try

---------- Post added at 16:44 ---------- Previous post was at 15:44 ----------

I bet your touchdown points are the issue here.
Am I right that, when you apply hover in freefall (space), no torque will be generated?!
But when you try to start from ground (moon) the slightest wiggle in thrust causes your springs to apply forces (thus torque).

P.S.: to see the forces, see Visual Helpers - Forces
 
Tried to test out the launch scene, ended up with a CTD, the Queqiao ends up invisible. and the Longjiangs have no antenna deployment animation
 
Ok Can you post the log. Might have missed a mesh.

I am going to redo the LongMarch 3b also
 
**** Orbiter.log
000000.000: Build Aug 28 2016 [v.160828]
000000.000: Timer precision: 6.93366e-007 sec
000000.000: Found 0 joystick(s)
000000.000: Devices enumerated: 6
000000.000: Devices accepted: 5
000000.000: [ ] RGB Emulation (SW)
000000.000: [ ] Direct3D HAL (HW)
000000.000: [x] Direct3D T&L HAL (HW)
000000.000: [ ] Direct3D HAL (AMD Radeon HD 7310 Graphics) (HW)
000000.000: [x] Direct3D T&L HAL (AMD Radeon HD 7310 Graphics) (HW)
000000.000: Module AtlantisConfig.dll .... [Build 160828, API 160828]
000000.000: Module AtmConfig.dll ......... [Build 160828, API 160828]
000000.000: Module DGConfigurator.dll .... [Build 160828, API 160828]
000000.000: Module Meshdebug.dll ......... [Build 160828, API 160828]
000000.000: Module TrackIR.dll ........... [Build 160828, API 160828]
000000.000: TrackIR module not found.
000000.000: Module LuaMFD.dll ............ [Build 160828, API 160828]
000000.000: Module CustomMFD.dll ......... [Build 160828, API 160828]
000000.000: Module transx.dll ............ [Build 160216, API 160214]
000000.000: Module LuaConsole.dll ........ [Build 160828, API 160828]
000000.000: Module ScriptMFD.dll ......... [Build 160828, API 160828]
000000.000: Module ExtMFD.dll ............ [Build 160828, API 160828]
000000.000: Module FlightData.dll ........ [Build 160828, API 160828]
000000.000: Module Framerate.dll ......... [Build 160828, API 160828]
000000.000: Module Rcontrol.dll .......... [Build 160828, API 160828]
000000.000: Module ScnEditor.dll ......... [Build 160828, API 160828]
000000.000: Module Multistage2015_MFD.dll [Build 170626, API 160828]
000000.000:
000000.000: **** Creating simulation session
000000.000: DirectDraw interface OK
000000.000: Direct3D interface OK
000000.000: Graphics: Viewport: Window 1594 x 871 x 32
000000.000: Graphics: Hardware T&L capability: Yes
000000.000: Graphics: Z-buffer depth: 32 bit
000000.000: Graphics: Active lights supported: 8
000000.000: Loading 15382 records from star database
000000.000: ---------------------------------------------------------------
000000.000: >>> ERROR: DDraw error DDERR_BLTFASTCANTCLIP
000000.000: >>> [OrbiterGraphics::clbkBlt | .\OGraphics.cpp | 1633]
000000.000: ---------------------------------------------------------------
000000.000: Module Sun.dll ............... [Build 160828, API 160828]
VSOP87(E) Sun: Precision 1e-006, Terms 554/6634
000000.000: Module Mercury.dll ........... [Build 160828, API 160828]
VSOP87(B) Mercury: Precision 1e-005, Terms 167/7123
000000.000: Module Venus.dll ............. [Build 160828, API 160828]
000000.000: Module VenusAtm2006.dll ...... [Build 160828, API 160828]
VSOP87(B) Venus: Precision 1e-005, Terms 79/1710
000000.000: Module Earth.dll ............. [Build 160828, API 160828]
000000.000: Module EarthAtmJ71G.dll ...... [Build 160828, API 160828]
VSOP87(B) Earth: Precision 1e-008, Terms 2564/2564
000000.000: Module Moon.dll .............. [Build 160828, API 160828]
ELP82: Precision 1e-005, Terms 116/829
000000.000: Module Mars.dll .............. [Build 160828, API 160828]
000000.000: Module MarsAtm2006.dll ....... [Build 160828, API 160828]
VSOP87(B) Mars: Precision 1e-005, Terms 405/6400
000000.000: Module Phobos.dll ............ [Build ******, API 060425]
000000.000: Module Deimos.dll ............ [Build ******, API 060425]
000000.000: Module Galsat.dll ............ [Build 160828, API 160828]
000000.000: Module Jupiter.dll ........... [Build 160828, API 160828]
VSOP87(B) Jupiter: Precision 1e-006, Terms 1624/3625
000000.000: Module Io.dll ................ [Build 160828, API 160828]
000000.000: Module Europa.dll ............ [Build 160828, API 160828]
000000.000: Module Ganymede.dll .......... [Build 160828, API 160828]
000000.000: Module Callisto.dll .......... [Build 160828, API 160828]
000000.000: Module Satsat.dll ............ [Build 160828, API 160828]
000000.000: Module Saturn.dll ............ [Build 160828, API 160828]
VSOP87(B) Saturn: Precision 1e-006, Terms 2904/6365
000000.000: Module Mimas.dll ............. [Build 160828, API 160828]
SATSAT Mimas: Terms 113
000000.000: Module Enceladus.dll ......... [Build 160828, API 160828]
SATSAT Enceladus: Terms 33
000000.000: Module Tethys.dll ............ [Build 160828, API 160828]
SATSAT Tethys: Terms 101
000000.000: Module Dione.dll ............. [Build 160828, API 160828]
SATSAT Dione: Terms 59
000000.000: Module Rhea.dll .............. [Build 160828, API 160828]
SATSAT Rhea: Terms 68
000000.000: Module Titan.dll ............. [Build 160828, API 160828]
SATSAT Titan: Terms 100
000000.000: Module Iapetus.dll ........... [Build 160828, API 160828]
SATSAT Iapetus: Terms 605
000000.000: Module Uranus.dll ............ [Build 160828, API 160828]
VSOP87(B) Uranus: Precision 1e-006, Terms 1827/5269
000000.000: Module Miranda.dll ........... [Build ******, API 060425]
000000.000: Module Ariel.dll ............. [Build ******, API 060425]
000000.000: Module Umbriel.dll ........... [Build ******, API 060425]
000000.000: Module Titania.dll ........... [Build ******, API 060425]
000000.000: Module Oberon.dll ............ [Build ******, API 060425]
000000.000: Module Neptune.dll ........... [Build 160828, API 160828]
VSOP87(B) Neptune: Precision 1e-006, Terms 391/2024
000000.000: Finished initialising world
000000.000: Module Multistage2015.dll .... [Build 170626, API 160828]
000000.000: Multistage Version: 170506
000000.000: Load State Started
000000.000: LM4C: Guidance File present: Config\Multistage2015\Guidance\LM3B_guidance.txt
000000.000: LM4C: Orbit Call Found! Targets: Apogee:315000.0 Perigee:195000.0 Inclination:0.0 Mode:1.0 GT initial Pitch: 0.0 Abside:195000.0
000000.000: LM4C: Config File: C:\Users\jeremy\Documents\Orbiter2016\Config\Multistage2015\LM4D.ini
000000.000: LM4C: Number of Interstages in the ini file: 1
000000.000: LM4C: Number of Interstages in the ini file: 1
000000.000: LM4C: Number of stages in the ini file: 3
000000.000: LM4C: Number of boosters group in the ini file: 0
000000.000: LM4C: Number of Payloads in the ini file: 3
000000.000: LM4C: This Rocket Has Fairing
000000.000: LM4C: Thrust in Real Position
000000.000: LM4C: Texture n.1 Loaded Exhaust_atsme
000000.000: LM4C: Stage n. 3 Tank Added: 18193.000 kg
000000.000: LM4C: Stage n. 2 Tank Added: 49608.000 kg
000000.000: LM4C: Stage n. 1 Tank Added: 182000.000 kg
000000.000: LM4C: Stage n.1 Engine Exhaust Stream Added: contrail to engine n.1
000000.000: LM4C: Stage n.1 Engine Exhaust Stream Added: to engine n.1
000000.000: LM4C: Stage n. 1 Engines Exhaust Added--> number of engines: 4 , diameter: 0.700, position x: 0.000 y: 1.120 z: -22.293
000000.000: LM4C: Stage n.1 Engine Exhaust Stream Added: contrail to engine n.2
000000.000: LM4C: Stage n.1 Engine Exhaust Stream Added: to engine n.2
000000.000: LM4C: Stage n. 1 Engines Exhaust Added--> number of engines: 4 , diameter: 0.700, position x: 1.120 y: 0.000 z: -22.293
000000.000: LM4C: Stage n.1 Engine Exhaust Stream Added: contrail to engine n.3
000000.000: LM4C: Stage n.1 Engine Exhaust Stream Added: to engine n.3
000000.000: LM4C: Stage n. 1 Engines Exhaust Added--> number of engines: 4 , diameter: 0.700, position x: 0.000 y: -1.120 z: -22.293
000000.000: LM4C: Stage n.1 Engine Exhaust Stream Added: contrail to engine n.4
000000.000: LM4C: Stage n.1 Engine Exhaust Stream Added: to engine n.4
000000.000: LM4C: Stage n. 1 Engines Exhaust Added--> number of engines: 4 , diameter: 0.700, position x: -1.120 y: 0.000 z: -22.293
000000.000: LM4C: Stage n.1 Mesh Preloaded: LM4C\cz-4cstage1
000000.000: LM4C: Stage n.1 Mesh Added Mesh: LM4C\cz-4cstage1 @ x:0.000 y:0.000 z:0.000
000000.000: LM4C: Stage n.2 Mesh Preloaded: LM4C\cz-4cstage2
000000.000: LM4C: Stage n.2 Mesh Added Mesh: LM4C\cz-4cstage2 @ x:0.000 y:0.000 z:0.000
--------------------------- WARNING: --------------------------
>>> Texture not found: cz-4cstage2.dds
Skipping.
>>> [TextureManager::AcquireTexture | .\Texture.cpp | 1040]
---------------------------------------------------------------
000000.000: LM4C: Interstage Mesh Preloaded for Stage 2
000000.000: LM4C: Interstage Mesh Added: LM4C\cz-4cinterstage12 @ x:0.000 y:0.000 z:0.000
000000.000: LM4C: Stage n.3 Mesh Preloaded: LM4C\cz-4cstage3
000000.000: LM4C: Stage n.3 Mesh Added Mesh: LM4C\cz-4cstage3 @ x:0.000 y:0.000 z:0.000
000000.000: LM4C: Interstage Mesh Preloaded for Stage 3
000000.000: LM4C: Interstage Mesh Added: LM4C\cz-4cinterstage23 @ x:0.000 y:0.000 z:0.000
000000.000: LM4C: Fairing Mesh Preloaded: LM4C\cz-4fairing1_1
000000.000: LM4C: Fairing Mesh Added Mesh: LM4C\cz-4fairing1_1 @ x:0.000 y:0.000 z:0.000
000000.000: LM4C: Fairing Mesh Preloaded: LM4C\cz-4fairing1_2
000000.000: LM4C: Fairing Mesh Added Mesh: LM4C\cz-4fairing1_2 @ x:-0.000 y:0.000 z:0.000
000000.000: Load State Terminated
000000.000: Module JSLC_pad.dll .......... [Build ******, API 060425]
000000.000: Module EmptyModule.dll ....... [Build 170626, API 160828]
============================ ERROR: ===========================
Could not load vessel module: QUE1
[Vessel::LoadModule | .\Vessel.cpp | 5747]
===============================================================
000000.000: Module Spacecraft4.dll ....... [Build 151223, API 100830]
000000.000: Finished initialising status
000000.000: Finished initialising camera
000000.000: Finished setting up render state
000000.000: Post Creation Started
000000.000: LM4C: Gravity Turn Initial Pitch by user: 0.000 Calculated:89.000
000000.000: RESET PEG
000000.000: LM4C: Planet Reference Pressure = 101325.0 Pa Atmosphere Altitude Limit:2500.0 km
000000.000: Post Creation Terminated
000000.000: Finished initialising panels
============================ ERROR: ===========================
Mesh not found: .\Meshes\.msh
[LoadMesh | .\Mesh.cpp | 1269]
===============================================================
============================ ERROR: ===========================
Mesh not found: .\Meshes\.msh
[LoadMesh | .\Mesh.cpp | 1269]
===============================================================
000004.653: Detached from Launchpad
000004.653: LaunchPad Deleted from Scenery
000105.903: LM4C: Fairing jettisoned: name LM4C\cz-4fairing1_1 @101.042
000105.903: LM4C: Fairing jettisoned: name LM4C\cz-4fairing1_2 @101.042
000149.034: LM4C: Stage n.1 jettisoned name: LM4C\cz-4cstage1 @144.173
000149.034: LM4C: Stage n.2 Engine Exhaust Stream Added: to engine n.1
000149.034: LM4C: Stage n.2 Engine Exhaust Stream Added: to engine n.1
000149.034: LM4C: Stage n. 2 Engines Exhaust Added--> number of engines: 1 , diameter: 2.700, position x: 0.000 y: 0.000 z: 1.161
000149.150: LM4C Stage n: 2 ignited @144.3
--------------------------- WARNING: --------------------------
>>> Texture not found: cz-4cstage2.dds
Skipping.
>>> [TextureManager::AcquireTexture | .\Texture.cpp | 1040]
---------------------------------------------------------------
000153.111: LM4C: Interstage of stage 2 jettisoned name: LM4C\cz-4cinterstage12 @148.250
000155.773: RESET PEG
000327.136: LM4C: Stage n.2 jettisoned name: LM4C\cz-4cstage2 @322.276
000327.136: LM4C: Stage n.3 Engine Exhaust Stream Added: to engine n.1
000327.136: LM4C: Stage n.3 Engine Exhaust Stream Added: to engine n.1
000327.136: LM4C: Stage n. 3 Engines Exhaust Added--> number of engines: 2 , diameter: 0.500, position x: 0.500 y: 0.000 z: 9.340
000327.136: LM4C: Stage n.3 Engine Exhaust Stream Added: to engine n.2
000327.136: LM4C: Stage n.3 Engine Exhaust Stream Added: to engine n.2
000327.136: LM4C: Stage n. 3 Engines Exhaust Added--> number of engines: 2 , diameter: 0.500, position x: -0.500 y: 0.000 z: 9.340
000327.194: LM4C Stage n: 3 ignited @322.3
000331.164: LM4C: Interstage of stage 3 jettisoned name: LM4C\cz-4cinterstage23 @326.303
000433.617: RESET PEG
000444.976: **** Closing simulation session
 
Oh:
============================ ERROR: ===========================
Could not load vessel module: QUE1
[Vessel::LoadModule | .\Vessel.cpp | 5747]
================================================== =============

I ll fix that

---------- Post added at 04:42 PM ---------- Previous post was at 03:27 PM ----------

added missing module:
https://drive.google.com/open?id=1CiFaJYUGIsMZQYpZeampPnGii2WFvgbK
 
============================ ERROR: ===========================
Mesh not found: .\Meshes\.msh
[LoadMesh | .\Mesh.cpp | 1269]
===============================================================
============================ ERROR: ===========================
Could not load vessel module: QUE1
[Vessel::LoadModule | .\Vessel.cpp | 5747]
===============================================================
============================ ERROR: ===========================
Mesh not found: .\Meshes\.msh
[LoadMesh | .\Mesh.cpp | 1269]
===============================================================
000023.225: **** Closing simulation session
 
Odd. as the zip has the que1.dll the other I think are because the long are sc4

So on the lander. I did some testing.

I redid the landing points also:
Code:
static const DWORD ntdvtx_geardown = 3;
static TOUCHDOWNVTX tdvtx_geardown[ntdvtx_geardown] = {
	{ _V(-4, -3.2806, -4), xtst, xtda, 500.0, 500.0 },
	{ _V(4, -3.2806, -4), xtst, xtda, 500.0, 500.0 },
	{ _V(0, -3.2806, 4), xtst, xtda, 500.0, 500.0 },
};


I remove the hover and use rcs to lift up and it was good. Then added back the hover at 0,0,0 and no rotation in space. But when I placed in back on the surface it spun around and landed upside down
GhrtURl.jpg

scn:
LANDER:CHANGE4LANDER
STATUS Orbiting Moon
RPOS 249165.387 1163049.493 1263712.463
RVEL -3.3095 -0.2057 0.2299
AROT -44.266 7.263 9.011
VROT 4.9301 9.6545 0.8523
RCSMODE 2
AFCMODE 7
PRPLEVEL 0:0.848625
THLEVEL 0:0.026648
NAVFREQ 0 0
XPDR 0
RAMP1 1 1.0000
RAMP2 1 0.9351
RAMP3 1 1.0000
PANEL 0 0.0000
GEAR 0 0.0000
ANTENNA 0 0.0000
END

I then started at the rover and applied hover spun around and ended in the moon
3o7Wtq6.jpg

scn:
LANDER:CHANGE4LANDER
STATUS Orbiting Moon
RPOS 421430.418 -1238903.533 -1134720.364
RVEL 3.0590 0.0851 1.0406
AROT -39.923 -9.862 -14.406
VROT -0.0019 -0.3117 0.0112
AFCMODE 7
PRPLEVEL 0:0.976229
NAVFREQ 0 0
XPDR 0
RAMP1 1 1.0000
RAMP2 1 0.9351
RAMP3 1 1.0000
PANEL 0 0.0000
GEAR 0 0.0000
ANTENNA 0 0.0000
END
 
This happens usually when the touchdown points are not defined in the right order. try to switch them:
Code:
static const DWORD ntdvtx_geardown = 3;
static TOUCHDOWNVTX tdvtx_geardown[ntdvtx_geardown] = {
	{ _V(4, -3.2806, -4), xtst, xtda, 500.0, 500.0 },
	{ _V(0, -3.2806, 4), xtst, xtda, 500.0, 500.0 },
        { _V(-4, -3.2806, -4), xtst, xtda, 500.0, 500.0 }
};
or all the other combinations til you get what you need
 
Did that still upside down
Code:
; N = number of points, 
; POINT_X = x y z stiffness damping mu mu_lng 
;see orbiter api guide for further details
N = 4
POINT_1 = -10.0 -3.2806 -10.0
POINT_2 =  10.0 -3.2806 -10.0
POINT_3 =  10.0 -3.2806  10.0
POINT_4 = -10.0 -3.2806  10.0

This is what we used using the TD script

---------- Post added 01-30-19 at 05:58 AM ---------- Previous post was 01-29-19 at 05:06 PM ----------

So I am using this:
Code:
static const DWORD ntdvtx_geardown = 3;
static TOUCHDOWNVTX tdvtx_geardown[ntdvtx_geardown] = {
	{ _V(4, -3.2806, -4), xtst, xtda, 500.0, 500.0 },
	{ _V(0, -3.2806, 4), xtst, xtda, 500.0, 500.0 },
	{ _V(-4, -3.2806, -4), xtst, xtda, 500.0, 500.0 }
};

I used RCS to lift off and once I press Level and stop rotation I could use hover for steady lift.

But I then lower the lander to the ground and landed upright but would not be still. all thrust off.
 
Back
Top