[SOLVED] HST

General discussion about Celestia that doesn't fit into other forums.
Topic author
scroll
Posts: 34
Joined: 30.12.2005
With us: 18 years 10 months

[SOLVED] HST

Post #1by scroll » 11.05.2009, 21:56

Hello

My Hubble does not appear to be in the right place.
Could anyone advise me how to fix this?

Thanks.

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

Re: HST

Post #2by selden » 11.05.2009, 23:39

You'll have to Modify Celestia's SSC entry for the Hubble.

Current orbital elements for most Earth satellites are available in the form of Two Line Elements on the CelesTrak web site at http://celestrak.com/

The HST's current TLE, along with those of many other scientific satellites, is available in the file http://celestrak.com/NORAD/elements/science.txt

Of course, these particular orbital parameters will only be good until Wednesday.

A spreadsheet by Grant Hutchison to convert TLEs into Celesia's SSC format is available at
http://www.lepp.cornell.edu/~seb/celest ... ets.html#3
Selden

Topic author
scroll
Posts: 34
Joined: 30.12.2005
With us: 18 years 10 months

Re: HST

Post #3by scroll » 12.05.2009, 23:26

Thanks selden, I think that's fixed the position.
I used the spreadsheet and copied the data over, replacing the relevant spacecraft data (in this case Hubble) in the spacecraft.ssc file.
However, I think I might have replaced too much of the data as my Hubble model is now a blank white disc.
What did I do wrong?

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

Re: HST

Post #4by selden » 13.05.2009, 09:43

It sounds like you may have deleted or damaged the Mesh statement.

I'd suggest restoring the original ssc file and creating a new one in /extras/ which uses the Modify directive to change Hubble's orbit:

Code: Select all

Modify "Hubble" "Sol/Earth" { EllipticalOrbit { ... }}

It should include only the new EllipticalOrbit definition.

In case you didn't keep a copy of the previous version of spacecraft.ssc, it's available on SourceForge at http://celestia.svn.sourceforge.net/vie ... c?view=log
Selden

Topic author
scroll
Posts: 34
Joined: 30.12.2005
With us: 18 years 10 months

Re: HST

Post #5by scroll » 13.05.2009, 11:22

Indeed I had messed with the Mesh statement.
All sorted now.
Thanks very much again.

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

Re: HST

Post #6by selden » 13.05.2009, 11:30

You're very welcome.
Selden


Return to “Celestia Users”