入門
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 空間で滑らかな軌跡を追跡するために必要なジョイント角度を計算し、事前に計算された軌跡を追跡するようにロボットに命令する方法を示します。
関数
urROS2Node | Connection to simulated cobot or physical cobot from Universal Robots over ROS 2 (R2024a 以降) |
urROSNode | Connection 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 以降) |
getJointConfiguration | Get current joint configuration from the robot (R2022a 以降) |
getCartesianPose | Get current end-effector pose from the robot (R2022a 以降) |
getEndEffectorVelocity | Get current end-effector velocities from the robot (R2022a 以降) |
getJointVelocity | Get current joint velocities from the robot (R2022a 以降) |
getMotionStatus | Get current motion status of the robot (R2022a 以降) |
followTrajectory | Command robot to move along the desired joint space waypoints (R2022a 以降) |
followWaypoints | Command robot to move along the desired task space waypoints (R2022a 以降) |
sendCartesianPose | Command robot to move to desired Cartesian pose (R2022a 以降) |
sendCartesianPoseAndWait | Command robot to move to desired Cartesian pose and wait for the motion to complete (R2022a 以降) |
sendJointConfiguration | Command robot to move to desired joint configuration (R2022a 以降) |
sendJointConfigurationAndWait | Command robot to move to joint configuration and wait for the motion to complete (R2022a 以降) |
recordRobotState | Log the key robot state parameters during motion of robot (R2022a 以降) |
executePrimaryURScriptCommand | Execute primary URScript command to control cobot over ROS interface (R2023a 以降) |
executeSecondaryURScriptCommand | Execute secondary URScript command over ROS interface (R2023a 以降) |
handBackControl | Get the control back from the External Control program node in the UR program tree (R2023a 以降) |
トピック
- Select Simulator for Universal Robots
Select URSim or Gazebo
- ROS Interface for Universal Robots
Use ROS interface for complex applications with Universal Robots
- Launch and Set Up URSim
Launch and load the program in URSim
- Control ROS Enabled End-Effector Using MATLAB
Use ROS drivers along with end-effectors for Universal Robots
- Installation of ROS Drivers for Intel RealSense Devices
Install ROS drivers for RGBD camera for bin picking examples.
トラブルシューティング
Troubleshoot issues when simulating Universal Robots cobots using URSim or Gazebo