MRO SPICE orbit not displayed

General discussion about Celestia that doesn't fit into other forums.
Topic author
dh2va
Posts: 10
Joined: 26.10.2006
With us: 18 years 1 month
Location: Zuerich, CH

MRO SPICE orbit not displayed

Post #1by dh2va » 26.10.2006, 19:12

Hello all,
I am trying to get together Celestia with SPICE support to have an idea when MRO is visible from earth.. so I installed a recently CVS compiled version for win32.. the executable is 2.5 MB large so I suppose the SPICE libraries are included. I created MRO.ssc and downloaded the bsp SPICE files as described by symaski62 [url=http://www.celestiaproject.net/forum/viewtopic.php?t=10112&start=30] here [/url] but still, I cannot find MRO in the Celestia program.. and yes, I was looking in the right time frame, specified by the bsp files..

Any ideas? I am sure, I am missing something very simple..

Reason to look for orbital data: I would like to compare with actual AOS/LOS of MRO.

Thanks!
Achim, DH2VA/HB9DUN

Avatar
cartrite
Posts: 1978
Joined: 15.09.2005
With us: 19 years 2 months
Location: Pocono Mountains, Pennsylvania, USA Greate Grandfother from Irshava, Zakarpattia Oblast Ukraine

Post #2by cartrite » 26.10.2006, 20:36

If the cvs version was installed by the setup I provided in the developers forum, Win-cvs version setup.exe installer.

I did not enable Spice Support.

cartrite
Last edited by cartrite on 26.10.2006, 20:43, edited 3 times in total.
VivoBook_ASUSLaptop X712JA_S712JA Intel(R) UHD Graphics 8gb ram. Intel(R) Core(TM) i5-1035G1 CPU @ 1.00GHz, 1190 Mhz, 4 Core(s), 8 Logical Processor(s) 8 GB ram. Running on Windows 11 and OpenSuse 15.4

Avatar
selden
Developer
Posts: 10192
Joined: 04.09.2002
With us: 22 years 2 months
Location: NY, USA

Post #3by selden » 26.10.2006, 20:38

You will only find MRO in Celestia if you yourself defined that object name in your SSC catalog file. Did you?

Please post a copy of the SSC file that you created as well as the exact source and name(s) of the SPICE kernels that you downloaded.

Note that you also must specify in the SPICE orbit definition the spacecraft name or spacecraft number that is defined in the SPICE kernel. Often the name or spacecraft number specified in the kernel isn't what you might expect.
Selden

Topic author
dh2va
Posts: 10
Joined: 26.10.2006
With us: 18 years 1 month
Location: Zuerich, CH

Post #4by dh2va » 26.10.2006, 21:14

Hello..

I made an exact copy and paste of the MRO.ssc from symaski62 file in the post I mentioned in my question. The bsp files have the names given in the ssc file.

Actuelly MRO is called Spice_MRO in the file.. but it cannot be found in Celestia.

The version I installed was the precompiled verion of malenfant (1.5.0) Could this be the problem?

Achim

symaski62
Posts: 610
Joined: 01.05.2004
Age: 41
With us: 20 years 6 months
Location: france, divion

Post #5by symaski62 » 26.10.2006, 21:24

dh2va wrote:Hello..

I made an exact copy and paste of the MRO.ssc from symaski62 file in the post I mentioned in my question. The bsp files have the names given in the ssc file.

Actuelly MRO is called Spice_MRO in the file.. but it cannot be found in Celestia.

The version I installed was the precompiled verion of malenfant (1.5.0) Could this be the problem?

Achim


ok http://www.purebytes.de/stuff/celestia/ update 10/24/2006 :wink:
windows 10 directX 12 version
celestia 1.7.0 64 bits
with a general handicap of 80% and it makes much d' efforts for the community and s' expimer, thank you d' to be understanding.

Topic author
dh2va
Posts: 10
Joined: 26.10.2006
With us: 18 years 1 month
Location: Zuerich, CH

Post #6by dh2va » 27.10.2006, 05:54

Dear all,
installed again first 1.4.1. , then the recently compiled version just mentioned here and again MRO.ssc and the SPICE Files.. nothing to see.


Do I have to switch on something else?

Sorry for these stupid questions..

Achim

Avatar
selden
Developer
Posts: 10192
Joined: 04.09.2002
With us: 22 years 2 months
Location: NY, USA

Post #7by selden » 27.10.2006, 08:53

Does a non-Spice MRO SSC file work for you?

Too often these problems are caused by typos that aren't obvious until you compare a working version with a non-working version.

Using someone else's example won't always work if you aren't using exactly the same versions of the software, especially when the code is in rapid flux, as it is now. You need to understand what is actually going on to figure out what's failing.

In other words, you should try to create a SPICE SSC yourself by following the descriptions available and build Celestia from the code currently available from SourceForge. Doing anything else is likely to be a waste of time.
Selden

Topic author
dh2va
Posts: 10
Joined: 26.10.2006
With us: 18 years 1 month
Location: Zuerich, CH

Post #8by dh2va » 27.10.2006, 09:02

Dear Selden,
hmm.. this sounds more complicated than I expected.. I am one of the 'dumb' windows users who don't even have a c compiler.. So I will have to wait for a compiled version with Spice support and a SPICE data set.

That said, could maybe anybody just zip his spice-working Celestia subdir and I will try this here?

Cheers,
Achim

Avatar
selden
Developer
Posts: 10192
Joined: 04.09.2002
With us: 22 years 2 months
Location: NY, USA

Post #9by selden » 27.10.2006, 09:38

Achim,

Have you looked at Celestia's console log? That sometimes can tell you what's going wrong.

Type a tilde (~) to see it while Celestia is running. On a European keyboard you may have to type a space after the tilde. Use the up/down arrow keys to look at earlier messages. You also should remove all other Addons. Otherwise status messages from those others will hide the one or two lines that are due to the one that has a problem.
Selden

chris
Site Admin
Posts: 4211
Joined: 28.01.2002
With us: 22 years 9 months
Location: Seattle, Washington, USA

Post #10by chris » 27.10.2006, 15:06

Could you post your ssc file for MRO? I'm wondering if you might just need to add Beginning and Ending fields to set the range of your SPICE orbit. For example, this would set the valid range to be midnight Oct 1, 2006 to noon Oct 31:

Beginning "2006 10 1 00:00:00"
Ending "2006 10 31 12:00:00"

--Chris

phoenix
Posts: 214
Joined: 18.06.2002
With us: 22 years 5 months
Location: Germany - Berlin

Post #11by phoenix » 27.10.2006, 17:51

dh2va wrote:That said, could maybe anybody just zip his spice-working Celestia subdir and I will try this here?


my compiled celestia-version includes SPICE, thats why the executable is so big ;)
most recent celestia win32-SVN-build - use at your own risk (copy over existing 1.5.1 release)

