メインコンテンツ

Real-Time Data Exchange (RTDE) 接続インターフェイス入門

Robotics System Toolbox™ Support Package for Universal Robots UR Series Manipulators で、Universal Robots 製の物理協働ロボットとシミュレートされた協働ロボットを使用した RTDE 接続の基本を確認する

Robotics System Toolbox Support Package for Universal Robots UR Series Manipulators を使用すると、Universal Robots のパッケージにより、Universal Robots 製の物理協働ロボットや URSim のシミュレートされた協働ロボットの Real-Time Data Exchange (RTDE) を介した接続と制御が可能になります。

RTDE 用の初期設定 (RTDE を介して UR シリーズ マニピュレーターを接続するための設定を参照) が完了したら、URControl (コントロール ボックス内の Mini-ITX PC で実行される低水準ロボット コントローラー) と MATLAB® (クライアント) の間の接続を確立し、URScript ベースの関数を使用して協働ロボットをプログラムできます。

urRTDEClient オブジェクトは、ロボットの個々のジョイント角度と直交座標の姿勢を制御する機能を備えています。より高度な機能では、Robotics System Toolbox の機能を使用して、3D 空間で滑らかな軌跡を追跡するために必要なジョイント角度を計算し、事前に計算された軌跡を追跡するようにロボットに命令する方法を示します。

関数

urRTDEClientConnect to simulated or physical cobot from Universal Robots over RTDE (R2024a 以降)
followCartesianWaypointsCommand robot to move along the desired Cartesian waypoints (R2024a 以降)
followJointWaypointsCommand robot to move along the desired joint space waypoints (R2024a 以降)
readCartesianPoseGet current end-effector pose from the robot (R2024a 以降)
readEndEffectorVelocityGet current end-effector velocities from the robot (R2024a 以降)
readJointConfigurationGet current joint configuration from the robot (R2024a 以降)
readJointVelocityGet current joint velocities from the robot (R2024a 以降)
readMotionStatusGet current motion status of the robot (R2024a 以降)
recordRobotStateLog the key robot state parameters during motion of robot (R2024a 以降)
sendJointConfigurationCommand robot to move to desired joint configuration (R2024a 以降)
sendJointConfigurationAndWaitCommand robot to move to joint configuration and wait for the motion to complete (R2024a 以降)
sendCartesianPoseAndWaitCommand robot to move to desired Cartesian pose and wait for the motion to complete (R2024a 以降)
manageGripperAttachmentAttach or detach gripper connected to Universal Robots cobot (R2024a 以降)
actuateGripperControl attached gripper with grip or release action (R2024a 以降)
sendServoJCommandsSend Servoj commands (R2024a 以降)
sendSpeedJCommandsSend speedj commands (R2024a 以降)
executeURScriptCommandSend URScript command to control cobot over RTDE interface (R2024a 以降)

ブロック

Actuate GripperActuate gripper connected to cobot (R2025a 以降)
Read Controller OutputRead specified signals from UR Controller using RTDE interface (R2025a 以降)
Read Motion StatusRead motion status of cobot from UR Controller using RTDE interface (R2025a 以降)
Follow Joint WaypointsCommand UR Series cobot using the RTDE interface to follow a specified set of joint positions (R2025a 以降)
Read Joint ConfigurationRead current joint configuration from UR Controller using RTDE interface (R2025a 以降)
Send Joint ConfigurationCommand the UR cobot using the RTDE interface to move to a specified joint configuration (R2025a 以降)

注目の例