Ru
Specification
Location | Author | Maintained by |
---|---|---|
isl/math/matrix3.py | Kenny Erleben | DIKU |
Purpose & Params
Creates a euler rotation matrix given oritation (radians) and the axis.
Example
radians = 0.5 * np.pi
axis = np.array([1,0,0])
print(mat3.Ru(radians, axis))
output:
[[ 1.000000e+00 0.000000e+00 0.000000e+00]
[ 0.000000e+00 6.123234e-17 -1.000000e+00]
[ 0.000000e+00 1.000000e+00 6.123234e-17]]