Spice spacecraft rotation model not working

Have a question about using Celestia? Check here first for FAQs and helpful advice.
Forum rules
Please help to make this forum more useful by checking the FAQs before posting! Keep it clean, keep it civil, keep it truthful, stay on topic, be responsible, share your knowledge.
Avatar
Topic author
rl90599
Posts: 31
Joined: 05.05.2020
With us: 4 years 6 months

Spice spacecraft rotation model not working

Post #1by rl90599 » 04.07.2020, 08:38

Hello, I managed to get Voyager 1's SPICE kernels and it actually worked, except for the rotation model. When I go near it, it looks stretched and flashes whenever I move the camera or when the time period of the rotation model ends. It also doesn't "rotate," it just stays there in a fixed orientation. Is there a way to fix this?
notwork2.JPG

notwork.JPG


It also says, "There is insufficient information available to transform from ... to frame ... (ECLIP J2000). Frame-..."

Here is my .ssc code:

Code: Select all

# Voyager Space Probes

"Voyager 1" "Sol"
{
   Class "spacecraft"
      Mesh "voyager.3ds"  #this mesh displays the laser disc
   Texture "voyager.jpg"
   Radius   0.01

      Beginning "1977 09 05 12:00"   #Launch
      # Ending ???

    SpiceOrbit {
        Kernel [
            "Voyager_1.a54206u_V0.2_merged.bsp"
        ]

        Origin "SUN"
        Target "VOYAGER 1"
        BoundingRadius 10
    }

   Albedo 0.1
SpiceRotation {
    Kernel [
        "vg1_jup_qmw_na.bc"
        "vg1_v02.tf"
        "vg100030.tsc"       
        "naif0012.tls"
    ]
    Frame "VG1_SC_BUS"
}
}
"m" - rl90599

Avatar
John Van Vliet
Posts: 2944
Joined: 28.08.2002
With us: 22 years 2 months

Post #2by John Van Vliet » 05.07.2020, 15:33

here is a copy of my ssc file

Code: Select all



 "Voyager 1" "Sol"
{
  Class "spacecraft"
  Mesh "Voyager.bin.cmod"
  MeshCenter [ 0 0 0 ]
  Radius 0.01
 
    Orientation [ 0 1 0 0 ]
 

Timeline
[




######## dec. 1980 to end

{
   
    OrbitFrame { EclipticJ2000 { Center "Sol"}}
    BodyFrame { EquatorJ2000 { Center "Sol" } }

    Starting  "1980 12 20 16:45:19.847"
    Ending    "2031 01 01 00:00:00.000"


    SpiceOrbit
    {
      Kernel
      [

       "Voyager_1.a54206u_V0.2_merged.bsp"
     
      ]

      Target "-31"
      Origin "10"
      Period 20
      BoundingRadius 1e10
    }
   
   
     SpiceRotation
    {
      Kernel
      [
       "naif0012.tls"
       "vg100019.tsc"
       "vg1_v02.tf"
       "vgr1_super_v2.bc"
      ]
      Frame      "VG1_HGA"  # pointing to earth
     
     
    }
}
  ]
   
    }

   


Avatar
Topic author
rl90599
Posts: 31
Joined: 05.05.2020
With us: 4 years 6 months

Post #3by rl90599 » 05.07.2020, 18:39

Thanks JVV! I also didn't know that vg1_super.bc file existed.
"m" - rl90599

Avatar
John Van Vliet
Posts: 2944
Joined: 28.08.2002
With us: 22 years 2 months

Post #4by John Van Vliet » 06.07.2020, 02:09

for those that do not know the spice kernels are here
ftp://naif.jpl.nasa.gov/pub/naif/VOYAGER/kernels/


Return to “Help Central”