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 09-21-2018, 06:49 PM   #166
Donamy
Beta Tester


Default

Nothing wrong with making it better than the Fleet. The RMS is too limiting in it's present version. IMHO
Donamy is offline   Reply With Quote
Thanked by:
Old 09-21-2018, 10:26 PM   #167
gattispilot
Addon Developer
 
gattispilot's Avatar
Default

Well if I ever get this working then the rms will have more movement.

But after setting both to MT
I get this error:
Not sure how to fix
Code:
Error	9	error LNK2005: "double __cdecl linterp(double,double,double,double,double)" (?linterp@@YANNNNNN@Z) already defined in libUltra.lib(UltraMath.obj)	C:\Orbiter2016\Orbitersdk\samples\SPACESHUTTLE2016RMSSS\* CIL library *(* CIL module *)	SPACESHUTTLE2016RMS2


---------- Post added at 05:26 PM ---------- Previous post was at 02:49 PM ----------

I looked at the SSu and both are set at /MD

So I did that and get 41 errors are are some of them:
Code:
Error	96	error LNK2001: unresolved external symbol _memcpy	C:\Orbiter2016\Orbitersdk\samples\SPACESHUTTLE2016RMSSS\libUltra.lib(UltraMath.obj)	SPACESHUTTLE2016RMS2
Error	72	error LNK2001: unresolved external symbol _atexit	C:\Orbiter2016\Orbitersdk\samples\SPACESHUTTLE2016RMSSS\Atlantis.obj	1	1	SPACESHUTTLE2016RMS2
Error	73	error LNK2001: unresolved external symbol _atexit	C:\Orbiter2016\Orbitersdk\samples\SPACESHUTTLE2016RMSSS\libUltra.lib(UltraMath.obj)	SPACESHUTTLE2016RMS2
Error	74	error LNK2001: unresolved external symbol __purecall	C:\Orbiter2016\Orbitersdk\samples\SPACESHUTTLE2016RMSSS\Atlantis.obj	1	1	SPACESHUTTLE2016RMS2
Error	75	error LNK2001: unresolved external symbol __purecall	C:\Orbiter2016\Orbitersdk\samples\SPACESHUTTLE2016RMSSS\libUltra.lib(UltraMath.obj)	SPACESHUTTLE2016RMS2
Error	95	error LNK2001: unresolved external symbol __libm_sse2_sqrt_precise	C:\Orbiter2016\Orbitersdk\samples\SPACESHUTTLE2016RMSSS\libUltra.lib(UltraMath.obj)	SPACESHUTTLE2016RMS2
Error	94	error LNK2001: unresolved external symbol __libm_sse2_sin_precise	C:\Orbiter2016\Orbitersdk\samples\SPACESHUTTLE2016RMSSS\libUltra.lib(UltraMath.obj)	SPACESHUTTLE2016RMS2
Error 101 error LNK1120: 29 unresolved externals C:\Orbiter2016\Modules\SPACESHUTTLE2016RMS.dll SPACESHUTTLE2016RMS2

Last edited by gattispilot; 09-22-2018 at 12:23 PM.
gattispilot is online now   Reply With Quote
Old 09-24-2018, 10:54 AM   #168
gattispilot
Addon Developer
 
gattispilot's Avatar
Default

So here is the latest shuttle stuff. I will need to add more scns and ships and Vandenberg.

Things I can fix if needed is the rms. Right now it only looks for distance not distance and angle. So I can change that.
Also the store/recall. I haven't been able to get that to work in the SF so not sure how it is suppose to work.

The big thing that I have NO clue how to add is AFC.

May need to tweak the flight pattern?

https://drive.google.com/open?id=1Ug...-LxMc--JqLUUP1

Last edited by gattispilot; 09-25-2018 at 10:26 AM.
gattispilot is online now   Reply With Quote
Old 09-25-2018, 01:13 AM   #169
Donamy
Beta Tester


Default

The store and recall are the angle of the Arm joints. Each joint has a range of motion, and you are able to store them, then recall them at a later time. You can move the arm to a certain position, just by pressing the recall. The SRMS has six joints. The SSRMS has seven.
Donamy is offline   Reply With Quote
Old 09-27-2018, 12:27 PM   #170
gattispilot
Addon Developer
 
gattispilot's Avatar
Default

So I am trying to do some work on the landing. SF had the chute deploy automatically. Not sure when it would deploy? Which the wheels touched?

So if it is when wheel touch is there a function that if landed then do this or check Alt if Alt is <.1? then deploy

It looks like SSU has
Code:
(airspeed <= CHUTE_DEPLOY_SPEED) && (airspeed > CHUTE_JETTISON_SPEED) && STS()->GroundContact())
then deploy.

Code:
const double CHUTE_DEPLOY_SPEED = 165.0/MPS2KTS;
// Speed at which chute is deployed (m/s)
Code:
const double CHUTE_JETTISON_SPEED = 60.0/MPS2KTS;
// Speed at which chute is jettisoned (m/s)
So if ground contact and airspeed is between 165 and 60 deploy

