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 01-07-2019, 12:26 PM   #106
gattispilot
Addon Developer
 
gattispilot's Avatar
Default

Odd.
try these:
https://drive.google.com/open?id=1s1...zm6xrgWylcY2b4

it has 3 scenarios. 1 launch and 2 landed.

I found a long march 4 but it is in blender
https://drive.google.com/open?id=1vI...pubfsCkzkU0OTo

So I need to convert into meshes and make the rocket
on the satellite i think this will work.

launching will not be an issue it will be getting it into place.

I am going on vacation so I will be out of the loop for about a week
gattispilot is online now   Reply With Quote
Thanked by:
Old 01-08-2019, 12:05 AM   #107
4throck
Enthusiast !
 
4throck's Avatar
Default

Gave it a quick test and it's fun to fly! Thanks!

Only tested the rocket + lander

Main problems are:
- The current lander vessel orientation doesn't match the main engine. Prograde is switched with normal + . Perhaps it's better to define a hover engine ?
- Landing points are not good and it has brakes ? It tumbles when you try to land.

Nice to have:
- downward facing camera for the landing
- lander deck camera


I've converted the Blender meshes into Orbiter format, will send them to you by mail tomorrow
You will need to reapply textures, for some reason they didn't export.
4throck is offline   Reply With Quote
Old 01-08-2019, 03:08 AM   #108
gattispilot
Addon Developer
 
gattispilot's Avatar
Default

So on the landing gear
Code:
const double totalweight = MASS + FUELMASS ;
const double xtx_target = -0.1;
const double xtst = (-1)*(totalweight*9.80655) / (3 * xtx_target);
const double xtda = 0.9*(2 * sqrt(totalweight*xtst));

static const DWORD ntdvtx_geardown = 4;
static TOUCHDOWNVTX tdvtx_geardown[ntdvtx_geardown] = {
	{ _V(-4, -3.28, -4), xtst, xtda, 30.0, 30 },
	{ _V(4, -3.28, -4), xtst, xtda, 30.0, 30 },
	{ _V(4, -3.28, 4), xtst, xtda, 30.0, 30 },
	{ _V(-4, -3.28, 4), xtst, xtda, 30.0 }
};
and hover engine:
Code:
th_hover[0] = CreateThruster(_V(0, 0, 0), _V(0, 1, 0), 10000, 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);
gattispilot is online now   Reply With Quote
Old 01-15-2019, 05:51 PM   #109
Jeremyxxx
Orbinaut
Default

It has been a week, and I have been waiting patiently for the work on Queqiao and the Longjiangs to be resumed.
Jeremyxxx is offline   Reply With Quote
Old 01-16-2019, 04:38 PM   #110
gattispilot
Addon Developer
 
gattispilot's Avatar
Default

Well I am back. Trying to compile the satelite and have run into an issue:


not sure if my compiler is broke?
gattispilot is online now   Reply With Quote
Old 01-17-2019, 05:38 PM   #111
Jeremyxxx
Orbinaut
Default

The complier may have a CTD.
Jeremyxxx is offline   Reply With Quote
Old 01-17-2019, 05:46 PM   #112
gattispilot
Addon Developer
 
gattispilot's Avatar
Default

Well I got it to work. Need to start on the other sats. Not sure how/where they are attached. Working on launch of the 4c also. And getting the lander set.
gattispilot is online now   Reply With Quote
Old 01-21-2019, 03:19 PM   #113
gattispilot
Addon Developer
 
gattispilot's Avatar
Default




So I can launch the Sat.
I tried to have when detached from the 3rd stage open up but it wouldn't.:
Code:
if (GetAttachmentStatus(Queqiaobottom)){

		SetMeshVisibilityMode(DISHOPEN, MESHVIS_ALWAYS);
		
		SetMeshVisibilityMode(DISHCLOSED, MESHVIS_NEVER);

	}
But the other BIG issue is the lander.
Can't get the landing points to keep it from moving around and then ending upside down.
Code:
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, 0.0, 0 },
	{ _V(4, -3.2806, -4), xtst, xtda, 0.0, 0 },
	{ _V(4, -3.2806, 4), xtst, xtda, 0.0, 0 },
	{ _V(-4, -3.2806, 4), xtst, xtda, 0.0 }
};
Code:
{
	// physical specs
	SetSize (1.5);
	SetEmptyMass(MASS);
	SetCW (0.3, 0.3, 0.6, 0.9);
	SetWingAspect (0.1);
	SetWingEffectiveness (0.1);
	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(20, 30);
Got a mesh for the other sats. I may just cover the body in gold foil and call it a day
gattispilot is online now   Reply With Quote
Old 01-23-2019, 03:09 PM   #114
gattispilot
Addon Developer
 
gattispilot's Avatar
Default

So 4throck and I have been trying to get the lander to land. We may use Fred's add on and make the lander sc4 and use a dll vessel for cameras,....

One Major resaon not to use a dll for me. When I fire the hover engine. The vessel goes up but starts to spin and rotate. Best guess is the COG is off. Not matching the center of the ship.

But not sure how to set it. I have the thruster set at 0,0,0.
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 03:28 PM.

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.6
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
Copyright 2007 - 2017, Orbiter-Forum.com. All rights reserved.