Send/receive ir data with a phidgets ir board
- 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
- Phidgets Library
- ROS Package
- Clone this repository into as
ir_comm
and add it to yourROS_PACKAGE_PATH
- Clone this repository into as
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.
python nodes/transmit_one.py [code file]