- Download the robotic.tns file.
- Open the robotic.tns file with the TI-Nspire™ CX CAS Student Software.
- Connect your TI-Nspire™ CX CAS over the USB cable with your PC.
- In the software go to File/Save to Handheld...
- Double click on your TI-Nspire™ CX CAS in the appeared window.
- Go to "MyLib", rename the file to "robotic" and press Save.
- Open a new Calculator page on your TI-Nspire™ CX CAS.
- Press the "doc" button.
- Update the libraries by pressing the number 6.
- To access the new functions, press the library button, the number 6 and search for "robotic".
Download this function documentation as pdf.
Function to calculate the arctan2. See Wikipedia
Parameters:
- y: sinus
- x: cosinus
Returns:
- Related angle θ
Note: Works for rad and deg. Calculater settings are crucial.
Function to get the rotation matrix around the x-axis.
Parameters:
- θ: Angle around the x-axis. Works for rad and deg. Calculater settings are crucial.
Returns:
- rotation matrix (4x4).
Function to get the rotation matrix around the y-axis.
Parameters:
- θ: Angle around the y-axis. Works for rad and deg. Calculater settings are crucial.
Returns:
- rotation matrix (4x4).
Function to get the rotation matrix around the z-axis.
Parameters:
- θ: Angle around the z-axis. Works for rad and deg. Calculater settings are crucial.
Returns:
- rotation matrix (4x4).
Function to calculate the retransformation angles according to the X-Y-Z Roll-Gier-Nick Convention.
Parameters:
- r (3x3): Rotation matrix.
Returns:
- β
- α
- γ
Function to calculate the retransformation angles according to the Z-Y-Z Euler Convention.
Parameters:
- r (3x3): Rotation matrix.
Returns:
- β
- α
- γ
Function to calculate the retransformation matrix according to the X-Y-Z Roll-Gier-Nick Convention.
Parameters:
- α
- β
- γ
Returns:
- r (3x3): Rotation matrix.
Function to calculate the retransformation matrix according to the Z-Y-X Euler Convention.
Parameters:
- α
- β
- γ
Returns:
- r (3x3): Rotation matrix.
Function to calculate the retransformation matrix according to the Z-Y-Z Euler Convention.
Parameters:
- α [rad]
- β [rad]
- γ[rad]
Returns:
- r (3x3): Rotation matrix.
Function returns all transformation matrices for the intermediate steps and at the end the total transformation matrix.
Parameters:
- dh (nx4): The Denavit-Hartenberg matrix is entered according to the following convention:
Returns:
- transformation matrices
Function returns parameters for a fully synchronous PTP motion with trapezoidal velocity profile.
Parameters:
- s1: distance 1
- s2: distance 2
- v1: speed 1
- v2: speed 2
- a1: acceleration 1
- a2: acceleration 2
Returns:
- acceleration time
- constant travel time
- total time
- synchronized acceleration
- synchronized speed
Function to calculate the Jacobi matrix. The Jacobi matrix of a robot arm describes the mapping of joint velocities to the linear velocity of the TCP and the temporal changes of the orientation of the end-effector.
Parameters: [rad]
- xe: Position in X-direction of the TCP.
- ye: Position in Y-direction of the TCP.
- Φe: Angle of the TCP.
- θ1: Angle of the first section of the robot.
- θ3: Angle of the last section of the robot.
- d2: Length of the first section of the robot.
Returns:
- Jacobi matrix
