Get Started with Real-Time Data Exchange (RTDE) Connectivity Interface
The Robotics System Toolbox Support Package for Universal Robots UR Series Manipulators enables connectivity and control of physical cobots from Universal Robots or simulated cobots in URSim using packages from Universal Robots, over Real-Time Data Exchange (RTDE).
After completing the initial setup for RTDE (as explained in Setup for Connecting UR Series Manipulators over RTDE), you can establish a connection between the URControl (low-level robot controller running on the Mini-ITX PC in the Control Box) and MATLAB® (client), and program the cobot using URScript-based functions.
The urRTDEClient
object has functions to control
individual joint angles and Cartesian pose of the robot. More advanced
functions demonstrate how to use Robotics System Toolbox features to compute joint angles required to track a smooth
trajectory in 3D space and command the robot to track the pre-computed
trajectory.
Functions
urRTDEClient | Connect to simulated or physical cobot from Universal Robots over RTDE (Since R2024a) |
followCartesianWaypoints | Command robot to move along the desired Cartesian waypoints (Since R2024a) |
followJointWaypoints | Command robot to move along the desired joint space waypoints (Since R2024a) |
readCartesianPose | Get current end-effector pose from the robot (Since R2024a) |
readEndEffectorVelocity | Get current end-effector velocities from the robot (Since R2024a) |
readJointConfiguration | Get current joint configuration from the robot (Since R2024a) |
readJointVelocity | Get current joint velocities from the robot (Since R2024a) |
readMotionStatus | Get current motion status of the robot (Since R2024a) |
recordRobotState | Log the key robot state parameters during motion of robot (Since R2024a) |
sendJointConfiguration | Command robot to move to desired joint configuration (Since R2024a) |
sendJointConfigurationAndWait | Command robot to move to joint configuration and wait for the motion to complete (Since R2024a) |
sendCartesianPoseAndWait | Command robot to move to desired Cartesian pose and wait for the motion to complete (Since R2024a) |
manageGripperAttachment | Attach or detach gripper connected to Universal Robots cobot (Since R2024a) |
actuateGripper | Control attached gripper with grip or release action (Since R2024a) |
sendServoJCommands | Send Servoj commands (Since R2024a) |
sendSpeedJCommands | Send speedj commands (Since R2024a) |
executeURScriptCommand | Send URScript command to control cobot over RTDE interface (Since R2024a) |