Page 1 of 1

Spice spacecraft rotation model not working

Posted: 04.07.2020, 08:38
by rl90599
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"
}
}

Posted: 05.07.2020, 15:33
by John Van Vliet
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
     
     
    }
}
  ]
   
    }

   


Posted: 05.07.2020, 18:39
by rl90599
Thanks JVV! I also didn't know that vg1_super.bc file existed.

Posted: 06.07.2020, 02:09
by John Van Vliet
for those that do not know the spice kernels are here
ftp://naif.jpl.nasa.gov/pub/naif/VOYAGER/kernels/