Skip to main content

Setup

Connecting to the Raspberry Pi

The Raspberry Pi is preconfigured with the static IP 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 5900 to 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 kinemic@192.168.100.100 Afterwards, you can use any VNC client to connect to the Pi on address localhost:5900 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 9999 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

Event Definitions

Markdown definition of the events you can receive via the network interface: HTML | Download

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. Click the MINIMIZE button inside the connector tool, afterwards you can use the Ubuntu Network Settings for either changing your Wired Connection or for connecting to a Wireless Network. 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 (Where x.x.x.x is the gateway address of your WiFi (often the IP address of your access point).)

Software Updates

Updates for our preinstalled software components can be obtained using the Ubuntu update tools. You can either use the graphical tools privided by Ubuntu System->Administration->Software Updater 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 via terminal.

Newsletter

© 2016-2024 Kinemic GmbH. All logos, signs and trademarks are the property of their respective owners.