diff options
Diffstat (limited to 'src/argaze/TobiiGlassesPro2/README.md')
-rw-r--r-- | src/argaze/TobiiGlassesPro2/README.md | 89 |
1 files changed, 0 insertions, 89 deletions
diff --git a/src/argaze/TobiiGlassesPro2/README.md b/src/argaze/TobiiGlassesPro2/README.md deleted file mode 100644 index f13490a..0000000 --- a/src/argaze/TobiiGlassesPro2/README.md +++ /dev/null @@ -1,89 +0,0 @@ -Class interface to handle Tobbi Glasses Pro 2 device. -This work is greatly inspired by the David de Tommaso and Agnieszka Wykowska [TobiiGlassesPySuite](https://arxiv.org/pdf/1912.09142.pdf). - -.. note:: - Read [Tobii Glasses Pro 2 device user manual](https://www.tobiipro.com/siteassets/tobii-pro/user-manuals/tobii-pro-glasses-2-user-manual.pdf). - -## Utils - -* Print **A4_calibration_target.pdf** onto A4 paper sheet to get calibration target at expected dimension. - -* Load **imu.json** file with argaze utils **tobii_imu_calibrate.py** script with -i option. This is an example file to illustrate how to load Inertial Measure Unit (IMU) calibration parameters. - -## Local network configuration - -If the tobii Glasses aren't connected to a router, here is how to configure a local DHCP server to enable IPv4 device connection. - -### Linux (Ubuntu) - -* Setup static eth0 interface - -**/etc/network/interfaces** - -``` -auto eth0 -iface eth0 inet static - address 192.168.1.1 - netmask 255.255.255.0 - network 192.168.1.0 - gateway 192.168.1.254 -``` - -* Install DHCP server: - -``` -sudo apt-get install isc-dhcp -``` - -* Setup DHCP server: - -**/etc/default/isc-dhcp-server** - -``` -# On what interfaces should the DHCP server (dhcpd) serve DHCP requests? -INTERFACESv4="eth0" -INTERFACESv6="" -``` - -**/etc/dhcp/dhcpd.conf** - -``` -# NECESSARY TO BE A DHCP SERVER -authoritative; - -# DHCP CONFIGURATION INFORMATION -default-lease-time 43200; -max-lease-time 86400; -server-name "dhcpserver.robotron.lan"; - -# DNS SERVERS DHCP WILL PUSH TO CLIENTS -option domain-name-servers 192.168.1.1; - -# SEARCH DOMAINS DHCP WILL PUSH TO CLIENTS -option domain-name "robotron.lan"; - -# DHCP STATIC IP ASSIGNMENTS FILE -include "/etc/dhcp/master.conf"; - -# SUBNET FOR IP ADDRESSES MANUALLY/STATICALLY ASSIGNED ONLY -subnet 192.168.1.0 netmask 255.255.255.0 { - option broadcast-address 192.168.1.255; - option subnet-mask 255.255.255.0; - option routers 192.168.1.254; -} -``` - -**/etc/dhcp/master.conf** - -``` -# Static IP assignments -## SUBNET - 192.168.1.0/24 -host tobiiglasses { hardware ethernet 74:fe:48:34:7c:92; fixed-address 192.168.1.10; } -``` -Replace 74:fe:48:34:7c:92 by the correct MAC address. - -* Monitor DHCP server activity: - -``` -journalctl | grep -Ei 'dhcp' -``` |