UR5 Control Using Matlab

Read current robot tooltip, move to desired pose and orientation
Updated 26 May 2015

View License

Read current robot tooltip position and orientation, move to desired position and orientation.
You can also activate or deactivate cooperative control mode in CB2 controller; or read robot pose while you are moving it in cooperative or automatic mode.
You can also control UR5 using 3d mouse.
Requires running a program on Polyscope software (in the package). Tested on several UR5 (CB2) and Polyscope versions.

Cite As

Fereshteh Aalamifar (2024). UR5 Control Using Matlab (https://www.mathworks.com/matlabcentral/fileexchange/50655-ur5-control-using-matlab), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2013b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Inspired by: 3D mouse support

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes

Cooperative control in all directions

Added cooperative mode activation and real time robot pose reading

Added 3d mouse control

Decreased the delay in moverobot.

Fixed a bug in the example.

Added comments.