If in a spacecraft code I am using a SampledOrbit XYZ
and also have the ElipticalOrbit data too. Does one canel the other out ?
In other words, If I want to use an XYZ file, should I still have all the ElipticalOrbital data still in the ssc file
So should it look like number 1 or Number 2
1:
Code: Select all
"Cassini" "Sol"
{
Class "spacecraft"
Mesh "cassini.3ds"
Radius 0.01
Beginning "1997 10 15 10:30" # Launched
#Ending ???? Still in Orbit
SampledOrbit "cassini.xyz"
RotationPeriod 1000.0
Orientation [ 270 1 0 0 ]
Albedo 0.5
}
2:
Code: Select all
"Cassini" "Sol"
{
Class "spacecraft"
Mesh "cassini.3ds"
Radius 0.01
Beginning "1997 10 15 10:30" # Launched
# Ending ???? Still in Orbit
SampledOrbit "cassini.xyz"
EllipticalOrbit
{
Period 12.44131
SemiMajorAxis 5.36921504
Eccentricity 0.728031108
Inclination 0.821640702
AscendingNode 127.187606
ArgOfPericenter 167.738633
MeanAnomaly 94.9254870
Epoch 2452557.50
}
RotationPeriod 1000.0
Orientation [ 270 1 0 0 ]
Albedo 0.5
}