Create SE(3) transformation with no translation but with a rotation defined by an axis-angle rotation. Define the axis-rotation with vector of [0.5 0.25 0.5] to be the axis and a pi/2 rotation about that axis.
axa1 = [0.5 0.25 0.5 pi/2];
T = se3(axa1,"axang");
Get the axis-angle rotation from the transformation.
Create SO(3) transformation with a rotation defined by an axis-angle rotation. Define the axis-rotation with vector of [0.5 0.25 0.5] to be the axis and a pi/2 rotation about that axis.
axa1 = [0.5 0.25 0.5 pi/2];
R = so3(axa1,"axang");
Get the axis-angle rotation from the transformation. Note that the vector of the axis-angle rotation has a different magnitude from the axis-angle rotation specified to the transformation but the defined axis and rotation are the same.
Axis-angle rotation angles, specified as an N-by-4 matrix of
N axis-angle rotations. The first three elements of
every row specify the rotation axes, and the last element defines the rotation angle, in
radians.
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window.
Web browsers do not support MATLAB commands.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: United States.
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.