The MaxQ blueprint action spkcpo returns the state of a specified target relative to a constant position “observer”.
From the SPICE documentation:
spkcpo Abstract
Return the state of a specified target relative to an “observer,”
where the observer has constant position in a specified reference
frame. The observer’s position is provided by the calling program
rather than by loaded SPK files.
spkcpo Action
This can be used to obtain state information at fixed locations in a fixed frame.
The state of Moon as observed by Seattle
2022 JAN 19 02:32:36.940 UTC
[(346758.46, -129593.08, 144072.03); (-9.3086562, -24.24794, -0.24873608)]
1.32502
Note that the velocity is primarily due to the Earth’s rotation. The Moon transits Earth’s sky approximately once per month by its own orbit, but once per day due to Earth’s rotation. So, the Moon’s motion through IAU_EARTH should be approximately 30x larger than its velocity through J2000. And it is. Compare the above to the results of spkezr/J2000:
spkcvo Abstract
Return the state of a specified target relative to an “observer,”
where the observer has constant velocity in a specified reference
frame. The observer’s state is provided by the calling program
rather than by loaded SPK files.
spkcvo Action
spkcpt Abstract
Return the state, relative to a specified observer, of a target
having constant position in a specified reference frame. The
target’s position is provided by the calling program rather than
by loaded SPK files.
spkcpt Action
spkcvt Abstract
Return the state, relative to a specified observer, of a target
having constant velocity in a specified reference frame. The
target’s state is provided by the calling program rather than by
loaded SPK files.
spkcvt Action
Still Didn’t Find Your Answer?
We’d love to hear from you, whether you’re looking for an answer or just had a really good day and want to tell someone about it.