GithubHelp home page GithubHelp logo

ablasdel / biotac_driver Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kth-ros-pkg/biotac_driver

0.0 1.0 0.0 163 KB

Biotac low level drivers and ROS nodes catkinized from UPenn's Penn-haptics-bolt repository

Python 18.39% C 62.19% C++ 19.42%

biotac_driver's Introduction

biotac_driver

Overview

Biotac low level driver and ROS nodes from UPenn's biotac_stack contained in the Penn-haptics-bolt repository (https://github.com/IanTheEngineer/Penn-haptics-bolt.git).

The following instructions are from the README.md file in the Penn-haptics-bolt respository. For more details also look at the UPenn Haptics group's wiki page: http://bolt-haptics.seas.upenn.edu/index.php/Main/HomePage

Installing

Cheetah USB rules

In order to be able to read the Biotac data via the Cheetah SPI-USB board you first have to copy the udev rules

  1. Download the Cheetah SPI board drivers tp-usb-drivers-v2.10.zip from http://www.totalphase.com/products/cheetah_spi/

  2. Unzip the folder unzip tp-usb-drivers-v2.10.zip

  3. Copy the udev rules sudo cp tp-usb-drivers-v2.10/linux/99-totalphase.rules /etc/udev/rules.d/

ROS package installation

After copying the Cheetah udev rules you can download and compile the ROS package. Also make sure you have a working catkin workspace (look at the ROS tutorials).

Download the package to the catkin workspace:

cd ~/catkin_ws/src/
git clone -b <ros_distro> https://github.com/kth-ros-pkg/biotac_driver.git

Where <ros-distro> can be the groovy or hydro branch.

Otherwise you can use ROS's wstool:

cd ~/catkin_ws/src/
wstool init
wstool set biotac_driver --git https://github.com/kth-ros-pkg/biotac_driver.git -v <ros_distro>
wstool update biotac_driver

Then compile the workspace:

cd ~/catkin_ws && catkin_make

Electrical connections

(Try for this order, but it doesn't really matter)

  1. Plug the biotac sensors into the Multi-BioTac board

  2. Plug the +5V nano-USB cable into the MBTB and your computer's USB

  3. Plug the Cheetah's 10 pin ribbon cable into the MBTB

  4. Plug the Cheetah's USB into your computer's USB port

Running the ROS nodes

  1. To start reading the sensors rosrun biotac_sensors biotac_pub

  2. Check to make sure your sensors are working: rostopic echo biotac_pub

  3. Then to log some data in JSON form: rosrun biotac_logger biotac_json_logger.py _filename:=trial_001.json

Matlab GUI

Please see the Penn Bolt Wiki for instructions on how to use the GUI

http://bolt-haptics.seas.upenn.edu/index.php/Software/MatlabGUI

biotac_driver's People

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.