MATLAB AND SIMULINK HARDWARE CHALLENGE: Robot arm MatLab files
This script is responsible for getting 3D data from the Kinect, where we have used the MATLAB interface for Kinect 2.0 by Terven Juan and Cordova-Esparza Diana. After we have gotten the 3D coordinates we have used the inverse kinematics and Newton's method to find the rotational angles required for the robot. Then we output the rotational angles via serial to the Arduino and wait for a finish flag from the Arduino when it has finished moving the motors to its position.
We are transferring 7 bytes of information to the Arudino, first three are for the angles, and the next three are for the directions and the last byte is for the hand state.
Cite As
David Yu (2024). MATLAB AND SIMULINK HARDWARE CHALLENGE: Robot arm MatLab files (https://www.mathworks.com/matlabcentral/fileexchange/58371-matlab-and-simulink-hardware-challenge-robot-arm-matlab-files), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- Test and Measurement > Image Acquisition Toolbox > Image Acquisition in Simulink >
- Image Processing and Computer Vision > Image Acquisition Toolbox > Image Acquisition in Simulink >
- Mathematics and Optimization > Optimization Toolbox > Systems of Nonlinear Equations > Newton-Raphson Method >
- Test and Measurement > Image Acquisition Toolbox > Image Acquisition Toolbox Supported Hardware > Kinect For Windows Sensor >
- Image Processing and Computer Vision > Image Acquisition Toolbox > Image Acquisition Toolbox Supported Hardware > Kinect For Windows Sensor >
- Image Processing and Computer Vision > Computer Vision Toolbox > Computer Vision Toolbox Supported Hardware >
- Test and Measurement > Image Acquisition Toolbox > Image Data Acquisition > Acquisition Using Kinect for Windows Hardware >
- Image Processing and Computer Vision > Image Acquisition Toolbox > Image Data Acquisition > Acquisition Using Kinect for Windows Hardware >
- Engineering > Electrical and Computer Engineering > Robotics >
Tags
Acknowledgements
Inspired by: Kinect 2 Interface for Matlab
Communities
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 | Nothing is updated |