Cassini SPICE problem |
Cassini SPICE problem |
May 14 2006, 12:22 AM
Post
#1
|
|
IMG to PNG GOD Group: Moderator Posts: 2250 Joined: 19-February 04 From: Near fire and ice Member No.: 38 |
This is a slightly unusual topic .
I have been writing a utility program to extract lots of information from the Cassini SPICE kernels, for example determining exactly what Cassini's cameras 'see' at a given time. I'm using the CSPICE toolkit. I have had no problems determining Cassini's location in either the J2000 or the IAU_<target> reference frames and subsequently the subspacecraft longitude/latitude, distance and illumination geometry using spkezr_c, subpt_c etc. However, determining the camera pointing and then using it to determine the location of the subspacecraft point in the image as well as the north azimuth has been problematic. This is trivial if I know the camera angles (right ascension, declination and twist), see e.g. appendix A in Cooper et. al., Icarus 181 (2006), 223-234. However if I don't know these angles I need to extract a C-matrix from one of the CK kernel files. This works but these files contain only the rotation of the entire spacecraft (this is not unexpected since the instruments are body fixed so this can be used to determine where they are looking). However, I have had problems using this C-matrix to determine the exact viewing geometry. I need to somehow 'convert' it to a C-matrix that gives me the camera angles. My code is very close to working but one of the camera angles is always off by 180 degrees. I will probably eventually figure this out but I know there are some people here who have done something similar, in particular jmknapp (however, he has been inactive for several weeks now) so I decided to try asking here. Has anyone here done something similar to what I'm doing ? |
|
|
Lo-Fi Version | Time is now: 19th March 2024 - 11:44 AM |
RULES AND GUIDELINES Please read the Forum Rules and Guidelines before posting. IMAGE COPYRIGHT |
OPINIONS AND MODERATION Opinions expressed on UnmannedSpaceflight.com are those of the individual posters and do not necessarily reflect the opinions of UnmannedSpaceflight.com or The Planetary Society. The all-volunteer UnmannedSpaceflight.com moderation team is wholly independent of The Planetary Society. The Planetary Society has no influence over decisions made by the UnmannedSpaceflight.com moderators. |
SUPPORT THE FORUM Unmannedspaceflight.com is funded by the Planetary Society. Please consider supporting our work and many other projects by donating to the Society or becoming a member. |