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-03-2019, 12:11 AM   #91
gattispilot
Addon Developer
 
gattispilot's Avatar
Default

The wheels are ground vehicle. So they like the rover are separate vessels. If i make the rover as part of the lander mesh then i maay rotate wheels
gattispilot is offline   Reply With Quote
Old 01-03-2019, 10:23 AM   #92
4throck
Enthusiast !
 
4throck's Avatar
Default

I suggest focusing on most crucial feature.
For deployment, that means instant spawning of the rover on the ground as a new vessel (and making it disappear from the lander ).
No animation, just make it happen on key press.

Worry about this first, and how to handle it in scenarios and saves.
Then animations will be simpler, because you already have code to work with.

Otherwise you will keep going in circles and never have it working.

Last edited by 4throck; 01-03-2019 at 10:26 AM.
4throck is offline   Reply With Quote
Thanked by:
Old 01-03-2019, 11:27 AM   #93
gattispilot
Addon Developer
 
gattispilot's Avatar
Default

Well So I tried to do a robotic arm that way I can more easily change the attachment. But all I have is translate and the attachment rotation changes.

Code:
//new
	static UINT ROVERRAMPGrp[1] = { 15 };//LEFTARM0
	rms_anim[0] = new MGROUP_TRANSLATE(0, ROVERRAMPGrp	, 1,_V(0, 0, -1.6) ); // TRANSLATE
	anim_ROVERRAMP = CreateAnimation(0.0);
	ROVERparent = AddAnimationComponent(anim_ROVERRAMP, 0, 1, rms_anim[0]);

	rms_anim[1] = new MGROUP_ROTATE(LOCALVERTEXLIST, MAKEGROUPARRAY(arm1_tip), 3,_V(0, -2.130815, -.671), _V(0, 0, 1), (float)(0 * RAD)); // -447 .. +447
	anim_ROVERRAMP1 = CreateAnimation(0.0);
	hAC_arm = AddAnimationComponent(anim_ROVERRAMP1, 0, 1, rms_anim[1], ROVERparent);
Code:
	//new ramp
	xp1 = arm1_tip[1] - arm1_tip[0]; normalise(xp1);
	xr1 = arm1_tip[2] - arm1_tip[0]; normalise(xr1);
	//SetAttachmentParams(LR2, arm1_tip[0], xp1, xr1);
	if (rampstart == 1){
		double dc = simdt * LIFT_SPEED;
		ROVERRAMP_proc = (ROVERRAMP_proc + dc);
		SetAnimation(anim_ROVERRAMP, ROVERRAMP_proc);
		sprintf(oapiDebugString(), "anim %2.2f ", ROVERRAMP_proc);
		SetAttachmentParams(LR2, arm1_tip[0], xp1, xr1);
	}
Well what I can do just to get on. Is deploy the ramp. press another key and the now the rover is at the end.


Any info on thrust amount?
gattispilot is offline   Reply With Quote
Old 01-03-2019, 11:53 AM   #94
fwd0502
chinese boy,the heir of dragon
Default

as a chinese,im really proud of our achievements in space flights
fwd0502 is offline   Reply With Quote
Thanked by:
Old 01-03-2019, 12:53 PM   #95
gattispilot
Addon Developer
 
gattispilot's Avatar
Default

So I found this:
https://earth.esa.int/web/eoportal/s...ions/chang-e-3

So it looked like rcs is 10 or 150. The model has rcs nozzle that go x,z and then some on the bottom.

The main thrust varies also?
gattispilot is offline   Reply With Quote
Old 01-03-2019, 01:08 PM   #96
4throck
Enthusiast !
 
4throck's Avatar
Default

There are 3 thruster systems it seems:


The engine was baselined to provide 1,500 - 7,500 N of thrust , which is sufficient to lift/land the vehicle in the 1/6 G environment of the moon. The engine can be throttled with a very high accuracy of 7.5 N and features and active cooling system.

The lander features eight thruster modules – each consisting of two 150 N and one 10 N thrusters. The remaining four 10 N thrusters are installed separately, one on each of the smaller side panels.
4throck is offline   Reply With Quote
Old 01-03-2019, 04:18 PM   #97
gattispilot
Addon Developer
 
