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

Jeremyxxx

Active member
Joined
Jan 25, 2013
Messages
296
Reaction score
88
Points
43
Location
Dawson Springs
Here we go again!

============================ ERROR: ===========================
Mesh not found: .\Meshes\.msh
[LoadMesh | .\Mesh.cpp | 1269]
===============================================================
============================ ERROR: ===========================
Could not load vessel module: Queqiao
[Vessel::LoadModule | .\Vessel.cpp | 5747]
===============================================================
============================ ERROR: ===========================
Mesh not found: .\Meshes\.msh
[LoadMesh | .\Mesh.cpp | 1269]
===============================================================
000033.509: **** Closing simulation session
 

gattispilot

Addon Developer
Addon Developer
Joined
Oct 17, 2007
Messages
8,707
Reaction score
2,683
Points
203
Location
Dallas, TX
Weird. So is the module in the module folder and cfg present
 

gattispilot

Addon Developer
Addon Developer
Joined
Oct 17, 2007
Messages
8,707
Reaction score
2,683
Points
203
Location
Dallas, TX
If it is there I wonder why it will not load?

Can you open a scn and try to load the Queqiao in and see what happens?

So on the lander:
I change the touchdown points to this:
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 = 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(4, -3.2806, 4), xtst, xtda, 500.0, 500.0 }
};

But now when I lift off using rcs I get that tilt/rotation.
 
Last edited:

Jeremyxxx

Active member
Joined
Jan 25, 2013
Messages
296
Reaction score
88
Points
43
Location
Dawson Springs
============================ ERROR: ===========================
Could not load vessel module: Queqiao
[Vessel::LoadModule | .\Vessel.cpp | 5747]
===============================================================
 

gattispilot

Addon Developer
Addon Developer
Joined
Oct 17, 2007
Messages
8,707
Reaction score
2,683
Points
203
Location
Dallas, TX
That is weird since the cfg and dll are there?

try this scn:
Code:
BEGIN_DESC
Current scenario state


Contains the latest simulation state.
END_DESC

BEGIN_ENVIRONMENT
  System Sol
  Date MJD 58489.7398161821
  Help CurrentState_img
END_ENVIRONMENT

BEGIN_FOCUS
  Ship Queqiao
END_FOCUS

BEGIN_CAMERA
  TARGET Queqiao
  MODE Extern
  POS 3.647426 51.852680 -34.273494
  TRACKMODE TargetRelative
  FOV 58.27
END_CAMERA

BEGIN_HUD
  TYPE Surface
END_HUD

BEGIN_SHIPS
ISS:ProjectAlpha_ISS
  STATUS Orbiting Earth
  RPOS -6524891.159 1380887.538 902059.354
  RVEL 1224.5876 7246.4040 -2292.7146
  AROT 174.165 -14.481 -27.111
  VROT 0.0890 -0.0295 -0.0520
  AFCMODE 7
  IDS 0:588 100 1:586 100 2:584 100 3:582 100 4:580 100
  NAVFREQ 0 0
  XPDR 466
END
Queqiao:Queqiao
  SOLP 0 0.2500 0 1.0000 
  ANTENNA 0 0.0000
  PANEL 0 0.0000
  STATUS Orbiting Earth
  RPOS 5665548.461 -283.592 4121915.301
  RVEL -4442.3909 -1.4002 6096.1141
  AROT 0.000 0.734 0.000
  VROT 0.0000 0.0082 0.0000
  AFCMODE 7
  NAVFREQ 0 0
  XPDR 0
END
END_SHIPS
 

Jeremyxxx

Active member
Joined
Jan 25, 2013
Messages
296
Reaction score
88
Points
43
Location
Dawson Springs
Did test out the scenario.... Still invisible!

============================ ERROR: ===========================
Could not load vessel module: Queqiao
[Vessel::LoadModule | .\Vessel.cpp | 5747]
===============================================================
 

gattispilot

Addon Developer
Addon Developer
Joined
Oct 17, 2007
Messages
8,707
Reaction score
2,683
Points
203
Location
Dallas, TX
And module and cfg are there, right? Not sure what is going on. Can you post the cfg?
 

gattispilot

Addon Developer
Addon Developer
Joined
Oct 17, 2007
Messages
8,707
Reaction score
2,683
Points
203
Location
Dallas, TX
So lets try this.

It is just the satellite,cfg ,dll,mesh and scn:
https://drive.google.com/open?id=1UDefxcczbzCw1vzhwbF5hzQOPOotXxEl

---------- Post added at 05:53 AM ---------- Previous post was at 05:02 AM ----------

On the lander. At a lost.

HAve tried different landing points and now when I lift up using rcs it spins badly.
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 = 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 }
};

//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

Code:
ph_main = CreatePropellantResource(FUELMASS);

th_hover[0] = CreateThruster(_V(6, 0, 10), _V(0, 1, 0), 10000/4, ph_main, RCS_ISP);
th_hover[1] = CreateThruster(_V(-6, 0, 10), _V(0, 1, 0), 10000/4, ph_main, RCS_ISP);
th_hover[2] = CreateThruster(_V(6, 0, -10), _V(0, 1, 0), 10000/4, ph_main, RCS_ISP);
th_hover[3] = CreateThruster(_V(-6, 0, -10), _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,4, 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);
 

Jeremyxxx

Active member
Joined
Jan 25, 2013
Messages
296
Reaction score
88
Points
43
Location
Dawson Springs
Tried again, but still the same as multiple attempts on my computer!

============================ ERROR: ===========================
Could not load vessel module: Queqiao
[Vessel::LoadModule | .\Vessel.cpp | 5747]
===============================================================
 

gattispilot

Addon Developer
Addon Developer
Joined
Oct 17, 2007
Messages
8,707
Reaction score
2,683
Points
203
Location
Dallas, TX
Not sure why the module will not load. The cfg and dll is present.
 

Jeremyxxx

Active member
Joined
Jan 25, 2013
Messages
296
Reaction score
88
Points
43
Location
Dawson Springs
It might of been due to my computer not having the harddrive or the D3D9 that would make the Queqiao work.
 

gattispilot

Addon Developer
Addon Developer
Joined
Oct 17, 2007
Messages
8,707
Reaction score
2,683
Points
203
Location
Dallas, TX
It might of been due to my computer not having the harddrive or the D3D9 that would make the Queqiao work.
not sure about that. I haven't tested in d3d9 though. Have you tried regular graphics?
 

gattispilot

Addon Developer
Addon Developer
Joined
Oct 17, 2007
Messages
8,707
Reaction score
2,683
Points
203
Location
Dallas, TX
I have no clue.

So on the lander I am trying to load the SpiderLEm example to get to work. Still got issues;(



not sure how to fix them?
Code:
Error	8	error LNK2001: unresolved external symbol "public: bool __thiscall SpiderLEM::eTimerRunning(void)" (?eTimerRunning@SpiderLEM@@QAE_NXZ)	C:\Orbiter2016\Orbitersdk\samples\CHANGE4LANDERnew\SpiderLEM.obj	CHANGE4LANDER
h.
Code:
	bool	eTimerRunning();
Code:
if (eTimerRunning())
	{
		switch (eTimeMode) // Event Clock
		{
		case STOPPED:
			eTime = eTime + 0;
			break;
		case COUNTUP:
			eTime = eTime + simdt;
			break;
		case COUNTDOWN:
			eTime = eTime - simdt;
			break;
		}
	}
 
Top