Youen

[old thread] Trajectories : atmospheric predictions

Recommended Posts

Hi,

Thanks for all your work on this great mod. The accuracy is quite a bit off for me with the latest FAR (v0.15.5.4 'Hoerner') and the latest Trajectories. Even using a simple command pod and heat shield, the mod constantly overshoots my actual landing site (I land far short of the prediction). Once, I touch the atmosphere, i can watch the red cross drifting constantly shorter and shorter. I made sure to check the Retrograde box and I hold that AoA during reentry. I'm not sure if I'm doing something wrong, I can post an example ship if needed, but I have this issue on multiple very simple command pod setups. Any help would be greatly appreciated.

Maybe I should also mention I'm using the latest KSP (1.0.99). I figured that since FAR is still controlling the aerodynamics, that shouldn't matter, but possibly I'm wrong.

Edited by ashcanpete

Share this post


Link to post
Share on other sites

I don't know for inaccuracies, from your description it seems you are doing everything right. Can you just tell me what is that 1.0.99 version? Is it some kind of pre-release? Because I don't see it in the KSP store.

Share this post


Link to post
Share on other sites
On 06/01/2016 at 6:19 AM, Youen said:

I don't know for inaccuracies, from your description it seems you are doing everything right. Can you just tell me what is that 1.0.99 version? Is it some kind of pre-release? Because I don't see it in the KSP store.

Not sure what ashcanpete meant, but CKAN uses Max KSP 1.0.99 as a shorthand  representation for any version of KSP that comes out before the expected major 1.1 upgrade, which we know will break many mods. It actually turned out to have limited functionality, since it turned out that 1.0.5 broke an awful lot of mods.

Share this post


Link to post
Share on other sites
On 1/6/2016 at 1:19 PM, Youen said:

I don't know for inaccuracies, from your description it seems you are doing everything right. Can you just tell me what is that 1.0.99 version? Is it some kind of pre-release? Because I don't see it in the KSP store.

Sorry, I meant KSP 1.0.5, not 1.0.99, I misinterpreted what CKAN was telling me.

Share this post


Link to post
Share on other sites

Is this broken for Stock KSP? It always seems to be off by hundreds of kilometers for me

Share this post


Link to post
Share on other sites
1 hour ago, JT2227 said:

Is this broken for Stock KSP? It always seems to be off by hundreds of kilometers for me

Not really, I recently did some "super precise" landings on Kerbin and Eve, within 10km. Why don't you tell us your procedure, and maybe we can figure out the problems.

Share this post


Link to post
Share on other sites

@Youen I believe an update is needed for the latest FAR. I am getting this exception in my log when trying to use the mod. I will post a full log if needed, but that is the exception. Trajectories then does show any impact due to not having the right forces simulated for FAR. I believe the relevant changes in FAR are to this file Thanks!

[LOG 19:36:34.511] Trajectories: Initializing aerodynamic model...
[LOG 19:36:34.511] Trajectories: failed to interface with assembly FerramAerospaceResearch
[LOG 19:36:34.511] Using stock model instead
[LOG 19:36:34.511] System.Exception: Failed to GetMethod GetCurrentDensity on type FerramAerospaceResearch.FARAeroUtil with types System.Type[]:
method not found
  at Trajectories.Util.GetMethodEx (System.Type type, System.String methodName, System.Type[] types) [0x00000] in <filename unknown>:0 
  at Trajectories.Util.GetMethodEx (System.Type type, System.String methodName, System.Type[] types) [0x00000] in <filename unknown>:0 
  at Trajectories.VesselAerodynamicModel.initFARModel () [0x00000] in <filename unknown>:0 

 

Edited by Svm420

Share this post


Link to post
Share on other sites
On 4/2/2016 at 1:41 AM, Svm420 said:

