Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
ORBITER-FORUM will be temporarily closed at 2026-07-23 18:00 UTC while we complete some OF maintenance tasks. The amount of downtime is expected to take up to one hour, but probably less.
Hi Guys.
Can anyone help with my latest dilemma please.
Any installation from r65 onward crashes at Jupiter according to log.
r65 and below are fine............
What am I missing ?
**** Orbiter.log
000000.000: Build Aug 27 2017 [v.170827]
000000.000: Timer precision: 1e-007 sec
000000.000...
Crashes on loading.
Hi Guys.
Can anyone help with my latest dilemma please.
Any installation from r65 onward crashes at Jupiter according to log.
r65 and below are fine............
**** Orbiter.log
000000.000: Build Aug 27 2017 [v.170827]
000000.000: Timer precision: 1e-007 sec
000000.000...
Well, only way I can get significant reading is by including dis = (dis)*DEG;
I then get 9248.97, otherwise it's a silly 165
Sorry, but I've gotta hit the sack now but this is doing my head in, so we need to get to the bottom of it.
Thanks for all so far...:tiphat:
It's just by compiling with "my code".......
Am I on the same page here ?
Don't understand how this happens.....
Hope I'm not leading you a merry dance here..........
(Kourou --> Overberg - Best I could do)
Yours: 8811 km great circle distances
Mine: 9255 km (Only 5% diff now, not 11% ? )
True ?: 10,007.54339801029 km (but this is straight line distance isn't it ? ^ ^ ^ )
Now I'm confused :lol:
Just to clarify:
Do you mean you are getting the same results as me (a difference) using the two codes?
Or are you getting the same result with both codes?
When I use your code (plus substitution of "dis = dis *6371;" for "sp->ref->Size();" ) the readout agrees with...
As I used the same old "dist = dist *6371;" and we ended in sync, I guess difference is due to something in the calcs.
Way above my head to spot though.
Thanks Doctor for your interest, appreciated.
Urwumpe: Apologies, I didn't implement fabs correctly. Is fine now.
Marijn: I'll take a look there later, (RL taking over for now)
Sounds like the small distance might be the culprit.
Thanks all.
---------- Post added at 07:48 PM ---------- Previous post was at 07:30 PM ----------
martins...
Gentlemen, sorry for the delay, have been checking a few things.
Urwumpe: I've tried 'fabs(longitude-tgtlng)' and it sent the calcs haywire.
martins:
By 'the input' do you mean the result of line 1 ?
That does seem to be within -1 && 1 always.
Yes, when it doesn't read "-1.#IND" it gives a...
Hi People.
Quick question, probably not quick answer.....
On a distance calculation I'm getting a value of "-1.#IND" intermittently.
It's messing up an autopilot.
Is it an overrun of some kind.
If so, what do I need to do....?
Code used:
dis = sin((latitude)*RAD) * sin((tgtlat)*RAD) +...
Variables are defined as
double spotcntrl = 0;
double spotcntrlrl = 0;
double spotcntrlfb = 1;
And then are varied with the control code.
Not sure what you are trying to achieve......
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.