AttitudeEstimator.estimate

giant.stellar_opnav.estimators:

abstract AttitudeEstimator.estimate()[source]

This method solves for the rotation matrix that best aligns the unit vectors in base_frame_directions with the unit vectors in target_frame_directions and stores the results in rotation attribute.

The solved for rotation should represent the best fit rotation from the database frame to the camera frame.

This method should respect the weighted_estimation flag and weights attribute, if applicable.