symaski62
Posts: 610
Joined: 01.05.2004
Age: 41
With us: 20 years 6 months
Location: france, divion

Post #12by symaski62 » 27.10.2006, 20:03

:oops: oups charge update

ftp://naif.jpl.nasa.gov/pub/naif/MRO/kernels/spk/

START_TIME=2006-10-12T07:35:00.000
STOP_TIME=2006-12-05T16:15:00.000

=> spk_psp_rec00990_00986_01684_p-v1.bsp ( 65Mo )
=> spk_psp_rec00990_00986_01684_p-v1.bsp.lbl


:wink: Go Go Go !!!
windows 10 directX 12 version
celestia 1.7.0 64 bits
with a general handicap of 80% and it makes much d' efforts for the community and s' expimer, thank you d' to be understanding.

Avatar
selden
Developer
Posts: 10192
Joined: 04.09.2002
With us: 22 years 2 months
Location: NY, USA

Post #13by selden » 27.10.2006, 21:20

Well, there seem to be some problems with how Celestia displays spice orbits, but it isn't with the MRO itself.

Here's what I see, using a version of Celestia built from cvs on October 22nd

Image

The MRO (at the right edge of Mars) actually orbits above the surface, despite what the orbit path seems to claim :)

Here's a CEL URL that should take you to this viewpoint
mro viewpoint

And here's the SSC that I used ( \Addons\spice_mro\spice_mro.ssc )

