Main Content

入門

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

Robotics System Toolbox™ Support Package for Universal Robots UR Series Manipulators を使用すると、Universal Robots 製の Universal_Robots_ROS_Driver および universal_robot ROS パッケージにより、Universal Robots 製の物理協働ロボットまたは Gazebo および URSim のシミュレートされた協働ロボットの接続と制御が可能になります。

アプリケーションの意図した最終目標が Universal Robot 製協働ロボットのスタンドアロン操作のみに関係している場合、ティーチング ペンダントと Polyscope ソフトウェアを使用した制御と接続のワークフローが最適なソリューションです。ただし、ロボティクスのユースケースの大部分では、環境は複数のロボットとセンサーで構成され、スタンドアロンの操作は一般的ではありません。このようなシナリオでは、ROS は、ハードウェア抽象化、デバイス ドライバー、ライブラリ、ビジュアライザー、メッセージ伝達、パッケージ管理などの固有の利点のため、広く使用されています。

サポート パッケージは、ROS、Gazebo、および URSim シミュレーターをインストールして構成するための使いやすい設定画面で構成されています。さらに、urROSNode オブジェクトと urROS2Node オブジェクト、およびさまざまなロボットの状態を読み取り、タスクまたはジョイント空間でロボットを制御し、タスクまたはジョイント空間で事前に定義された軌跡をたどり、ロボットの運動を記録するための関連機能で構成されています。

urROSNode オブジェクトの使用方法の詳細については、Getting Started with Connecting and Controlling a UR5e Cobot from Universal Robotsの例を参照してください。

urROS2Node オブジェクトの使用方法の詳細については、Getting Started with Connecting and Controlling a UR5e Cobot from Universal Robots using ROS 2の例を参照してください。

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

関数

urROS2NodeConnection to simulated cobot or physical cobot from Universal Robots over ROS 2 (R2024a 以降)
urROSNodeConnection to simulated cobot or physical cobot from Universal Robots over ROS (R2024a 以降)
universalrobot(Not recommended) Connection to simulated cobot or physical cobot from Universal Robots (R2022a 以降)
getJointConfigurationGet current joint configuration from the robot (R2022a 以降)
getCartesianPoseGet current end-effector pose from the robot (R2022a 以降)
getEndEffectorVelocityGet current end-effector velocities from the robot (R2022a 以降)
getJointVelocityGet current joint velocities from the robot (R2022a 以降)
getMotionStatusGet current motion status of the robot (R2022a 以降)
followTrajectoryCommand robot to move along the desired joint space waypoints (R2022a 以降)
followWaypointsCommand robot to move along the desired task space waypoints (R2022a 以降)
sendCartesianPoseCommand robot to move to desired Cartesian pose (R2022a 以降)
sendCartesianPoseAndWaitCommand robot to move to desired Cartesian pose and wait for the motion to complete (R2022a 以降)
sendJointConfigurationCommand robot to move to desired joint configuration (R2022a 以降)
sendJointConfigurationAndWaitCommand robot to move to joint configuration and wait for the motion to complete (R2022a 以降)
recordRobotStateLog the key robot state parameters during motion of robot (R2022a 以降)
executePrimaryURScriptCommandExecute primary URScript command to control cobot over ROS interface (R2023a 以降)
executeSecondaryURScriptCommandExecute secondary URScript command over ROS interface (R2023a 以降)
handBackControlGet the control back from the External Control program node in the UR program tree (R2023a 以降)

トピック

トラブルシューティング

Troubleshooting

Troubleshoot issues when simulating Universal Robots cobots using URSim or Gazebo