gattispilot's Avatar
Default

so the main thrust should be
Code:
th_main[0] = CreateThruster(_V(0, 0, 0), _V(0, 1, 0), 7500, ph_main, RCS_ISP);
maybe add if thrustlevel =0 set thrust level to 1500

Eight of the 150 N thrusters are oriented in an identical orientation for ΔV burns, using all or a a number of those engines. These eight 150 N thrusters are likely used for smaller trajectory correction maneuvers during the Earth-Moon transfer and small orbital adjustments, and possibly during LOI (Lunar Orbit Insertion) and landing.

The 10 N thrusters are used for attitude control and reorientation maneuvers. A combination of all ADCS (Attitude Determination and Control Subsystem) thrusters is used for attitude control during main engine burns. Using the relatively high-thrust 150 N engines for attitude control provides quick response capability which is required for fast attitude adjustments during the landing phase (Ref. 2).

but what ISP?

---------- Post added at 10:18 AM ---------- Previous post was at 08:14 AM ----------

So I added this:
Code:
if (rampstart == 1){
		//double dc = simdt * LIFT_SPEED;
		//ROVERRAMP_proc = (ROVERRAMP_proc + dc);
		//SetAnimation(anim_ROVERRAMP, ROVERRAMP_proc);
		//sprintf(oapiDebugString(), "anim %2.2f ", ROVERRAMP_proc);
		SetAttachmentParams(LR2, _V(0, -4.5, -5.3), _V(0, 1, 0), _V(0, 0, 1));
		DetachChild(LR2, 0);
	}
So it moves the attachment point to the end of the ramp. but when I detach the rover and wheels are now orbiting the moon?
gattispilot is offline   Reply With Quote
Old 01-03-2019, 05:19 PM   #98
Jeremyxxx
Orbinaut
Default

Chang'e 4 has landed!
Jeremyxxx is online now   Reply With Quote
Old 01-04-2019, 01:06 PM   #99
gattispilot
Addon Developer
 
gattispilot's Avatar
Default

So this is what I so far.
https://drive.google.com/open?id=1wq...xHVkazBXTy4zWt
On the lander keys 1 extend antenna, 2 shields, 3,4,5 extend/rotate ramp. G- gear, J moves rover to ramp, k releases rover.

Really what we need is rcs and main thrust.
And it could be added into the launch scn also.

So it looked like it landed here:
45.47084 South, 177.60563 East

---------- Post added 01-04-19 at 07:06 AM ---------- Previous post was 01-03-19 at 11:33 AM ----------

So adding rcs.
but something seems wrong:
Code:
th_main[0] = CreateThruster(_V(0, 0, 0), _V(0, 1, 0), 10000, ph_main, RCS_ISP);
AddExhaust(th_main[0], 1, 0.3, _V(0, -2.8, 0), _V(0, -1, 0));
thg_main = CreateThrusterGroup(th_main, 1, THGROUP_MAIN);