@Youen I believe an update is needed for the latest FAR. I am getting this exception in my log when trying to use the mod. I will post a full log if needed, but that is the exception. Trajectories then does show any impact due to not having the right forces simulated for FAR. I believe the relevant changes in FAR are to this file Thanks

 

I have exactly the same problem. Same error and trajectories show stock orbits without accounting for atmosphere

 

EDIT

Ok, found the issue. You need to use Ferram Aerospace Research v0.15.5.4 "Hoerner", because Trajectories is not compatible with later versions of FAR.

However, it should not be very hard to fix the issue.

 

Edited by Baleine
Having found the problem

Share this post


Link to post
Share on other sites

Problem is deeper than thought. I tweaked the code so I don't have the error anymore, but I did not got any better result.

Here is a reentry from mun with periapse @2km, but Trajectories think I'm gonna slip through the atmosphere...

uo7FFGu.png

Share this post


Link to post
Share on other sites

Hi,

Thanks for reporting the issue. I don't know when I'll have time to look at it. I'll update the opening post to inform about FAR versions compatibility.

Share this post


Link to post
Share on other sites
Just now, Treble Sketch said:

Just letting you know, Kerbal Stuff is now shutting down...

So github is the only place now for mods :\

You're wrong.  Github is one place for mods, but there is also Curse, and a number of authors maintain their own websites

Share this post


Link to post
Share on other sites
Just now, linuxgurugamer said:

You're wrong.  Github is one place for mods, but there is also Curse, and a number of authors maintain their own websites

Sorry, I didn't phrase it properly before. ^_^"

Whoops

Share this post


Link to post
Share on other sites

Nevermind.

Edited by Andem

Share this post


Link to post
Share on other sites
On ‎12‎/‎24‎/‎2014 at 3:12 PM, T.Lancer said:

it would be awesome if you could get it showing trajectories outside of the map view. like this:

So is this part of the mod too? what ever happened with this idea?

Share this post


Link to post
Share on other sites

Hello! I'm having some trouble, can someone advise me?

Specifically, the impact symbol "X" shown on the body (in this case the Mun) keeps drifting as the craft gets closer to the surface, even in body fixed mode. If I aim for a crater, for example, the crater will have moved off by the time I get there. I read that the mod is designed to account for body rotation, so I tried it on a fresh 1.0.5 KSP install with no other mods, and the same thing happened. Could it be a Linux issue? (I'm on Ubuntu 14.04).

Thanks! =)

Edit : WAIT!  *forehead smack*  I used hyperedit to get to the mun on that install.. that's a mod. And the problem in my first install happened when I used the simulation option of Kerbal Construction time to test a craft in orbit of the mun. And I just confirmed that the X does not drift when I travel normally to the Mun...

So I suppose tajectories may not work if you teleport to the body directly. PSA! I guess.. Sorry for the bother =D

Edited by Alturen
Issue resolved

Share this post


Link to post
Share on other sites
23 hours ago, Baconation said:

So is this part of the mod too? what ever happened with this idea?

IIRC that was actually worked on by Bahamuto; not sure what became of it

Share this post


Link to post
Share on other sites

I'm around Bop and i am trying to set co-ordinates for the Kraken but i can't seem to find a way to lay the co-ordinates out because it says to add commas between them, I've added commas and it still doesn't work. So could you tell me how i would layout the co-ordinates for a landing so it gives me the marker for the target landing.

Share this post


Link to post
Share on other sites
On 1/5/2016 at 7:13 AM, ashcanpete said:

Hi,

Thanks for all your work on this great mod. The accuracy is quite a bit off for me with the latest FAR (v0.15.5.4 'Hoerner') and the latest Trajectories. Even using a simple command pod and heat shield, the mod constantly overshoots my actual landing site (I land far short of the prediction). Once, I touch the atmosphere, i can watch the red cross drifting constantly shorter and shorter. I made sure to check the Retrograde box and I hold that AoA during reentry. I'm not sure if I'm doing something wrong, I can post an example ship if needed, but I have this issue on multiple very simple command pod setups. Any help would be greatly appreciated.

