John Van Vliet wrote:
with only a quick look so far
that ssc file is not a real one
it is missing a lot of things
like the mesh for the spacecraft
it looks like you started by using Uranus's ssc
it is commented out
but it is missing things
like ,there is NO mesh or rotation or anything else
I should have made it clear that I'm only working on the orbit first (which is why the models and textures folders are empty).
I plan of course to add a Mesh and it's rotation definition when it's required, however, none of that is
required simply to get the orbit working correctly.
Note that if these .bsp definitions were working correctly then SOHO should orbit the L1 point between Sun and Earth (~ 1.5 million km from Earth), but it's not behaving in that way.
Maybe, you can answer this question John:
In SPICE implementation, is it necessary for every higher level object in the hierachy to be implemented in SPICE before subordinates will work?
If that's the case, then it's possible that I haven't yet got a working SPICE file for Earth (which SOHO's orbit is centered on), in which case that may be the cause of the problem.
I'll check this.
EDIT: It turns out that I DO have a SPICE definition for Earth:Code:
Modify "Earth" "Sol"
{
Timeline
[
# Before Spice
{
Ending "1899 07 30 00:00"
CustomOrbit "vsop87-earth"
BodyFrame { EquatorJ2000 { Center "Sol" } }
CustomRotation "iau-earth"
}
# de421
{
Ending "2053 10 08 00:00"
OrbitFrame { EclipticJ2000 { Center "Sol/Earth_bary"}}
SpiceOrbit
{
Kernel "de421.bsp"
Target "399"
Origin "3"
BoundingRadius 1e10
}
BodyFrame { EquatorJ2000 { Center "Sol" } }
CustomRotation "iau-earth"
}
# After Spice
{
CustomOrbit "vsop87-earth"
BodyFrame { EquatorJ2000 { Center "Sol" } }
CustomRotation "iau-earth"
}
]
}
Regards
CC