Code: Select all

"spice_mro" "Sol/Mars" {
   Radius 0.01
   Color [ 1 1 0]

   Beginning "2006 10 12 07:35:01"
   Ending    "2006 12 05 16:14:59"

   SpiceOrbit
   {
      Kernel "spk_psp_rec00990_00986_01684_p-v1.bsp"
                Target "-74"  # MARS RECON ORBITER
                Origin   "4"  # MARS BARYCENTER

      BoundingRadius 1e32

   Beginning "2006 10 12 07:35:01"
   Ending    "2006 12 05 16:14:59"

   }
}


The naif binary spice file listed in symaski62's post just above this was placed in
\Addons\spice_mro\data\
Selden

chris
Site Admin
Posts: 4211
Joined: 28.01.2002
With us: 22 years 9 months
Location: Seattle, Washington, USA

Post #14by chris » 27.10.2006, 22:28

selden wrote:Well, there seem to be some problems with how Celestia displays spice orbits, but it isn't with the MRO itself.


It's a result of Celestia seriously undersampling the orbit. I need to figure out how to make Celestia choose the number of points to use to draw an orbit. Making a nice rendering of a low planetary orbit over a long timespan requires a *lot* of points.

--Chris

Topic author
dh2va
Posts: 10
Joined: 26.10.2006
With us: 18 years 1 month
Location: Zuerich, CH

Post #15by dh2va » 29.10.2006, 07:21

Dea all,
I GOT IT: the ~ typing helped in finding the problem, which was with missing Beginning and Ending timestamps in the SSC file.. now i can plot MRO, but getting the same problem with the undersampled orbit... but it is a big step forward!

Now I am going to modify my files accordingly, so the 3d model from motherlode is displayed correctly.

Thanks again,
Achim

Topic author
dh2va
Posts: 10
Joined: 26.10.2006
With us: 18 years 1 month
Location: Zuerich, CH

MRO orbit seriously wrong

Post #16by dh2va » 29.10.2006, 07:51

Hello again..
checking now for the MRO orbit, I have to say it is seriously wrong. I guess some transformation of coordinates went nuts..

[img]http://www.physik.unizh.ch/~avollhar/celestia/celestia_mro.jpg[/img]

Disregard MO and MGS orbits.. but according to JPL/NASA, MRO is in an orbit inclined 92.6 deg, meaning passing amost directly over the poles.. which is not the case.

Any ideas?

Cheers,
Achim[/img]

Avatar
selden
Developer
Posts: 10192
Joined: 04.09.2002
With us: 22 years 2 months
Location: NY, USA

Post #17by selden » 29.10.2006, 13:15

Did you specify the correct reference plane?

I forgot it, so Celestia assumed Mars Equatorial, which is wrong. Presumably it should be Ecliptic.
Selden

Topic author
dh2va
Posts: 10
Joined: 26.10.2006
With us: 18 years 1 month
Location: Zuerich, CH

Post #18by dh2va » 29.10.2006, 16:38

Hello Selden,
how to specify this? Is there a document how the SSC Files are structured? Sorry for these questions ..

Thanks,
Achim

Avatar
selden
Developer
Posts: 10192
Joined: 04.09.2002
With us: 22 years 2 months
Location: NY, USA

Post #19by selden » 29.10.2006, 18:37

Specifying the reference plane is a new option in Celestia v1.5. The only documentation available is what Chris has written about it. I've collected his descriptions of the new reference frame features at

http://www.lepp.cornell.edu/~seb/celest ... .html#5.10

Documentation for the older SSC features is availble on the Motherlode on the documentation page at
http://celestiamotherlode.net/catalog/d ... ation.html
.
Selden

Topic author
dh2va
Posts: 10
Joined: 26.10.2006
With us: 18 years 1 month
Location: Zuerich, CH

Post #20by dh2va » 30.10.2006, 07:39

Hello Selden,
I think I got it now correct.. at least the orbit looks alright.. the only thing left is to find out, if light time delay is in (probably not).. so I will just shift Mars by something like 20 min for its current position to find out if MRO is in front or behind Mars.

Thanks,
Achim


Return to “Celestia Users”