Maybe I should also mention I'm using the latest KSP (1.0.99). I figured that since FAR is still controlling the aerodynamics, that shouldn't matter, but possibly I'm wrong.

Hm yes I can corroborate that the current version of Trajectories + FAR "Hoerner" does tend to underestimate drag at high altitudes.

Share this post


Link to post
Share on other sites
On 21/2/2016 at 3:21 PM, MattQGamingHD said:

I'm around Bop and i am trying to set co-ordinates for the Kraken but i can't seem to find a way to lay the co-ordinates out because it says to add commas between them, I've added commas and it still doesn't work. So could you tell me how i would layout the co-ordinates for a landing so it gives me the marker for the target landing.

Looking at the code (haven't used this feature for a while myself), you should enter two numbers separated by a a comma "," or a a semi-colon ";"

The decimal separator is a dot ".", unless there is some kind of weird behavior depending on your system locale, I haven't verified. In this case, maybe for example you could try using a comma for decimal separator, and a semi-colon between the two numbers? Let me know if this works better...

Also, maybe you're trying to enter these coordinates :

68° 25′ 48″ N 117° 1′ 48″ E

My system only understands decimal angles, so that would be

68.43; 117.03

You can use this kind of converter if you need (though obviously the map will show you unrelated places on earth, how come we can't select Bop in any good GPS converter?)

On 23/2/2016 at 6:34 PM, FunnelVortex said:

How well does MechJeb work with this? Can this be used to create a maneuver node for MechJeb to execute? 

You can use Trajectories to plan a maneuver node, and then use MechJeb to execute it, that should just work. You won't be able to use MechJeb planning features to automatically create the node though (just create it by hand and adjust until you are happy with the predicted trajectory)

Share this post


Link to post
Share on other sites
31 minutes ago, Youen said:

Looking at the code (haven't used this feature for a while myself), you should enter two numbers separated by a a comma "," or a a semi-colon ";"

The decimal separator is a dot ".", unless there is some kind of weird behavior depending on your system locale, I haven't verified. In this case, maybe for example you could try using a comma for decimal separator, and a semi-colon between the two numbers? Let me know if this works better...

Also, maybe you're trying to enter these coordinates :


68° 25′ 48″ N 117° 1′ 48″ E

My system only understands decimal angles, so that would be


68.43; 117.03

You can use this kind of converter if you need (though obviously the map will show you unrelated places on earth, how come we can't select Bop in any good GPS converter?)

You can use Trajectories to plan a maneuver node, and then use MechJeb to execute it, that should just work. You won't be able to use MechJeb planning features to automatically create the node though (just create it by hand and adjust until you are happy with the predicted trajectory)

Thx I understand it now :D

Share this post


Link to post
Share on other sites

Thanks, i love the mod. I help me for atmospheric reentry or aerocapcure manuver at duna orbit.

Share this post


Link to post
Share on other sites

Hi! What happens very often to me is that the marker is underground. That's either when showing the current impact point or when setting the Target.

I believe, that's because the marker is always on Sea-level, and any terrain above sea level covers it.

 

Would it be possible to implement the marker in such a way, that it is visible all (or at least most) of the time?

 

Also, could you implement a readout for the coordinates of the impact point?

Edited by Kobymaru

Share this post


Link to post
Share on other sites

If I remember correctly, I did attempt to set the cross on the ground, not on sea level ; but it doesn't work correctly indeed. Maybe I'll end up adding a fixed offset...

About the coordinates readout, a first step would be to fill the box with the target coordinates when using the "set current impact as target" button, which would also show the syntax that can be used. And someone also asked about displaying the distance between the target and predicted impact, so adding the impact coordinates would make it more complete.

Unfortunately I can't give any estimate about when all this could be done (first priority is to investigate compatibility issues with latest FAR version anyway).

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.