MATLAB (pcode) to generate bending angles and calculate the cables length during tracking a spiral-like trajectory
The first file named cableslength.p is an executable MATLAB code (PCODE) which helps to generate the required bending and orientation angles allowing the robot to follow a specific spiral-like trajectory and calculate the cables length for each section during trajectory tracking. The file named Visualization3D.p depicts the 3D simulation during trajectory tracking using ANN.
Steps to reproduce
put the two files in a folder then call that fold from MATLAB then right click on the codes and choose Run. The simulation will run and the data will be saved under .mat format