th_rcs[0] = CreateThruster(_V(6, 0, 10), _V(0, -1, 0), RCS_THRUST, ph_main, RCS_ISP);
Code:
static const int ntdvtx = 3;
static TOUCHDOWNVTX tdvtx[ntdvtx] = {
	{ _V(0, -3.28, 1.5), 26150.8, 18409.6, 3.2, 0.8 },
	{ _V(-2, -3.28, -2.6), 26150.8, 18409.6, 3.2, 0.4 },
	{ _V(2, -3.28, -2.6), 26150.8, 18409.6, 3.2, 0.4 }//,

	SetTouchdownPoints(tdvtx, ntdvtx);
Testing for a landing and I end up under the surface!

She is ready for launch if someone wants to try for launch

Can someone make a scn of where and when it landed.

Last edited by gattispilot; 01-04-2019 at 01:27 PM.
gattispilot is offline   Reply With Quote
Old 01-04-2019, 07:08 PM   #100
Jeremyxxx
Orbinaut
Default

I had to be creative with the steering speed of the Yutu 2 rover by changing its steering speed on the wheels to .1

I'd love to see the Longjiang probes next.
Jeremyxxx is online now   Reply With Quote
Old 01-04-2019, 09:01 PM   #101
gattispilot
Addon Developer
 
gattispilot's Avatar
Default

Well we need a launch and landing scn.

The satellites can be made for as stated before requires a lot of navuagation
gattispilot is offline   Reply With Quote
Old 01-04-2019, 11:19 PM   #102
Jeremyxxx
Orbinaut
Default

and the Queqiao and Longjiangs need the Long March 4C as well.
Jeremyxxx is online now   Reply With Quote
Old 01-05-2019, 10:49 PM   #103
gattispilot
Addon Developer
 
gattispilot's Avatar
Default

Here is the info on the longjiangs:
https://space.skyrocket.de/doc_sdat/dslwp-a.htm

So if I just do this:
Have the dish folded up and press a key or when dettached from 3rd stage then show unfolded mesh


working on the March 4c.
Might just reuse the 3b and repaint remove boosters,....
replace this dll for lander for lander with thrust,rcs. You may need to add fuel in the scn editor.

https://drive.google.com/open?id=18o...ncw9FecdWMvgZ8

---------- Post added at 04:49 PM ---------- Previous post was at 07:00 AM ----------

So looking at the LM4C.
https://en.wikipedia.org/wiki/Long_March_4C
http://www.xinhuanet.com//english/20...34561308_4.htm

So it looks likes the interface between 1st and 2nd is open? Trying to see where the stage separate.

Last edited by gattispilot; 01-05-2019 at 01:03 PM.
gattispilot is offline   Reply With Quote
Old 01-06-2019, 05:40 PM   #104
4throck
Enthusiast !
 
4throck's Avatar
Default

This will put Yuyu 2 on Von Karman



Code:
BEGIN_DESC
Yutu 2
END_DESC

BEGIN_ENVIRONMENT
  System Sol
  Date MJD 58489.7286727116
  Help CurrentState_img
END_ENVIRONMENT

BEGIN_FOCUS
  Ship CHANGE4WHEELS
END_FOCUS

BEGIN_CAMERA
  TARGET CHANGE4WHEELS
  MODE Extern
  POS 3.869257 149.047557 -9.024085
  TRACKMODE TargetRelative
  FOV 58.27
END_CAMERA

BEGIN_HUD
  TYPE Surface
END_HUD

BEGIN_SHIPS
ISS:ProjectAlpha_ISS
  STATUS Orbiting Earth
  RPOS -3907959.291 -5025223.859 2196319.383
  RVEL -6095.9511 4687.9888 -121.4701
  AROT 82.729 26.522 6.242
  VROT 0.0938 -0.0522 0.0073
  AFCMODE 7
  IDS 0:588 100 1:586 100 2:584 100 3:582 100 4:580 100
  NAVFREQ 0 0
  XPDR 466
END
CHANGE4:CHANGE4BODY1
  ARM0 0.5000
  ARM1 0.5000
  ARM2 0.5000
  CAMY 0.5000
  CAMZ 0.5000
  CAMMAST 1.0000
  CAM1 0.5000
  PANEL 0 0.0000
  ANT1 0 0.0000
  STATUS Landed Moon
  POS -80.6758980 28.5227620
  HEADING 0.0
  ALT 1.997
  AROT 46.121 -60.996 17.073
  ATTACHED 0:1,CHANGE4WHEELS
  AFCMODE 7
  NAVFREQ 0 0
END
CHANGE4WHEELS:GV_CHANGE4WHEELSnew
  STATUS Landed Moon
  POS 177.6053431 -45.4711951
  HEADING 0.00
  ALT 0.869
  AROT -1.334 -3.722 -135.351
  AFCMODE 7
  NAVFREQ 0 0
END
END_SHIPS

Turning is still a bit off, if should turn more. But it's looking good, keep it up!

With the latest .dll, the lander becomes invisible
4throck is offline   Reply With Quote
Thanked by:
Old 01-06-2019, 11:42 PM   #105
Jeremyxxx
Orbinaut
Default

Change the steering speed to .1 or .2 and get the results in the .cfg.
Jeremyxxx 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:05 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.