This page shows all the available functions and some example implementations.
- atan2(y,x)
- xyz_rotmat(a,b,g)
- zyx_e_rotmat(a,b,g)
- zyz_e_rotmat(a,b,g)
- xyz_angles(rmat)
- zyx_e_angles(rmat)
- zyz_e_angles(rmat)
- rotmat_x(gamma)
- rotmat_y(beta)
- rotmat_z(alpha)
- transmat_rot_x(gamma)
- transmat_rot_y(beta)
- transmat_rot_z(alpha)
- transmat_transl(a,b,c)
- dh_transmat(a,alpha,d,theta)
- jacobi(funcvec,varvec)
Returns the unequivocally arctangent of the given y and x values.
Where:
y=sin(θ) (opposite side / Gegenkathete)
x=cos(θ) (adjacent side / Ankathete)
Returns the rotation matrix with the "X-Y-Z Roll-Nick-Gier" method
Input: alpha, beta, gamma
World fix transformation
- Rotation around X-axis with angle gamma
- Rotation around Y-axis with angle beta
- Rotation around Z-axis with angle alpha
Returns the rotation matrix with the "Z-Y-X Euler Angle" method
Input: alpha, beta, gamma
Body fix transformation:
- Rotation around Z-axis with angle alpha
- Rotation around Y-axis with angle beta
- Rotation around X-axis with angle gamma
Returns the rotation matrix with the "Z-Y-Z Euler Angle" method
Input: alpha, beta, gamma
Body fix transformation
- Rotation around Z-axis with angle alpha
- Rotation around Y-axis with angle beta
- Rotation around Z-axis with angle gamma
Returns the "X-Y-Z Roll-Nick-Gier" (alpha, beta, gamma) angles from the given rotation matrix.
Input: rotation matrix
World fix transformation
- Rotation around X-axis with angle gamma
- Rotation around Y-axis with angle beta
- Rotation around Z-axis with angle alpha
Returns the "Z-Y-X Euler Angle" (alpha, beta, gamma) angles from the given rotation matrix.
Input: rotation matrix
Body fix transformation
- Rotation around Z-axis with angle alpha
- Rotation around Y-axis with angle beta
- Rotation around X-axis with angle gamma
Returns the "Z-Y-Z Euler Angle" (alpha, beta, gamma) angles from the given rotation matrix.
Input: rotation matrix
- Rotation around Z-axis with angle alpha
- Rotation around Y-axis with angle beta
- Rotation around Z-axis with angle gamma
Returns the rotation matrix of a rotation around the x-axis
Returns the rotation matrix of a rotation around the y-axis
Returns the rotation matrix of a rotation around the z-axis
Returns the transformation matrix of a rotation around the x-axis
Returns the transformation matrix of a rotation around the y-axis
Returns the transformation matrix of a rotation around the z-axis
Returns the transformation matrix of a translation with x=a, y=b, z=c
Returns the Denavit-Hartenberg transformation matrix
Input: a_i, α_i, d_i, θ_i
Returns the Jacobi-Matrix of the given function vector and variable vector
Input:
funcvec := {f1(x,y,...), f2(x,y,...), ...)}
varvec := {x,y,...}
Output = $ \left(\begin{array}{cc} df1/dx & df1/dy & df1/d...\ df2/dx & df2/dy & df2/d...\ df.../dx & df.../dy & df.../d...\ \end{array}\right) $