matlab
simulation of classical arm-type robotics.
I started to do this in MATLAB but got a little stuck, mainly because I didn’t have enough time. You have to set up a robot model with the robot command, then use ikine to solve for inverse kinematics, but I wasn’t able to get it to fully work.
I wrote a VBA script that will take the output text file from BrainSight and put the data into a form that can be interpreted through LabVIEW. I could probably also make it work with MATLAB.
What you need to do: Look at the Robotics Toolbox and figure out how to model inverse kinematics for our robot. There is built-in help for a lot of the Robotics Toolbox stuff. There are some examples online as well. You’ll need an end-effector transform (4×4 matrix) in order to do the inverse kinematics. We essentially want to input an end effector matrix and get robot joint angles out.