-
Notifications
You must be signed in to change notification settings - Fork 8
Middleware on Raspberry Pi (MWRP)
Usage: -gui
Displays a minimalistic (and unfinished) GUI for debugging purposes.
Currently it only displays pressure and temperature values. Positioning via Bluetooth beacons is also available but very inaccurate.
Where the GUI is displayed depends on a few factors. If used via ssh -X <host> on a device that runs Linux and supports X11 forwarding, the GUI is forwarded to the users device. If the Raspberry Pi has a display, the GUI can be displayed on that display by calling export DISPLAY=:0 before starting the application.
Usage: -noserver
This option disables pushing data to the server's message queue.
Actually this argument is not necessary since the application simply continues if a connection to the server can not be established. With this option, the application simply doesn't even try to connect to the server.
Usage: -gctrl
Enables the game controller module.
The application pushes data to a game controller host. The host, port, key bindings and sensitivity of the game controls can be configured in gamecontroller.properties
Usage: -gctrlwww
Enables the HTTP/Rest interface for the game controller configuration. -gctrl is implicitly active if this option is active.
The HTTP/Rest interface is available on port 8080 and can be used to rebind keys for the game controls during runtime. Pressing Save Config writes these values to gamecontroller.properties so they'll persist through reboots.