MGS is gone.We need a new ssc
MGS is gone.We need a new ssc
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
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
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
}
}
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
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
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.
My Celestia page: Spica system, planetary magnitudes script, updated demo.cel, Quad system
Re: MGS is gone.We need a new ssc
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
}
}
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
But MGS is still there.Something is WRONG!
-
- Posts: 835
- Joined: 27.09.2004
- With us: 20 years 2 months
- Location: Massachusetts, USA
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...
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...
Homebrew:
WinXP Pro SP2
Asus A7N8X-E Deluxe
AMD Athlon XP 3000/333 2.16 GHz
1 GB Crucial RAM
80 GB WD SATA drive
ATI AIW 9600XT 128M
WinXP Pro SP2
Asus A7N8X-E Deluxe
AMD Athlon XP 3000/333 2.16 GHz
1 GB Crucial RAM
80 GB WD SATA drive
ATI AIW 9600XT 128M
Re: MGS is gone.We need a new ssc
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
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...
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
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
I think I have to put OUTSIDE Elliptical orbit.Like this:
Beginning 2450394.98958
Ending 2454053.56198
Elliptical Orbit
{
Epoch 2451973.25864
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
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]
[/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]
- t00fri
- Developer
- Posts: 8772
- Joined: 29.03.2002
- Age: 22
- With us: 22 years 8 months
- Location: Hamburg, Germany
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
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
Sorry,the code is not in the ssc.
Hust a typo.I don??t now exacty how to use the rich test format.
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