Skip to content

smhaller/myo-ros

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

myo-ros

Simple Myo ROS Module

This script provides EMG, IMU and Thalmic Gesture data from the Myo Band to ROS. This script is based on the myo-raw project - especially on the myo_raw.py file. (see https://github.com/dzhu/myo-raw/ which is available under the MIT LICENSE)

Changes:

Following changes where made:

  • ros code added
  • removed code for myo firmware < 1.0
  • removed pygame stuff to keep it compact

PreRequiremnts:

  • python >=2.6
  • pySerial
  • Requires that you initialized your Myo once using the Myo Connect tool.

Installation:

For the bluetooth dongle add following to: /etc/udev/rules.d/90-bluegiga_le.rules

# ATTR{product}=="BLED112"

ATTRS{idVendor}=="2458", ATTRS{idProduct}=="0001", ENV{ID_MM_DEVICE_IGNORE}="1", SYMLINK="bluegiga/bled112"

Usage:

start a roscore and

  • python myo_ros.py

wait till connected and perform the initialization gesture

provides:

  • publishes data in topics: /myo/data/...
  • subscribes to: /myo/vibrate

ToDo:

  • take a look at Thalmic's calibration - maybe we can use calibrated raw data.
  • Check if Thalmic gestures work correct with all firmwares >1
  • Handle multiple Myos

About

Myo ROS module: based on myo-raw

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages