Giter Club home page Giter Club logo

robotiq_gripper's Introduction

Robotiq Gripper 85F 2 Finger on ROS

Robotiq Gripper ROS package to give fulll functionality of the two finger Robotiq gripper on ROS. This package was developed based on the functionality requirements gathered from the RROS-Lab team. Code was developed from Benoit CASTETS's Robotiq Gripper code.

Please note: Do NOT use the pypi.org version of minimalmodbus (use this repo's instead) due to a BAUDRATE error!

Running Package

roslaunch Robotiq_Gripper gripper.launch

Topics

Allows for multiple grippers to be controlled (requires gripper to be attached to a robot)

  • moveGripper: Moves the gripper based on what robot it is attached to.
  • grip_state: Shows the grip state of each gripper (along with which robot it is attached to)

Moving the gripper

rostopic pub /moveGripper Robotiq_Gripper/change_state robot_name position speed force justGrap

If justGrasp is set to True, the gripper will just go to a position that ideally grips the object.

Reading gripper state

rostopic echo /grip_state

Returns gripper_name (also known as robot_name), position_state, force_state, speed_state, activated (True if object is in gripper's grasp)

Adding more grippers

Add to this dictionary

#COMs ports to connect gripper to respective robot
#Requires which robot the gripper is attached to and the COM PORT
robot_comms = {
    'bkuka': gripperControl('bkuka', "/dev/ttyUSB1"),
    'gkuka': gripperControl('gkuka', "/dev/ttyUSB2"),
}

Code Structure

├── CMakeLists.txt  
├── launch  ──
│   └── gripper.launch  
├── LICENSE  ──
├── msg  
│   └── change_state.msg  
│   └── grip_state.msg
├── package.xml  
├── README.md  
├── src  
│   ├── gripper_ctrl.py
|   ├── gripper_lib.py 
│   ├── gripper_publish.py  
└────── minimalmodbus.py 

Additional Functionality

Benoit CASTETS's Robotiq Gripper code allows for the grippers to move in millimeter increments. We have included that portion into our codebase but have not taken advantage of that feature.

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.