<< return to Pixycam.com

User Tools

Site Tools


wiki:v1:installing_pixymon_on_linux

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

wiki:v1:installing_pixymon_on_linux [2017/12/19 21:33] (current)
jfrench - Imported by DokuWiki Advanced Plugin
Line 1: Line 1:
 +
 +
 +
 +
 +====== Installing PixyMon on Linux ======
 +
 +
 +====== 1. Introduction ======
 +
 +The following procedure will walk you through building PixyMon for Linux. This procedure assumes the following:
 +
 +  * Your system has Linux Mint-17 installed
 +  * Pixy firmware has been updated to 1.0.2
 +  * Your system is connected to the internet
 +
 +The Mint-17 distribution of Linux can be downloaded here: http://​www.linuxmint.com
 +
 +Instructions for updating the Pixy firmware are here: [[wiki:​v1:​Uploading_New_Firmware|Uploading New Firmware]]
 +
 +Although this procedure uses Linux Mint-17, it //should// work with any Linux distribution that uses the Debian package manager (e.g. Ubuntu).
 +
 +
 +====== 2. Procedure ======
 +
 +
 +===== 2.1. Install dependencies for building PixyMon =====
 +
 +Start the terminal application:​
 +
 +{{wiki:​img:​78184a8b63cf10782c18339b791db9f85a0d8bc0.png?​400}}
 +
 +
 +==== 2.1.1. Install git ====
 +
 +In the terminal window type:
 +
 +''​%%sudo apt-get install git%%''​
 +
 +
 +==== 2.1.2. Install libusb-1.0-0-dev ====
 +
 +In the terminal window type:
 +
 +''​%%sudo apt-get install libusb-1.0-0-dev%%''​
 +
 +{{wiki:​img:​da64e20cd40baefbd00b8bb4fce081a0f9b76abd.png?​400}}
 +
 +
 +==== 2.1.3. Install QT ====
 +
 +In the terminal window type:
 +
 +''​%%sudo apt-get install qt4-dev-tools%%''​\\
 +{{wiki:​img:​2383c6567221648c447861d741195085437aefa6.png?​400}}
 +
 +''​%%sudo apt-get install qt4-qmake%%''​\\
 +{{wiki:​img:​fa252fee6bcaea3bd9cc93e57379042fded5dd72.png?​400}}
 +
 +''​%%sudo apt-get install qt4-default%%''​\\
 +{{wiki:​img:​a7cf5a5a9af585bf9bbc8c83b0530dc91387084d.png?​400}}
 +
 +
 +==== 2.1.4. Install g++ (compiler) ====
 +
 +In the terminal window type:
 +
 +''​%%sudo apt-get install g++%%''​
 +
 +{{wiki:​img:​208f77c0feb60df1b578d0a67c31972a6e32e285.png?​400}}
 +
 +
 +===== 2.2. Building PixyMon =====
 +
 +
 +==== 2.2.1. Download Pixy source code ====
 +
 +In the terminal window type:
 +
 +''​%%git clone https://​github.com/​charmedlabs/​pixy.git%%''​\\
 +{{wiki:​img:​dcf634a40148751c2a5f59668335e326013c2183.png?​400}}
 +
 +
 +==== 2.2.2. Run the build script ====
 +
 +Change directory to the pixy build tools folder and run the build script.
 +
 +In the terminal window type:
 +
 +''​%%cd pixy/​scripts%%''​\\
 +''​%%./​build_pixymon_src.sh%%''​
 +
 +
 +==== 2.2.3. Add permissions for Pixy USB interface ====
 +
 +In order to communicate with Pixy over USB as a non-root user you must set permissions for Pixy.
 +
 +To do this copy the '​pixy.rules'​ file to '/​etc/​udev/​rules.d'​
 +
 +In the terminal window type:
 +
 +''​%%cd ../​src/​host/​linux/​%%''​\\
 +''​%%sudo cp pixy.rules /​etc/​udev/​rules.d/​%%''​
 +
 +{{wiki:​img:​4a97375dee1ace2c3a8c6059e99c9c2200f9a342.png?​400}}
 +
 +
 +===== 2.3. Running PixyMon =====
 +
 +
 +==== 2.3.1. Connect Pixy to your Linux system using a USB Mini cable ====
 +
 +{{wiki:​img:​e0e66b6f1b2c5231027c1d03c811e16207772021.jpg?​400}}
 +
 +
 +==== 2.3.2. Change directory to the PixyMon build folder ====
 +
 +In the terminal window type:
 +
 +''​%%cd ../​../​../​build/​pixymon/​bin/​%%''​
 +
 +
 +==== 2.3.3. Run PixyMon ====
 +
 +In the terminal window type:
 +
 +''​%%./​PixyMon%%''​
 +
 +{{wiki:​img:​c3853354ec6a7f9c9f843996e1e05d615a0e355c.png?​400}}
 +
 +What's next? Let's [[wiki:​v1:​Teach_Pixy_an_Object_2|teach Pixy an object]]!
 +
 +
 +
 +
 +
 +
  

This topic does not exist yet

You've followed a link to a topic that doesn't exist yet. If permissions allow, you may create it by clicking on “Create this page”.

wiki/v1/installing_pixymon_on_linux.txt · Last modified: 2017/12/19 21:33 by jfrench