Sensor Output on Linux via Python
The IR-LOCK sensor can be connected to a Linux PC via USB, and sensor data can be retrieved via Python script. This is useful for integrating the sensor into a wider variety of drones and robotics applications.
(Tested on Ubuntu 14.04)
[1] Install Pixymon: Follow the instructions provided here: link. The provided version of Pixymon is required to ensure compatibility with IR-LOCK sensor firmware.
[2] Build libpixyusb as a Python Module: Follow the instructions provided here: link.
Now you are good to go! The sample python script should successfully print out target (block) data whenever a target is detected.
**If you run into difficulties with any of the commands, try using "sudo" command prefix.
![Screenshot from 2015-11-17 12-46-09.jpg 873](https://files.readme.io/vBbrZaSwQgGMjZZND24g_Screenshot%20from%202015-11-17%2012-46-09.jpg)
Updated less than a minute ago