Compare commits

...

10 Commits

@ -1,15 +1,16 @@
It allows to install the drivers and development libraries to operate devices compatible with IS4 (Tobii 4C). It allows to install the drivers and development libraries to operate devices compatible with IS4 (Tobii 4C, 5).
The deps packages were obtained from the tobii page: The deps packages were obtained from the tobii page:
https://developer.tobii.com/consumer-eye-trackers/stream-engine/getting-started https://developer.tobii.com/consumer-eye-trackers/stream-engine/getting-started
The manager is obtained from: The manager is obtained from:
https://www.tobiipro.com/es/learn--support/downloads/ https://www.tobiipro.com/es/learn--support/downloads/
(Changed to: https://www.tobiipro.com/product-listing/eye-tracker-manager/)
#### Instalation #### Instalation
```
bash ./install.sh bash ./install_all.sh
```
#### Configuration #### Configuration
Run the Tobii Pro Eye Tracker Manager: Run the Tobii Pro Eye Tracker Manager:
@ -20,13 +21,11 @@ Calibrate the device
![Configuration](media/config.gif) ![Configuration](media/config.gif)
#### Run the example code #### Run the example code
```
cd example cd example
gcc main.cpp -o main -pthread /usr/lib/tobii/libtobii_stream_engine.so gcc main.cpp -o main -pthread /usr/lib/tobii/libtobii_stream_engine.so
./main ./main
```
![Example test](media/example_test.gif) ![Example test](media/example_test.gif)
@ -35,10 +34,12 @@ You will see how the tracker captures the position of the screen you are looking
#### Test env: #### Test env:
SO: Ubuntu 18.10 x86_64 Cinnamon 4.18.0-17-generic SO: Ubuntu 20.04 LTS
Tracker: Tobii Tracker: Tobii 4C, Tobii 5
See:
https://github.com/Eitol/tobii_is4_x11

@ -1,12 +1,15 @@
#!/usr/bin/env bash #!/usr/bin/env bash
wget -P /tmp http://archive.ubuntu.com/ubuntu/pool/main/g/glibc/multiarch-support_2.27-3ubuntu1.5_amd64.deb
sudo dpkg -i /tmp/multiarch-support_2.27-3ubuntu1.5_amd64.deb
LIB_DIR=./lib LIB_DIR=./lib
sudo apt --fix-broken install libsqlcipher0 ./deps/libuv0.10_0.10.22-2_amd64.deb libpthread-stubs0-dev build-essential sudo apt --fix-broken install gconf2 gconf-service libappindicator1 libsqlcipher0 ./deps/libuv0.10_0.10.22-2_amd64.deb libpthread-stubs0-dev build-essential
# Targeted Linux distribution is Ubuntu Linux 16.04 LTS # Tested on Ubuntu 20.04 LTS
# Tested on Ubuntu 18.10 x86_64 with Cinnamon. Kernel 4.18.0-16-generic
# Install Tobii USB Host (mandatory) that handles connections to the tracker: # Install Tobii USB Host (mandatory) that handles connections to the tracker:
sudo dpkg -i tobiiusbservice_l64U14_2.1.5-28fd4a.deb sudo dpkg -i tobiiusbservice_l64U14_2.1.5-28fd4a.deb
@ -27,10 +30,10 @@ fi
sudo mkdir /usr/lib/tobii sudo mkdir /usr/lib/tobii
sudo cp -pR ${LIB_DIR}/lib/x64/*.so /usr/lib/tobii/ sudo cp -pR ${LIB_DIR}/lib/x64/*.so /usr/lib/tobii/
sudo cp ./tobii.conf /etc/ld.so.conf.d/
sudo mkdir /usr/include/tobii sudo mkdir /usr/include/tobii
sudo cp -R ${LIB_DIR}/include/tobii/* /usr/include/tobii sudo cp -R ${LIB_DIR}/include/tobii/* /usr/include/tobii
echo "DONE :)" sudo apt install ./TobiiProEyeTrackerManager-2.1.0.deb
sudo apt install ./Tobii.Pro.Eye.Tracker.Manager.Linux-1.12.1.deb echo "Done instalation"

Loading…
Cancel
Save