Parameters are defined in files : r2dof.m and r3dof.m The real code is in files: r2dof_control.m, r3dof_control.m The animations can be visualised in : anim.m and animation.m
Before running the animation files, it is very important to run the control files first