Function lupnt::spice::GetBodyPosVelSpice¶
Defined in File spice.cc
Function Documentation¶
-
Vec6d lupnt::spice::GetBodyPosVelSpice(Real t_tdb, BodyId obs, BodyId target, const std::string &refFrame = "J2000", const std::string &abCorrection = "NONE")¶
Get the position and velocity of
targetrelative toobsatt_tdbdirectly from SPICE (spkezr_c), without LuPNT’s Chebyshev cache.Vec6 (position+velocity) counterpart of
GetBodyPosSpice; see that function for the role ofrefFrame/abCorrection.- Returns:
[r; v]position [km] / velocity [km/s] oftargetrelative toobs, inrefFrame