Orbiter-Forum  

Go Back   Orbiter-Forum > Orbiter Addons > Addon Requests
Register Blogs Orbinauts List Social Groups FAQ Projects Mark Forums Read

Addon Requests If you have a request for a new addon or want to know where to find a specific addon, ask it here!

Reply
 
Thread Tools
Old 02-04-2019, 03:21 AM   #151
Jeremyxxx
Orbinaut
Default

the cfg as follows:

ClassName = Queqiao
Module = Queqiao
Jeremyxxx is offline   Reply With Quote
Old 02-04-2019, 11:53 AM   #152
gattispilot
Addon Developer
 
gattispilot's Avatar
Default

So lets try this.

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

---------- 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);
gattispilot is online now   Reply With Quote
Old 02-06-2019, 12:43 AM   #153
Jeremyxxx
Orbinaut
Default

Tried again, but still the same as multiple attempts on my computer!

============================ ERROR: ===========================
Could not load vessel module: Queqiao
[Vessel::LoadModule | .\Vessel.cpp | 5747]
================================================== =============
Jeremyxxx is offline   Reply With Quote
Old 02-06-2019, 02:18 AM   #154
gattispilot
Addon Developer
 
gattispilot's Avatar
Default

Not sure why the module will not load. The cfg and dll is present.
gattispilot is online now   Reply With Quote
Old 02-06-2019, 09:27 AM   #155
4throck
Enthusiast !
 
4throck's Avatar
Default

Queqiao works for me, no problems to report.
4throck is offline   Reply With Quote
Thanked by:
Old 02-06-2019, 04:10 PM   #156
Jeremyxxx
Orbinaut
Default

It might of been due to my computer not having the harddrive or the D3D9 that would make the Queqiao work.
Jeremyxxx is offline   Reply With Quote
Old 02-06-2019, 04:31 PM   #157
gattispilot
Addon Developer
 
gattispilot's Avatar
Default

Quote:
Originally Posted by Jeremyxxx View Post
 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 is online now   Reply With Quote
Old 02-07-2019, 12:51 AM   #158
Jeremyxxx
Orbinaut
Default

Multiple times on the normal graphic, but the same error occurs every time.
Jeremyxxx is offline   Reply With Quote
Old 02-07-2019, 11:47 AM   #159
gattispilot
Addon Developer
 
gattispilot's Avatar
Default

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)" ([email protected]@@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;
		}
	}
gattispilot is online now   Reply With Quote
Old 02-08-2019, 07:31 AM   #160
Gargantua2024
Orbinaut
Default

The Long March rocket fleet is getting bigger and bigger in Orbiter! Here's the image of the complete fleet I've found on http://www.historicspacecraft.com
Attached Thumbnails
Long_March_Rockets_RK2017.png  
Gargantua2024 is offline   Reply With Quote
Thanked by:
Old 02-08-2019, 04:32 PM   #161
BrianJ
thing
Default

Quote:
Originally Posted by Jeremyxxx View Post
 Tried again, but still the same as multiple attempts on my computer!

============================ ERROR: ===========================
Could not load vessel module: Queqiao
[Vessel::LoadModule | .\Vessel.cpp | 5747]
================================================== =============
Last time I saw that error, it was because the .dll had been compiled in Debug mode, not Release mode. Might be worth a look.
BrianJ is offline   Reply With Quote
Thanked by:
Old 02-08-2019, 09:36 PM   #162
gattispilot
Addon Developer
 
gattispilot's Avatar
Default

So I recomplied. But not sure that was an issue
:https://drive.google.com/open?id=19m...35vtslSYM-rZKh

got a lander working. Still trying to get rcs exhaust right
gattispilot is online now   Reply With Quote
Old 02-10-2019, 02:59 PM   #163
gattispilot
Addon Developer
 
gattispilot's Avatar
Default

LEts try this.

It has the new lander and the Relay satellite in place.
https://drive.google.com/open?id=1ZO...BfXclAEMLXh3Z1
gattispilot is online now   Reply With Quote
Old 02-11-2019, 11:10 PM   #164
Jeremyxxx
Orbinaut
Default

Tried the scene again, but still invisible once again due to the Debug mode.
Jeremyxxx is offline   Reply With Quote
Old 02-12-2019, 02:04 AM   #165
gattispilot
Addon Developer
 
gattispilot's Avatar
Default

But it isn't in debug version. I wonder if anyone else is having this issue? The other I notice sometimes is the lander will fly off and spin

Last edited by gattispilot; 02-12-2019 at 02:20 AM.
gattispilot is online now   Reply With Quote
Reply

  Orbiter-Forum > Orbiter Addons > Addon Requests


Thread Tools

Posting Rules
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Jump


All times are GMT. The time now is 01:29 AM.

Quick Links Need Help?


About Us | Rules & Guidelines | TOS Policy | Privacy Policy

Orbiter-Forum is hosted at Orbithangar.com
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.
Copyright ©2007 - 2017, Orbiter-Forum.com. All rights reserved.