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.
 
 
cailean deae808571 patch for cpp 17 & of 12 1 month ago
..
bin/data patch for cpp 17 & of 12 1 month ago
src patch for cpp 17 & of 12 1 month ago
Makefile patch for cpp 17 & of 12 1 month ago
README.md patch for cpp 17 & of 12 1 month ago
addons.make patch for cpp 17 & of 12 1 month ago
addons.make.norpi patch for cpp 17 & of 12 1 month ago

README.md

Remote Control Client for ofxPiMapper

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

  • Reads IP address and port defined in bin/data/config.json.
  • Connects to server by using the IP address and port.
  • Once connected, ofxPiMapper configuration is received.
  • Instance of ofxPiMapper class is being set up.
  • TCP messages are sent on every keyboard and mouse event.

In reality this example should be used as the remote control residing on your laptop computa. Set up your Raspberry Pi, connect it to the same network as your laptop and get to know the IP address of the Raspberry Pi. Update bin/data/config.json with the IP address of your Raspberry Pi and launch the app!

Warning! Sources are not being sent. Click once with the mouse after the application launches to see the borders of the surfaces. There should be a green rectangle visible in the top left corner of the screen if the connection is successfull.

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