Can't Get to Star

Report bugs, bug fixes and workarounds here.
Topic author
Dollan
Posts: 1150
Joined: 18.12.2003
Age: 54
With us: 20 years 11 months
Location: Havre, Montana

Can't Get to Star

Post #1by Dollan » 14.07.2006, 20:44

Hi folks...

I'm making a new star for the OA Universe, and have an STC file ready to go. I can type in the name of the star, and it shows up, and I can even tab to it. However, I cannot get Celestia to select it, much less go to it. Any thoughts? here's the STC file, which is absolutely identical to others that I have used successfully (identical except for the star name and details, of course):

Code: Select all

Barycenter "72 Aurigae"
   {
   RA      89.554
   Dec      27.652
   Distance      2147
   }

"72 Aurigae A"
   {
   OrbitBarycenter   "72 Aurigae"
   SpectralType   "G6V"
   AbsMag      5.09 # also AppMag if you want
   Radius      653770 # sol=695500
   EllipticalOrbit
      {
      Period      6.00
      SemiMajorAxis   0.01
      Eccentricity   0.00
      Inclination   0.00
      }
   RotationPeriod   600 # hours
   }


I'm using barycenters because it will be a double star as soon as I iron this out, but it is worth noting that I have easily used barycenter definitions for single stars before. in fact, this is essentially the standard format for stc's that I use when I make new stars....

...John...
"To make an apple pie from scratch, you must first create the universe..."
--Carl Sagan

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

Post #2by selden » 14.07.2006, 21:02

It looks to me like it may be a bug in Celestia.

Note that "72 Aurigae A" is undefined, which means that there's something wrong in its definition.
If you turn on the console log, you'll find that it complains that it can't find "72 Aurigae".

If you replace the spaces in the names by underscores, then it works fine.
Selden

Topic author
Dollan
Posts: 1150
Joined: 18.12.2003
Age: 54
With us: 20 years 11 months
Location: Havre, Montana

Post #3by Dollan » 14.07.2006, 21:11

So... why would that one not work, and one that I had just made named "43 Ordinatus" be just fine?

Weird...
"To make an apple pie from scratch, you must first create the universe..."
--Carl Sagan

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

Post #4by selden » 14.07.2006, 21:13

It's the nature of bugs to be weird :)

I'll move this to the Bug forum.
Selden

Topic author
Dollan
Posts: 1150
Joined: 18.12.2003
Age: 54
With us: 20 years 11 months
Location: Havre, Montana

Post #5by Dollan » 14.07.2006, 21:22

**laughs** That would be a great tag line, you know!

Anyway, a little addition: I left the underscore under the barycenter, but didn't use it for the star name, and both worked just fine. Weird indeed!
"To make an apple pie from scratch, you must first create the universe..."
--Carl Sagan

Avatar
Chuft-Captain
Posts: 1779
Joined: 18.12.2005
With us: 18 years 11 months

Post #6by Chuft-Captain » 15.07.2006, 06:54

John, Selden,

Is it possible that Celestia requires Barycenter and/or star names to be unique in perhaps the first 8-10 characters? In which case "72 Aurigae A" would have the same name (in first 8-10 chars) as the Barycenter "72 Aurigae", so would probably be ignored.

Just a thought, that might provoke some experimentation. I hope I'm wrong. :wink:

Regards
CC
"Is a planetary surface the right place for an expanding technological civilization?"
-- Gerard K. O'Neill (1969)

CATALOG SYNTAX HIGHLIGHTING TOOLS LAGRANGE POINTS

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

Post #7by selden » 15.07.2006, 11:36

Even when the "star" is undefined, the Barycenter should still be selectable.

It isn't.
Selden

Avatar
Chuft-Captain
Posts: 1779
Joined: 18.12.2005
With us: 18 years 11 months

Post #8by Chuft-Captain » 15.07.2006, 17:26

selden wrote:Even when the "star" is undefined, the Barycenter should still be selectable.

It isn't.

I see.
(and would have seen earlier, if I'd read your first answer more carefully :lol: )
"Is a planetary surface the right place for an expanding technological civilization?"
-- Gerard K. O'Neill (1969)

CATALOG SYNTAX HIGHLIGHTING TOOLS LAGRANGE POINTS

ajtribick
Developer
Posts: 1855
Joined: 11.08.2003
With us: 21 years 3 months

Post #9by ajtribick » 16.07.2006, 11:48

Another case of inconsistent parsing at different points in the .stc file.

At one point, "72 Aurigae" gets converted to the abbreviated form "72 Aur", while at another it doesn't.

Therefore you end up with a Barycenter named "72 Aurigae", however everywhere else apart from the Barycenter definition the string gets converted to "72 Aur" (e.g. in the OrbitBarycenter parameter, or in the text input in Celestia).

Defining your barycenter as "72 Aur" will work.


Return to “Bugs”