protomotions.utils.rotations module#

protomotions.utils.rotations.tan_norm_to_quat(tan_norm, w_last)[source]#

Inverse of quat_to_tan_norm. Converts 6D [x_axis, z_axis] back to quaternion.

class protomotions.utils.rotations.TestQuatFromTwoVectors(methodName='runTest')[source]#

Bases: TestCase

test_same_vectors()[source]#
test_orthogonal_vectors()[source]#
test_w_first_format()[source]#
class protomotions.utils.rotations.TestQuatAngleAxis(methodName='runTest')[source]#

Bases: TestCase

alternative_quat_angle_axis(x, w_last)[source]#

Alternative implementation of quat_angle_axis to compare against

test_implementations_comparison()[source]#