Hi everyone,
I am using the transformPVCoordinates method from the Transform class to compute PVCoordinates from an initial state. When calling the getVelocity() method on the returned PVCoordinates, I am getting the following TypeError :
E TypeError: No matching overloads found for org.orekit.utils.PVCoordinatesProvider.getVelocity(), options are:
E public default org.hipparchus.geometry.euclidean.threed.Vector3D org.orekit.utils.PVCoordinatesProvider.getVelocity(org.orekit.time.AbsoluteDate,org.orekit.frames.Frame)
It looks like the PVCoordinates are confused with a PVCoordinatesProvider. This comes up only when using the Jpype-based wrapper (I made sure I was using the right version this time, which is 13.1) and looks a lot like a previously reported issue : 440. I am also calling getPosition() on the same object right before trying to get the velocity, and it works fine in Jpype as well.
Am I doing something wrong ?
Edit : a potential workaround would consist in building the PVCoordinates explicitly using the constructor PVCoordinates(scale factor, original PVCoordinates) with a scale factor set to 1.
Thanks !