using SPICE Part one
-
Topic authorJohn Van Vliet
- Posts: 2944
- Joined: 28.08.2002
- With us: 22 years 2 months
using SPICE Part one
--- edit----
Last edited by John Van Vliet on 18.10.2013, 10:36, edited 5 times in total.
-
Topic authorJohn Van Vliet
- Posts: 2944
- Joined: 28.08.2002
- With us: 22 years 2 months
Re: using SPICE Part one
--- edit----
Last edited by John Van Vliet on 18.10.2013, 10:36, edited 1 time in total.
-
Topic authorJohn Van Vliet
- Posts: 2944
- Joined: 28.08.2002
- With us: 22 years 2 months
Re: using SPICE Part one
--- edit----
Last edited by John Van Vliet on 18.10.2013, 10:37, edited 1 time in total.
Re: using SPICE Part one
Thanks John for this tutorial.
I have problem with 3 moons (or more) Ariel, Umbriel and Titania. They orbiting around ... Saturn
I use your SolarSystemSPICE.zip and in UranusSpice.ssc I have that code for this 3 moons and Uranus
Miranda and Oberon are OK. I don't know what's wrong. I've got all bsp files in data folder.
here two screenshots
I have problem with 3 moons (or more) Ariel, Umbriel and Titania. They orbiting around ... Saturn
I use your SolarSystemSPICE.zip and in UranusSpice.ssc I have that code for this 3 moons and Uranus
Code: Select all
Modify "Uranus" "Sol"
{
Timeline
[
# Before SPICE
{
Ending "1950 01 01 00:01"
CustomOrbit "vsop87-uranus"
BodyFrame { EquatorJ2000 { Center "Sol" } }
CustomRotation "iau-uranus"
}
# URA083
{
Ending "2050 01 01 00:00"
OrbitFrame { EclipticJ2000 { Center "Sol/Uranus_bary"}}
SpiceOrbit
{
Kernel "ura083.bsp"
Target "799"
Origin "7"
BoundingRadius 1e10
}
BodyFrame { EquatorJ2000 { Center "Sol" } }
CustomRotation "iau-uranus"
}
# After SPICE
{
CustomOrbit "vsop87-uranus"
BodyFrame { EquatorJ2000 { Center "Sol" } }
CustomRotation "iau-uranus"
}
]
}
Modify "Miranda" "Sol/Uranus"
{
SemiAxes [ 240 234.2 232.9 ]
Color [ 1 1 1 ]
Timeline
[
# Before SPICE
{
CustomOrbit "miranda"
Ending "1950 01 01 00:01"
UniformRotation
{
Period 33.92350159 # enforce sync rotation
Inclination 0.0
MeridianAngle 144.3
}
}
# URA083
{
OrbitFrame { EclipticJ2000 { Center "Sol/Uranus_bary"}}
UniformRotation
{
Period 33.92350159 # enforce sync rotation
Inclination 0.0
MeridianAngle 328
}
# BodyFrame { EclipticJ2000 { } }
# SpiceRotation
# {
# Kernel "pck00008.tpc"
# Frame "IAU_MIRANDA"
# BaseFrame "eclipJ2000"
# Period 33.92350159
# }
Ending "2050 01 01 00:00"
SpiceOrbit
{
Kernel "ura083.bsp"
Target "705"
Origin "7"
Period 1.413479
BoundingRadius 1e10
}
}
# After SPICE
{
CustomOrbit "miranda"
UniformRotation
{
Period 33.92350159 # enforce sync rotation
Inclination 0.0
MeridianAngle 144.3
}
}
]
}
Modify "Ariel" "Sol/Uranus"
{
SemiAxes [ 581.1 577.9 577.7 ]
Timeline
[
# Before SPICE
{
CustomOrbit "ariel"
Ending "1950 01 01 00:01"
UniformRotation
{
Period 60.48909292 # enforce sync rotation
Inclination 0.0
MeridianAngle 18.8
}
}
# URA083
{
OrbitFrame { EclipticJ2000 { Center "Sol/Uranus_bary"}}
UniformRotation
{
Period 60.48909292 # enforce sync rotation
Inclination 0.0
MeridianAngle 203
}
Ending "2050 01 01 00:00"
SpiceOrbit
{
Kernel "ura083.bsp"
Target "701"
Origin "7"
Period 2.521
BoundingRadius 1e10
}
}
# After SPICE
{
CustomOrbit "ariel"
UniformRotation
{
Period 60.48909292 # enforce sync rotation
Inclination 0.0
MeridianAngle 18.8
}
}
]
}
Modify "Umbriel" "Sol/Uranus"
{
Timeline
[
# Before SPICE
{
CustomOrbit "umbriel"
Ending "1950 01 01 00:01"
UniformRotation
{
Period 99.46022991 # enforce sync rotation
Inclination 0.0
MeridianAngle 66.9
}
}
# URA083
{
OrbitFrame { EclipticJ2000 { Center "Sol/Uranus_bary"}}
UniformRotation
{
Period 99.46022991 # enforce sync rotation
Inclination 0.0
MeridianAngle 251.4
}
Ending "2050 01 01 00:00"
SpiceOrbit
{
Kernel "ura083.bsp"
Target "702"
Origin "7"
Period 4.145
BoundingRadius 1e10
}
}
# After SPICE
{
CustomOrbit "umbriel"
UniformRotation
{
Period 99.46022991 # enforce sync rotation
Inclination 0.0
MeridianAngle 66.9
}
}
]
}
Modify "Titania" "Sol/Uranus"
{
Timeline
[
# Before SPICE
{
CustomOrbit "titania"
Ending "1950 01 01 00:01"
UniformRotation
{
Period 208.94077099 # enforce sync rotation
Inclination 0.0
MeridianAngle 97.2
}
}
# URA083
{
OrbitFrame { EclipticJ2000 { Center "Sol/Uranus_bary"}}
UniformRotation
{
Period 208.94077099 # enforce sync rotation
Inclination 0.0
MeridianAngle 281.7
}
Ending "2050 01 01 00:00"
SpiceOrbit
{
Kernel "ura083.bsp"
Target "703"
Origin "7"
Period 8.7059
BoundingRadius 1e10
}
}
# After SPICE
{
CustomOrbit "titania"
UniformRotation
{
Period 208.94077099 # enforce sync rotation
Inclination 0.0
MeridianAngle 97.2
}
}
]
}
Miranda and Oberon are OK. I don't know what's wrong. I've got all bsp files in data folder.
here two screenshots
Adam Hurcewicz
Bialystok, Poland
Bialystok, Poland
-
Topic authorJohn Van Vliet
- Posts: 2944
- Joined: 28.08.2002
- With us: 22 years 2 months
Re: using SPICE Part one
--- edit----