Hey fremond,
To help control the robotic arm, you can reference the following examples:
- Control PR2 Arm Movements Using ROS Actions and Inverse Kinematics : https://www.mathworks.com/help/robotics/ug/control-pr2-arm-movements-using-actions-and-ik.html
- Model and Control a Manipulator Arm with Robotics and Simscape : https://www.mathworks.com/help/robotics/ug/model-and-control-a-manipulator-arm-with-simscape.html
- Control Stepper Motor Using Digital Outputs : https://www.mathworks.com/help/daq/control-stepper-motor-using-digital-outputs.html