ofxPiMapper fixed for C++17 & oF 12.0
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Krisjanis Rijnieks 67609da29b Contain styling of the connection indicator 7 years ago
..
bin/data Replace sources for remote examples 7 years ago
example_remote-server.xcodeproj Update example_remote-server Xcode project, remove ofxOpenCv 7 years ago
src Contain styling of the connection indicator 7 years ago
Makefile Add remote control server example 7 years ago
Project.xcconfig Add xcode project files for remote server example 7 years ago
README.md Update README regarding ofxJSON patch 7 years ago
addons.make Remove ofxOpenCv from example_remote-server deps 7 years ago
addons.make.norpi Remove ofxOpenCv from example_remote-server deps 7 years ago
config.make Add remote control server example 7 years ago
openFrameworks-Info.plist Add xcode project files for remote server example 7 years ago

README.md

Remote Control Server for ofxPiMapper

This example demonstrates a TCP server for ofxPiMapper remote control. The other part of this is the Remote Control Client. What it does is the following.

  • It creates a TCPServer singleton.
  • Waits for a client to connect via TCP.
  • Sends ofxPiMapper configuration once client is connected.
  • Accepts keyboard and mouse events from client after.
  • Forwards events to ofxPiMapper instance.

In a real-world scenario, the server should reside on the Raspberry Pi side of your installation. The Raspberry Pi should be connected to wired or wireless network. An IP address should be set.

The client should know the following.

  • The IP address of the Raspberry Pi with the server.
  • The port, which is 9999 in this case.

Dependencies

JSON is used as the data format between ofxPiMapper remote control server and client, therefore additionally ofxJSON addon is used. Install it by using the following lines of bash code.

cd openFrameworks/addons
git clone --depth=1 https://github.com/jeffcrouse/ofxJSON