Coder Social home page Coder Social logo

labjack_ros_driver's Introduction

Author: Yujun Lai ([email protected])

Purpose

This is a ros package which is used for the LabJack T7 DAQ. Currently it's used for collecting EMG data using the Delsys 8-Channel Bagnoli System. The default values for the driver are catered towards USB connection for the T7, but it can be changed easily to incorporate other methods (Ethernet, Wifi) and devices in LabJack (T4 series).

Dependencies

For this to work, you do require the LabJack proprietary libraries LJM which can be obtained at: https://labjack.com/support/software/api/ljm

Changes are required in the CMakeLists.txt (line 12) to reflect where you have installed the libraries. The default script from Labjack will install the library header files at /usr/local/include

Launch Arguments

roslaunch labjackt7test labjack_t7.launch

publishrate - publishing rate for ros (can go up to ~80Hz for 8 channels for usual functionality, streaming mode usually publishes at ~9Hz since the data is all buffered together)

channelnumber - number of channels in the Bagnoli

acqrate - acquisition rate of the LabJack. Tested with up to 12000Hz for 8 channels (1.5kHz for all channels) using USB. The device can stream sample a single channel up to 100kHz.

streampubtopic - ros publisher topic name for streamed data

verbose - verbosity flag. Tons of std::cout in driver for debugging. Default value is false.

streaming - flag for streaming mode. Default is true. If set to false, device will use call response mode.

(Other) Nodes

labjackt7test_connection_test

Simple node to test connection by calling for the device's serial number and displaying on cout.

labjackt7test_driver_test

Simple node to test device driver by calling 10 samples using call response mode.

labjackt7test_node

Node used in launch file. Include functionality for default and streaming mode.

labjackt7test_kill

Used for debugging purposes. Calls LJM to close connection from this device to all DAQ devices.

labjack_ros_driver's People

Contributors

y-lai avatar

Watchers

James Cloos avatar Alen Alempijevic avatar Laki Dantanarayana avatar

labjack_ros_driver's Issues

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.