Connecting to the Raspberry Pi
192.168.100.100, listening on port
22for incoming SSH connections. Additionally, a VNC server is running, listening on port
5900, but only for connections from localhost. To connect the Raspberry, you first need to setup your own IP in the same subnet
192.168.100.X. Afterwards you need to set up a tunnel, forwarding the internal port
5900to your machine: (You can do this using the command line on *nix systems, or using PuTTY on Windows systems – instructions can be found here)
user@host:~$ ssh -L 5900:localhost:5900 firstname.lastname@example.orgAfterwards, you can use any VNC client to connect to the Pi on address
A visualization of this process on MacOS can be seen here (enable subtitles for an English transcription):
Listening for Events
After selecting and connecting a sensor using the VNC interface, the Pi will start publishing recognition results on port
On this port a ZeroMQ (ZMQ) PUB socket is bound, ready to publish these events to connecting SUB sockets.
ZMQ offers bindings for many languages, making it easy for you to listen for incoming events in a language of your choice.
Further down on this site you will finde some exemplary code snippets. Link
Changing the Network Settings
You can change the network settings of the Raspberry Pi either via VNC or by connecting the Pi via HDMI to a display.
NOTE: If both Wifi and Ethernet are connected, the Pi will try to use the Ethernet connection for Internet access. If you want to use your Wifi to access the Internet, you will have to update the routes:
kinemic@k-e-p:~$ sudo ip route replace default via x.x.x.x dev wlan0 proto static
x.x.x.x is the gateway address of your WiFi (often the IP address of your access point).)
Updates for our preinstalled software components can be obtained using the Ubuntu update tools.
You can either use the graphical tools privided by Ubuntu
or you can start a terminal on the Pi and use the following code to update all packages:
kinemic@kinemic-evaluation-package:~$ sudo apt update && sudo apt upgrade
Note that your Pi needs to be connected to the Internet for this.
Should error messages appear when using the graphical tools (e.g.
not enough space on /boot) you can try to solve them by doing the upgrade
kinemic@kinemic-evaluation-package:~$ sudo apt update && sudo apt dist-upgrade