Package gaiasky.data.orientation
Class QuaternionNlerpOrientationServer
java.lang.Object
gaiasky.data.orientation.QuaternionInterpolationOrientationServer
gaiasky.data.orientation.QuaternionNlerpOrientationServer
- All Implemented Interfaces:
OrientationServer
Orientation server that reads a list of times and quaternions from a file, and interpolates
them using
QuaternionDouble.nlerp(QuaternionDouble, double)
.-
Field Summary
Fields inherited from class gaiasky.data.orientation.QuaternionInterpolationOrientationServer
lastOrientation
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected QuaternionDouble
interpolate
(QuaternionDouble q0, QuaternionDouble q1, double alpha) Methods inherited from class gaiasky.data.orientation.QuaternionInterpolationOrientationServer
getCurrentOrientation, hasOrientation, updateOrientation, updateOrientation
-
Constructor Details
-
QuaternionNlerpOrientationServer
-
-
Method Details
-
interpolate
- Specified by:
interpolate
in classQuaternionInterpolationOrientationServer
-