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_Driveruniversal_robot ROS 패키지를 사용하여 Universal Robots의 물리적 협동로봇 또는 Gazebo와 URSim의 시뮬레이션된 협동로봇을 연결하고 제어할 수 있습니다.

응용 사례의 최종 목표가 Universal Robot 협동로봇만을 독립적으로 조작하는 것이라면 교시 조작기(tech pendant)와 Polyscope 소프트웨어를 사용한 제어 및 연결 워크플로가 이상적인 솔루션입니다. 그러나 대부분의 로보틱스 사용 사례에서 환경은 다수의 로봇과 센서로 구성되며, 독립적 조작은 흔하지 않습니다. 이러한 시나리오에서는 하드웨어 추상화, 장치 드라이버, 라이브러리, 시각화, 메시지 전달, 패키지 관리 등의 내재된 장점으로 인해 ROS가 널리 사용됩니다.

지원 패키지는 사용자 친화적인 설정 화면으로 구성되어 있으며 ROS, Gazebo, URSim 시뮬레이터를 설치하고 구성할 수 있습니다. 또한 이 패키지는 urROSNodeurROS2Node 객체와 여러 관련 함수로 구성되어 있어서 다양한 로봇 상태를 읽고, 작업 공간이나 조인트 공간에서 로봇을 제어하고, 작업 공간이나 조인트 공간에서 미리 정의된 궤적을 따르고, 로봇 모션을 기록할 수 있습니다.

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 기능을 사용하여 3차원 공간에서 매끄러운 궤적을 추적하는 데 필요한 조인트 각도를 계산하는 방법과 로봇이 미리 계산된 궤적을 추적하도록 명령하는 방법을 보여줍니다.

함수

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