urRTDEClient
Conectarse al cobot simulado o físico de Universal Robots por RTDE
Desde R2024a
Descripción
El objeto urRTDEClient representa una conexión desde MATLAB al servidor Real-Time Data Exchange (RTDE) en el controlador de Universal Robots (UR). Puede conectarse al controlador UR del simulador offline URSim de Universal Robots o al controlador UR de un cobot físico y, después, intercambiar datos a través del protocolo RTDE (versión 2). Para interactuar con el cobot y leer datos de estado de robots, enviar comandos de control cartesiano y de articulaciones, y seguir un conjunto de waypoints de espacio articular o espacio cartesiano, utilice este objeto con las funciones enumeradas en Funciones de objeto.
Creación
Descripción
crea una conexión, ur = urRTDEClient(URControllerIP)ur, y se conecta al servidor RTDE en el controlador UR con la dirección IP especificada. El controlador UR puede ejecutarse en el simulador URSim o en el Mini-ITX PC en la caja de control.
establece propiedades mediante uno o más argumentos nombre-valor. Por ejemplo, para intercambiar datos a una velocidad de 500 Hz, establezca ur = urRTDEClient(URControllerIP,Name=Value)RTDEFrequency en 500.
Argumentos de entrada
Propiedades
Funciones del objeto
readJointConfiguration | Obtener la configuración de articulación actual del robot |
readJointVelocity | Get current joint velocities from the robot |
readCartesianPose | Get current end-effector pose from the robot |
readEndEffectorVelocity | Get current end-effector velocities from the robot |
recordRobotState | Log the key robot state parameters during motion of robot |
sendJointConfiguration | Command robot to move to desired joint configuration |
sendJointConfigurationAndWait | Command robot to move to joint configuration and wait for the motion to complete |
sendCartesianPoseAndWait | Command robot to move to desired Cartesian pose and wait for the motion to complete |
readMotionStatus | Get current motion status of the robot |
manageGripperAttachment | Attach or detach gripper connected to Universal Robots cobot |
actuateGripper | Control attached gripper with grip or release action |
sendServoJCommands | Send Servoj commands |
sendSpeedJCommands | Send speedj commands |
executeURScriptCommand | Enviar el comando URScript para controlar un cobot mediante interfaz RTDE |
followCartesianWaypoints | Command robot to move along the desired Cartesian waypoints |
followJointWaypoints | Command robot to move along the desired joint space waypoints |
Ejemplos
Historial de versiones
Introducido en R2024a