Features
This function transforms a rotation vector to a rotation matrix.
Parameters
|
Parameter Name |
Data Type |
Default Value |
Description |
|---|---|---|---|
|
rotvec |
float[3] |
- |
rotation vector [rad] |
Return
|
Value |
Description |
|---|---|
|
float[3][3] |
Rotation matrix |
Exception
|
Exception |
Description |
|---|---|
|
DR_Error (DR_ERROR_TYPE) |
Parameter data type error occurred |
Example
Python
rotm = rotvec2rotm([0.7854,0,0])