##ofxURG A Fork with updates from Yusuke Tomoto's ofxURG
This includes a tracker from Kyle McDonald's ofxSick
- Add the contents of this repo to the "addons" folder of Open Frameworks.
- Unzip ofxUrg>releases>"Sender.zip"
- Plug the Urg scanner into a powered USB hub. Plug the powered USB hub into the computer. NOTE: The Urg scanner can draw .8 amps on start-up. This is more than most computer USB ports can supply. The use of a powered USB hub is highly recommended.
- Open Terminal and type in "ls / dev/tty.*"
- Copy the like that is returned. it will look something like "/dev/tty.usbmodem14521".
- Open the ofxUrg>releases>Sender>data>"settings.xml".
- Replace the centre part of the third line: "<Serial_Port>/dev/tty.usbmodem14521</Serial_Port>" with the text that you just copied.
- Launch the "example.app"
- The "maxClusterCount" and "maxStddev" define the number and sensitivity of the tracking points.
- "X", "Y", and "Search Region Size" define the area that will be searched for Clusters.
- Pressing "Use Auto Region" will display all the raw data at the time pressed.
- The "example.app" outputs the raw data and the cluster data over OSC at the IP adress and Port listed. These can be changed in the "settings.xml".
- Use the Receiver app as an example of how to read this OSC stream.
- The Urg scanner uses an infrared laser. Some materials reflect IR light better than others. This can make a large difference in the quality of readings.