Git Product home page Git Product logo

allegro_zmq's Introduction

Allegro Hand ZMQ Interface

Adapted from https://github.com/simlabrobotics/allegro_hand_linux_v4

This interface allows communication with a v4 Allegro hand via ZMQ on the NUC of a Panda Franka robotic arm.

Required hardware

  1. Allegro hand v4
  2. PCAN-USB interface

Setup instructions

Prerequisites

1. PCAN-USB driver

Download, build, and install PCAN-USB driver for Linux "libpcan"

tar -xzvf peak-linux-driver-x.x.tar.gz
cd peak-linux-driver-x.x
make NET=NO
sudo make install

Troubleshooting

  • If encounter
    src/pcan-settings.c:47:10: fatal error: popt.h: No such file or directory
       47 | #include <popt.h>
        |      	^~~~~~~~
    compilation terminated.
    Run
    sudo apt install libpopt-dev

2. libpcanbasic

Download, build, and install PCAN-Basic API for Linux: libpcanbasic

tar -xzvf PCAN_Basic_Linux-x.x.x.tar.gz
cd PCAN_Basic_Linux-x.x.x/pcanbasic
make
sudo make install

3. libBHand grasping library

Download, build, and install Grasping Library for Linux, "libBHand": Grasping_Library_for_Linux

unzip LibBHand_{32|64}.zip
cd libBHand_{32|64}
sudo make install
sudo ldconfig

Installing this interface

Build using cmake "out of source build" style.

cd allegro_zmq
mkdir build && cd build
cmake ..
make
make install

Usage

Launching the interface

  1. Connect PCAN-USB and Allegro Hand (connect to the NUC of franka robot)
  2. Power on the Allegro Hand.
  3. Start the grasping program: "grasp": build/bin/grasp on the NUC. You should see the configuration of your hand print out.

Controlling via ZMQ

ws_control.py is an example code that runs on a workstation using Python. Make sure to replace localhost with the correct IP address of the NUC in this code.

allegro_zmq's People

Contributors

j96w 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.