Page 1 of 2
MGS is gone.We need a new ssc
Posted: 30.11.2006, 00:16
by danielj
Unfourtanetelly,Mars Global Surveyour is gone.So we need a end comand line to the probe in your ssc.I can??t do this because is it in universal time and anyway,the stc have to be modified,too,so after a specific day of November,no orbit is available.
Re: MGS is gone.We need a new ssc
Posted: 30.11.2006, 01:00
by rthorvald
danielj wrote:Unfourtanetelly,Mars Global Surveyour is gone.So we need a end comand line to the probe in your ssc.I can??t do this because is it in universal time and anyway,the stc have to be modified,too,so after a specific day of November,no orbit is available.
danielj, this is so utterly trivial to do yourself that you ought to sit down and learn it. In fact, it??s a perfect opportunity for you to give something back.
All you need is a time converter, of which there are many freely available on the net. I frequently use this one:
http://www.onlineconversion.com/time.htm
... If you want to use julian dates, here??s a good one:
http://aa.usno.navy.mil/data/docs/JulianDate.html
... Though you don??t need to.
Open your SSC file, locate the probe entry and just add "Ending XXXXXXX", supplying the date you need. Then post it here.
- rthorvald
Re: MGS is gone.We need a new ssc
Posted: 30.11.2006, 01:43
by danielj
I tried and didn??t work.AT LEAST I tried:
MGS.ssc Code:
Replace "MGS" "Sol/Mars"
{
Class "spacecraft"
Mesh "mgs_F.cmod"
Radius 0.01
EllipticalOrbit
{
Epoch Beggining 2450659.56894
Ending 2454053.56198
Period 0.08127579
SemiMajorAxis 3767.968213
Eccentricity 0.005809
Inclination 93.0092
AscendingNode 28.452982
ArgOfPericenter 267.202961
MeanAnomaly 0.0
}
}
Re: MGS is gone.We need a new ssc
Posted: 30.11.2006, 02:24
by rthorvald
danielj wrote:I tried and didn??t work.AT LEAST I tried
Just keep at it
Ok, there is a misplaced "g" in your Beginning declaration, and the Epoch date somehow was left out:
Epoch 2451973.25864
Beginning 2450659.56894
Ending 2454053.56198
So, your MGS.ssc Code with those edits:
Code: Select all
Replace "MGS" "Sol/Mars"
{
Class "spacecraft"
Mesh "mgs_F.cmod"
Radius 0.01
EllipticalOrbit
{
Epoch 2451973.25864
Beginning 2450659.56894
Ending 2454053.56198
Period 0.08127579
SemiMajorAxis 3767.968213
Eccentricity 0.005809
Inclination 93.0092
AscendingNode 28.452982
ArgOfPericenter 267.202961
MeanAnomaly 0.0
}
}
- rthorvald
Re: MGS is gone.We need a new ssc
Posted: 30.11.2006, 02:52
by Malenfant
danielj wrote:I tried and didn??t work.AT LEAST I tried:
Just as some general advice, you'd probably get more help if you
showed that you tried before demanding that people do something to fix a problem for you. At least that means that you've demonstrated that you've made some attempt to solve the problem yourself before resorting to asking others.
Re: MGS is gone.We need a new ssc
Posted: 30.11.2006, 11:52
by danielj
Actually I review and MGS was launched in November 7,1996,but I know the exact time.I also don??t know the exact time MGS was presumed to be lost.It??s just a guess.The new code:
Replace "MGS" "Sol/Mars"
{
Class "spacecraft"
Mesh "mgs_F.cmod"
Radius 0.01
EllipticalOrbit
{
Epoch 2451973.25864
Begginning 2450394.98958
Ending 2454053.56198
Period 0.08127579
SemiMajorAxis 3767.968213
Eccentricity 0.005809
Inclination 93.0092
AscendingNode 28.452982
ArgOfPericenter 267.202961
MeanAnomaly 0.0
}
}
Re: MGS is gone.We need a new ssc
Posted: 30.11.2006, 11:54
by danielj
But MGS is still there.Something is WRONG!
Posted: 30.11.2006, 12:17
by buggs_moran
One thing that is wrong is " Begginning" is still spelled incorrectly as Runar pointed out.
Another problem I have with this is, as far as I know, MGS is not "gone" for sure, it just doesn't function...so it is still in orbit, probably for a long, long time...
Re: MGS is gone.We need a new ssc
Posted: 30.11.2006, 12:26
by rthorvald
danielj wrote:But MGS is still there.Something is WRONG!
There is a typo in the "beginning" declaration: you have one letter "g" too many.
Celestia is very literal-minded, so the SSC file breaks if there are errors in spelling.
Here:
Code: Select all
Replace "MGS" "Sol/Mars"
{
Class "spacecraft"
Mesh "mgs_F.cmod"
Radius 0.01
EllipticalOrbit
{
Epoch 2451973.25864
Beginning 2450394.98958
Ending 2454053.56198
Period 0.08127579
SemiMajorAxis 3767.968213
Eccentricity 0.005809
Inclination 93.0092
AscendingNode 28.452982
ArgOfPericenter 267.202961
MeanAnomaly 0.0
}
}
- rthorvald
Posted: 30.11.2006, 13:11
by selden
And don't forget that the Beginning and Ending directives belong *outside* the EllipticalOrbit block. They apply to the entire object definition, not just to the orbit.
Posted: 30.11.2006, 13:24
by rthorvald
selden wrote:And don't forget that the Beginning and Ending directives belong *outside* the EllipticalOrbit block. They apply to the entire object definition, not just to the orbit.
Right. I??m a little tired today, i think...
- rthorvald
Posted: 01.12.2006, 11:59
by danielj
I deleted the extra g and MGS is STILL ORBITING MARS.
Maybe the Begining and Ending directives may be in another place in the ssc...
rthorvald wrote:selden wrote:And don't forget that the Beginning and Ending directives belong *outside* the EllipticalOrbit block. They apply to the entire object definition, not just to the orbit.
Right. I??m a little tired today, i think...
- rthorvald
Posted: 01.12.2006, 13:06
by selden
Daniel,
Please reread what I wrote.
What does it mean to you?
Especially, do you know what the word "block" means here?
I am using that word as it is used for programming languages. SSC files can be considered programming files.
Posted: 01.12.2006, 13:41
by danielj
I didn??t know ANYTHING about programming language.Sorry...
selden wrote:Daniel,
Please reread what I wrote.
What does it mean to you?
Especially, do you know what the word "block" means here?
I am using that word as it is used for programming languages. SSC files can be considered programming files.
Posted: 01.12.2006, 19:07
by rthorvald
danielj wrote:I didn??t know ANYTHING about programming language.Sorry...
Plain english is all that is neccecary to learn this. As Selden wrote, the beginning and end dates must reside
outside the elliptical orbit block. If you examine your code, you should understand what that means... A block is a chunk of code that is separate from the rest. In Celestia??s case, everything that is enclosed by { and } is such a block.
So, as you can see, your MGS definition consists of one large block with a smaller one inside it. The smaller one is... The ellipticalorbit.
Now, what do you need to do?
- rthorvald
Posted: 01.12.2006, 20:19
by danielj
I think I have to put OUTSIDE Elliptical orbit.Like this:
Beginning 2450394.98958
Ending 2454053.56198
Elliptical Orbit
{
Epoch 2451973.25864
rthorvald wrote:danielj wrote:I didn??t know ANYTHING about programming language.Sorry...
Plain english is all that is neccecary to learn this. As Selden wrote, the beginning and end dates must reside
outside the elliptical orbit block. If you examine your code, you should understand what that means... A block is a chunk of code that is separate from the rest. In Celestia??s case, everything that is enclosed by { and } is such a block.
So, as you can see, your MGS definition consists of one large block with a smaller one inside it. The smaller one is... The ellipticalorbit.
Now, what do you need to do?
- rthorvald
Posted: 01.12.2006, 20:27
by danielj
It worked.Thanks
[/code]Replace "MGS" "Sol/Mars"
{
Class "spacecraft"
Mesh "mgs_F.cmod"
Radius 0.01
Begining 2450394.98958
Ending 2454053.56198
EllipticalOrbit
{
Epoch 2451973.25864
Period 0.08127579
SemiMajorAxis 3767.968213
Eccentricity 0.005809
Inclination 93.0092
AscendingNode 28.452982
ArgOfPericenter 267.202961
MeanAnomaly 0.0
}
}
[code][/code]
Posted: 01.12.2006, 20:49
by t00fri
Daniel,
following this mess --largely based on typos of yours-- over several days, I have a suggestion to you.
How about some simple proof reading of your writings before mobilizing this forum and peoples' time on your behalf?
Again in your last post you started with [/code] which I am sure you know that it is wrong...
Bye Fridger
Posted: 02.12.2006, 00:49
by danielj
Sorry,the code is not in the ssc.
Hust a typo.I don??t now exacty how to use the rich test format.
t00fri wrote:Daniel,
following this mess --largely based on typos of yours-- over several days, I have a suggestion to you.
How about some simple proof reading of your writings before mobilizing this forum and peoples' time on your behalf?
Again in your last post you started with [/code] which I am sure you know that it is wrong...
Bye Fridger
Posted: 02.12.2006, 10:57
by bh
Hehe...