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.
引用格式
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. 检索时间: .
MATLAB 版本兼容性
平台兼容性
Windows macOS Linux类别
- 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 >
标签
致谢
社区
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0.0.0 | Nothing is updated |