kopia lustrzana https://github.com/ogre/pizero_tracker
343d5db1ac | ||
---|---|---|
camera | ||
pcb | ||
tracker/code | ||
.gitignore | ||
.gitmodules | ||
Readme.md |
Readme.md
You need to use software driver to I2c, and therefore, disable bluetooth. This is for rPI 3 and up.
/boot/config.txt
dtoverlay=pi3-disable-bt
enable_uart=1
dtoverlay=w1-gpio
dtparam=i2c_arm=off
dtparam=i2c=off
#dtoverlay=i2c-gpio,bus=1,i2c_gpio_sda=2,i2c_gpio_scl=3
dtoverlay=i2c-gpio,i2c_gpio_sda=2,i2c_gpio_scl=3
dependencies
sudo apt-get install libboost-program-options-dev
git clone https://github.com/zeromq/libzmq.git
build with cmake
git clone https://github.com/zeromq/cppzmq.git
build with cmake
pip install zmq exifread
sudo apt-get install imagemagick
run on one thread:
taskset -c 1 ./tracker