Celbody modules with no source code

Gondos

Well-known member
Joined
Apr 18, 2022
Messages
222
Reaction score
258
Points
78
Location
On my chair
Hi,
I'm having NaN (as in Not A Number) issues related to celbodies with binary only modules (Deimos, Phobos...). I tried to patch their config files but it turned out I made a mess of it...
Anyway, is there a reason for not having the source code for these? (licensing issues, code lost, or being so trivial as not to be deemed necessary?).
How do you cope with it in the 64bit builds BTW?
Thanks
 

jarmonik

Well-known member
Orbiter Contributor
Addon Developer
Beta Tester
Joined
Mar 28, 2008
Messages
2,651
Reaction score
785
Points
128
They are likely third party addons included in Orbiter distribution. Who made them and is he still around ? If not then a quick fix is to replace them with Kepler elements but a better fix would be writing a replacement module.
 

Gondos

Well-known member
Joined
Apr 18, 2022
Messages
222
Reaction score
258
Points
78
Location
On my chair
They are likely third party addons included in Orbiter distribution. Who made them and is he still around ? If not then a quick fix is to replace them with Kepler elements but a better fix would be writing a replacement module.
I see... A quick "strings" lookup yields two different projects being used :
Code:
c:\Orbiter patch 1\Orbitersdk\samples\Ariel\Release\Ariel.pdb
c:\Orbiter patch 1\Orbitersdk\samples\Deimos\Release\Deimos.pdb
c:\Orbiter patch 1\Orbitersdk\samples\Oberon\Release\Oberon.pdb
c:\Orbiter patch 1\Orbitersdk\samples\Miranda\Release\Miranda.pdb
c:\Orbiter patch 1\Orbitersdk\samples\Umbriel\Release\Umbriel.pdb
C:\Orbiter\Orbitersdk\samples\Triton\Debug\Triton.pdb
c:\Orbiter patch 1\Orbitersdk\samples\Phobos\Release\Phobos.pdb
c:\Orbiter patch 1\Orbitersdk\samples\Titania\Release\Titania.pdb
In case it rings a bell with someone^^
 

n72.75

Move slow and try not to break too much.
Orbiter Contributor
Addon Developer
Tutorial Publisher
Donator
Joined
Mar 21, 2008
Messages
2,687
Reaction score
1,337
Points
128
Location
Saco, ME
Website
mwhume.space
Preferred Pronouns
he/him
I see... A quick "strings" lookup yields two different projects being used :
Code:
c:\Orbiter patch 1\Orbitersdk\samples\Ariel\Release\Ariel.pdb
c:\Orbiter patch 1\Orbitersdk\samples\Deimos\Release\Deimos.pdb
c:\Orbiter patch 1\Orbitersdk\samples\Oberon\Release\Oberon.pdb
c:\Orbiter patch 1\Orbitersdk\samples\Miranda\Release\Miranda.pdb
c:\Orbiter patch 1\Orbitersdk\samples\Umbriel\Release\Umbriel.pdb
C:\Orbiter\Orbitersdk\samples\Triton\Debug\Triton.pdb
c:\Orbiter patch 1\Orbitersdk\samples\Phobos\Release\Phobos.pdb
c:\Orbiter patch 1\Orbitersdk\samples\Titania\Release\Titania.pdb
In case it rings a bell with someone^^

n case it rings a bell with someone^^

Phobos and Demos appear to have been added by Martin

The Uranus and Neptune moons come from Robert Stettner (Foxtrot) https://library.avsim.net/download.php?DLID=21108
 

n72.75

Move slow and try not to break too much.
Orbiter Contributor
Addon Developer
Tutorial Publisher
Donator
Joined
Mar 21, 2008
Messages
2,687
Reaction score
1,337
Points
128
Location
Saco, ME
Website
mwhume.space
Preferred Pronouns
he/him
I registered to AVSIM to get it^^
Looks like it's not module based but only config files, well I'll keep the ones from Orbiter for now:)
Ahh, okay. I probably didn't read far enough into the change-log.
 

Ajaja

Active member
Joined
Apr 20, 2008
Messages
226
Reaction score
93
Points
28
I asked the question here:
No answer.
But I use SPICE celbody module with Orbiter x64, so it's not a big problem.
 

Gondos

Well-known member
Joined
Apr 18, 2022
Messages
222
Reaction score
258
Points
78
Location
On my chair
I asked the question here:
No answer.
But I use SPICE celbody module with Orbiter x64, so it's not a big problem.
You must have had some fun setting this up :)
I quickly checked the SPICE toolkit license and it does not look to be FOSS compatible though...
 

Ajaja

Active member
Joined
Apr 20, 2008
Messages
226
Reaction score
93
Points
28
It's used in other open-source software like Celestia, PyKep, SpiceyPy. SpiceyPy is under MIT, Celestia and PyKep is GPL. I can't see how it may be tricky.
 

Gondos

Well-known member
Joined
Apr 18, 2022
Messages
222
Reaction score
258
Points
78
Location
On my chair
It's used in other open-source software like Celestia, PyKep, SpiceyPy. SpiceyPy is under MIT, Celestia and PyKep is GPL. I can't see how it may be tricky.
I was looking at this. I'm no lawyer but it looks more complicated than MIT
 

Sword7

Member
Joined
Mar 23, 2008
Messages
140
Reaction score
16
Points
18
Location
Gaithersburg, MD
.dll files are useless for Linux and other platforms because they use .so files as shared libraries. Is that possible to replace with open source files?
 

Ajaja

Active member
Joined
Apr 20, 2008
Messages
226
Reaction score
93
Points
28
.dll files are useless for Linux and other platforms because they use .so files as shared libraries.
Those dlls (Ariel.dll/Deimos.dll/...) are useless even with x64 Windows builds of Orbiter.
 

Sword7

Member
Joined
Mar 23, 2008
Messages
140
Reaction score
16
Points
18
Location
Gaithersburg, MD
I have SPICE toolkit. I downloaded 176 GB stuffs from NAIF website through wget. Ajaja provides SPICE interface module on GitHub so that you need SPICE toolkit to compile. I recommend making documents for developers how to get SPICE toolkit and build them into spice.dll or spice.so. I cloned Ajaja's SPICE interface from GitHub.
 
Top