Git Product home page Git Product logo

onrobot_sg's Introduction

onrobot Soft Gripper ROS Package

This package is written based on package from Assistant Prof. takuya-ki. I worked on UR5 Robot with onrobot-sg gripper and I want use ROS to control it but ROS package for onrobot-sg is nowhere to be found on the internet. So, I decided to wrote one and share it. [for mom!]

Note

This package is written to work on ROS Melodic (Python 2.7). But with some modification, It could work with modern ROS as well (Noetic Python 3, or ROS 2).

Requirement

python package : pymodbus

sudo pip install pymodbus==2.5.3

and make sure it is working properly by import it to python terminal import pymodbus

Installation

mkdir -p ws_gripper/src
cd ws_gripper/src
git clone 
cd ..
catkin_make

Then source the workspace

source ~/ws_gripper/devel/setup.bash

Usage

Bring up the gripper

roslaunch onrobot_sg bringup_gripper.launch

Control the gripper via rosservice, where desired width is between 110mm and 800 mm

rosservice call /gripper_cmd "cmd_wd: desired_width"

Control via client service

rosrun onrobot_sg cmd_client.py desired_width

Reference

onrobot_sg's People

Contributors

phayuth avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

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.