Giter Site home page Giter Site logo

ryanpaulmckenna / onrobot Goto Github PK

View Code? Open in Web Editor NEW
7.0 1.0 1.0 35 KB

A simple gripper library for UR robot with onRobot gripper, no onrobot compute box needed!

Home Page: https://pypi.org/project/onRobot/

License: MIT License

Python 100.00%
onrobot universalrobotics

onrobot's Introduction

onRobot

Developed at The University of York

A simple gripper library to use a Universal Robot with an onRobot gripper, no onrobot compute box needed.

Supported onRobot Grippers

  • RG2
  • VG10
  • Gecko
  • SG
  • TFG
  • SDR
  • 2FG
  • MG
  • FGP

See further down for usage examples

  • Simple and easy to use!
  • No onRobot compute box needed!
  • Communicates with XML-RPC interface so is compatible with ROS driver!
  • Supports RG2 only, more coming soon!

Install instructions

pip install onrobot

Example Usage

import onRobot.gripper as gripper

rg_id = 0
ip = "192.168.56.101"
rg_gripper = gripper.RG2(ip,rg_id)

rg_width = rg_gripper.get_rg_width()
print("rg_width: ",rg_width)

target_force = 40.00

rg_gripper.rg_grip(100.0, target_force)

Functions implemented for the RG2

  • rg_stop
  • rg_grip
  • rg_calibration
  • rg_get_all_variables
  • rg_get_all_double_variables
  • rg_get_all_integer_variable>
  • rg_get_all_boolean_variable>
  • rg_get_speed
  • rg_get_depth
  • rg_get_relative_depth
  • rg_get_angle
  • rg_get_angle_speed
  • rg_get_width
  • rg_get_fingertip_offset
  • rg_get_status
  • rg_get_busy
  • rg_get_grip_detected
  • rg_get_s1_pushed
  • rg_get_s1_triggered
  • rg_get_s2_pushed
  • rg_get_s2_triggered
  • rg_get_safety_failed
  • rg_set_fingertip_offset

Functions implemented for the VG10

  • vg10_grip
  • vg10_release
  • [] vg10_idle
  • [] vg10_get_vacuum
  • [] vg10_get_all_double_variables

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.