Repository navigation
why get_rotation_matrix_from_axis_angle only need one parameter? #6539
|
according to the doc, get_rotation_matrix_from_axis_angle only needs one (3, 1) parameter rotation. But based on its name, I think it needs two parameters to get the rotation matrix: roatation_axis and rotation_angle I tried to pass two parameters and got an error: I still don't know how this method works |
Replies: 1 comment
|
@Carloszone See the example here https://en.wikipedia.org/wiki/Axis%E2%80%93angle_representation#Example. The rotation angle can be stored in rotation vector as its magnitude. |
@Carloszone See the example here https://en.wikipedia.org/wiki/Axis%E2%80%93angle_representation#Example. The rotation angle can be stored in rotation vector as its magnitude.