Last edited by gattispilot; 09-27-2018 at 03:26 PM.
gattispilot is online now   Reply With Quote
Old 09-30-2018, 12:18 PM   #171
mrozigor
Donator
Default

Yeah, but those values, 60 and 165, are in knots.
mrozigor is offline   Reply With Quote
Thanked by:
Old 09-30-2018, 03:23 PM   #172
barrygolden
Orbinaut
 
barrygolden's Avatar
Default

Yes Don your ISS with all the detail is super as well as SSU but I think too keep the Shuttle flying its going to take new payloads like the Star Wars stuff along with the unflown payloads and proposed missions
barrygolden is offline   Reply With Quote
Thanked by:
Old 10-01-2018, 10:52 AM   #173
gattispilot
Addon Developer
 
gattispilot's Avatar
Default

So on the chute I have:
Code:
double airspeed = GetAirspeed();
	double groundspeed = GetGroundspeed();

	if ((airspeed <= CHUTE_DEPLOY_SPEED) && (airspeed > CHUTE_JETTISON_SPEED) && GroundContact() && (DRAGCHUTEDEPLOYED ==0)) {
		SetMeshVisibilityMode(mesh_DRAGCHUTE, MESHVIS_ALWAYS);
		RevertDragchute();
	}

	if (airspeed < CHUTE_JETTISON_SPEED) ReleaseDragchute();

Code:
const double CHUTE_DEPLOY_SPEED = 165.0 / 1.94384;
// Speed at which chute is deployed (m/s)
const double CHUTE_JETTISON_SPEED = 60.0 / 1.94384;
// Speed at which chute is jettisoned (m/s)
So when the vessel makes ground contact and the speed <165 knots >60 the chute opens and when the airspeed gets to <60 the chute releases
gattispilot is online now   Reply With Quote
Old 10-05-2018, 09:49 PM   #174
gattispilot
Addon Developer
 
gattispilot's Avatar
Default

So I am trying to get the chute to be made a vessel so that when released it doesn't follow the shuttle.
Code:
if ((airspeed < CHUTE_JETTISON_SPEED) &&  (DRAGCHUTE == 0)) ReleaseDragchute();
Code:
void Atlantis::ReleaseDragchute()
{
	SetMeshVisibilityMode(mesh_DRAGCHUTE, MESHVIS_NEVER);
	if (Shuttlechutereleased == 0){
	OBJHANDLE Shuttlechute;
	VESSELSTATUS2 vs;
	vs.version = 2;
	vs.flag = 0;
	GetStatusEx(&vs);
	VECTOR3 ofs = _V(0, -5.649, -11.656);
	VECTOR3 rofs, rvel = { vs.rvel.x, vs.rvel.y, vs.rvel.z };
	VECTOR3 vel = { 0, 0, 0 };
	Local2Rel(ofs, vs.rpos);
	GlobalRot(vel, rofs);
	vs.rvel.x = rvel.x + rofs.x;
	vs.rvel.y = rvel.y + rofs.y;
	vs.rvel.z = rvel.z + rofs.z;
	vs.vrot.x = 0.00;
	vs.status = 0;




	VESSEL *Shuttlechute_vessel;
	Shuttlechute = oapiCreateVesselEx("Shuttlechute", "Shuttle2016_Chute_released", &vs);
	Shuttlechute_vessel = oapiGetVesselInterface(Shuttlechute);
	Shuttlechutereleased = 1;
It works except the chute is orbiting the Earth.
Code:
Meshname = shuttlechutereleased
Mass = 10
Size = 10.0
;COG_OverGround = 1


; === Atmospheric flight model ===
;CW = 5 5 2 2.4
;CrossSections = 8 8 8
;RotResistance = 2.0 2.0 2.0

EnableFocus = TRUE
EnableXPDR = TRUE

I think what happens is it is created falls to the ground and then bounces into orbit?
Code:
Shuttlechute:Shuttle2016_Chute_released
  STATUS Orbiting Earth
  RPOS -33402938918.567 -12601523956.566 -20655074290.881
  RVEL -2164479149.7256 -816566947.1424 -1338429464.2508
  AROT -53.820 41.904 60.009
  VROT -1883.2677 1419.9461 -1369.6618
  AFCMODE 7
  NAVFREQ 0 0
  XPDR 0
END
gattispilot is online now   Reply With Quote
Old 10-07-2018, 01:12 AM   #175
aaron94
Orbinaut
Default

where is the download link?
aaron94 is offline   Reply With Quote
Old 10-07-2018, 11:38 AM   #176
gattispilot
Addon Developer
 
gattispilot's Avatar
Default

This is the latest:
https://drive.google.com/open?id=1si...naru2NXIt35EJ1

For the Sunneyvale scn you will need this:

Sunnyvale STS Missions

Launch Complex SLC-6
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 05:35 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 - 2018, Jelsoft Enterprises Ltd.
Copyright 2007 - 2017, Orbiter-Forum.com. All rights reserved.