Skip to content

This repository provides a Python script (ur10_control.py) for controlling a UR10 robot using the URX library. The script allows users to connect to a UR10 robot, move it to a specified position, rotate it around its fixed position, and perform other basic operations.

Notifications You must be signed in to change notification settings

codershiyar/robot-programming

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

ur10-python-control

This repository provides a Python script (ur10_control.py) for controlling a UR10 robot using the URX library. The script allows users to connect to a UR10 robot, move it to a specified position, rotate it around its fixed position, and perform other basic operations.

Controlling UR10 Robot Using Python

This repository provides a simple Python script to control a UR10 robot. The script utilizes the urx library for communication with the robot over the network.

Prerequisites

Before running the script, ensure that you have the following:

  • Python installed on your system
  • The urx library installed (can be installed via pip: pip install urx)
  • The IP address of your UR10 robot

Usage

  1. Clone this repository to your local machine:

git clone https://github.com/yourusername/ur10-python-control.githttps://github.com/codershiyar/ur10-python-control

  1. Navigate to the repository directory:

cd ur10-python-control

  1. Open the ur10_control.py file and replace "192.168.1.100" with the IP address of your UR10 robot.

  2. Run the script:

python ur10_control.py

This will connect to the robot, move it to a specified position, pause for safety, stop the robot, and disconnect from it.

Customization

You can customize the script by modifying the target position in the ur10_control.py file. Additionally, you can adjust the acceleration and velocity parameters for the movement.

Replace "192.168.1.100" in the Python script and the README.md file with the actual IP address of your UR10 robot.

About

This repository provides a Python script (ur10_control.py) for controlling a UR10 robot using the URX library. The script allows users to connect to a UR10 robot, move it to a specified position, rotate it around its fixed position, and perform other basic operations.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages