2-D ROBOT FOR CURVE TRACING (MECHANICAL ENGINEERING)FOR EDUCATIONAL PUPOSE.
The command open robo.fig ( file robo.fig) shows the parameters. The example command roboex (file roboex.m) draws three curves and the robot action.
The command xxx = robo(l1,l2,x,y,n,f) shows the robot's action for your selected curve. The first four arguments are explained in the robo.fig file. n is the size of the vector x|y , ie is the sample points. f is the number of frames for the animation. Noncompatible link lengths will be identified through error messages. The discrete curve is smoothed by the robodat.m file using spline routine.
Anglec.m , int2cir.m, robo1.dat are supplementary files for the main file.
(Note: questions will be answered by emails) |