- Enable I2C on Raspberry Pi
- Install
libi2c-dev
,libeigen3-dev
- Download
mlat
[sudo] raspi-config
# Enable I2C in Interfacing option
[sudo] apt-get install libi2c-dev libeigen3-dev
git clone https://github.com/gsongsong/mlat
- Copy or symlink
def.h
,i2c.h
fromheaders
directory to here - Edit
I2CSLAVEADDR
ini2c.h
if needed - Edit
MLAT
inMakefile
properly - Edit
I2CDEV
ini2cController.h
properly - Build
tagRPi
make
Match and connect SDA
and SCL
- Edit
anchors.csv
- Format:
anchor ID, x, y, z (newline)
Example
- Format:
1, 0, 0, 0
2, 3.3, 3.3, 3.3
3, 6, 9, 3.3
- Run
tagRPi
./tagRPi