Convert 3d vector of axis-angle rotation to 4d quaternion. Shape: - Input: :Torch:`(..., 3)` - Output: :Torch:`(..., 4)`
(angle_axis)
| 90 | return angle_axis |
| 91 | |
| 92 | def axis_angle_to_quaternion(angle_axis): |
| 93 | """ |
| 94 | Convert 3d vector of axis-angle rotation to 4d quaternion. |
| 95 | Shape: |
| 96 | - Input: :Torch:`(..., 3)` |
| 97 | - Output: :Torch:`(..., 4)` |
| 98 | """ |
| 99 | quaternion = tgm.angle_axis_to_quaternion(angle_axis) |
| 100 | return quaternion |
| 101 | |
| 102 | def quaternion_to_rot6d(quaternion): |
| 103 | """ |
no outgoing calls
no test coverage detected