- storing room user position and orientation instead of sending immediately. Sending these values together in one message each n ms

- switched to serialEvent callback instead of constantly reading from Serial
Fixed receiving orientation from Serial:
- prefix is 'h'
- filter out cut-off data
- better verification that valid data has been sent
Switched to TCP listener only for the Cave communication.
Fixed vest communication issue.
Added test method.
Integrated TCP/UDP mix from master branch.
Smaller fixes.
Split code into more classes and files. Motor and Vest are a class now. The configuration is in the config file and debug stuff is in the debug file.

Fixed hit/bump/touch issues.

Removed getter and setter since Processing has public members by default and private is still public (bug?).
Update to hit patterns implementation.
Fixed TEST_WITHOUT_VEST flag.
Went back to no return value for reset and activate Motor functions.
Code clean-up and renaming of variables. TCP communication fix.
Turning system on / off depending on the number of connected TCP clients.
Added separate sending and receiving port again.
Added switch to allow sending position and orientation immediately.
Fixed TCP connection issue, does now work with the newer version of the CAVE app when run on two different machines.
Reduced amount of sent sound events.
Fixed mapping of tracking coordinates to fit to the CAVE visualization (front is where the Kinect stands).
Fixed motor ids.
Touch fix: do not reset motor if the same motor id is re-sent.
Fixed some comment issues.
Adjusted hit and bump durations and patterns.
Added a reset timeout: after the timeout a reset is sent to the vest if the vest is inactive since sometimes (rarely) a reset is ignored by the vest and motors would continue running.
Fixed orientation issue: serialEvent callback was never called if implemented in the Vest class (moved it to DarkRoomServer).
Added try/catch block for some rarely happening parsing errors which turns off the callback method completely.
Minor changes.
Fixed motor positions according to the CAVE coordinate system.
Better debugging system with choice what to debug during runtime.
Ignoring bump/touch/hit if the action coordinates are below the vest.
Increased motor reset timeout.
Removed cave coordinate system mapping variables since they are now all calculated in the tracking system and forwarded as-is.
Adjusted sound volumes - bump/hit/touch are now louder.
Added Ambisonic configuration for distances/spatialization.
Cleaned-up config file.
Added configuration output to canvas.
Fixed sound mapping.