BennyRe / ros-phidgets-ir

Sent/receive ir data with a phidgets ir board

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ros-phidgets-ir

Send/receive ir data with a phidgets ir board

Installation

  • Dependencies
    • Phidgets Library
      • Download and unpack the Phidgets Library for Linux
      • cd into the newly created libphidget-[whatever] directory.
      • Compile and install: ./configure; make; sudo make install
      • Install the udev rule: cp udev/99-phidgets.rules /etc/udev/rules.d
    • Python
      • Download the Python Phidgets Module
      • Unpack the archive, cd into the PhidgetsPython directory
      • Run sudo python setup.py install
  • ROS Package
    • Clone this repository into as ir_comm and add it to your ROS_PACKAGE_PATH

Usage

Learning Codes

python nodes/learn.py [output file].pkl

Point the original remote at the the phidgets device and press the desired button until you see the message Wrote code to [output file].pkl. If it isn't working, move the remote closer or farther from the phidgets device.

Testing Codes

python nodes/transmit_one.py [code file]

About

Sent/receive ir data with a phidgets ir board


Languages

Language:Python 89.7%Language:CMake 10.0%Language:Makefile 0.3%