kotrba6 / UR3-robot-control-with-SpaceMouse

0 stars 0 forks source link

Control of UR Robot Using SpaceMouse

Czech/English

Contents

Introduction

This project consists of a modular program designed for initializing and controlling a USB device and a Universal Robot (UR) robotic arm. The program reads data from the USB device and processes it to control the movements of the robotic arm.

Installation

Requirements

Steps

  1. Clone the repository:
    git clone https://github.com/kotrba6/UR3-robot-control-with-SpaceMouse.git
    cd UR3-robot-control-with-SpaceMouse
  2. Install dependencies:
    pip3 install -r requirements.txt

Usage

Running the Program

  1. Set the parameters in the config.py file:

    • Enter the correct Vendor ID and Product ID of the USB device.
    • Enter the correct IP address of the UR robotic arm.
    • Set the maximum speed for translation and rotation.
    • Set the default position of the UR robotic arm.
  2. Run the UR_control.py script:

    python UR_control.py

After running the script, it should be possible to control the robotic arm using the SpaceMouse.

Description of Scripts

Features

Configuration

The config.py file contains the following configurable parameters:

Contributing

Contributions are welcome! Please follow these steps:

  1. Fork the repository.
  2. Create a new branch (git checkout -b feature-branch).
  3. Commit your changes (git commit -m 'Add new feature').
  4. Push to the branch (git push origin feature-branch).
  5. Open a pull request.