spkcpo

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

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

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

The values above are:
Epoch
State: Kilometers; Kilometers/Second
Light Travel Time: Seconds

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:

[(-256387.71, 259021.9, 148136.81); (-0.7185901, -0.62086363, -0.24174899)]

(0.980 km/s for J2000, vs 25.97 km/s IAU_EARTH)

Also see

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

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

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

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.

Reach Out