Sensebloom / OSCeleton

OSCeleton is a proxy that sends skeleton information collected from the kinect sensor via OSC, making it easier to use input from the device in any language / framework that supports the OSC protocol.
GNU General Public License v3.0
312 stars 72 forks source link

Fixed Init Port error, Fixed Center of Mass Tracking, Fixed lost_user osc message #14

Closed MylesBorins closed 13 years ago

MylesBorins commented 13 years ago

I fixed three small bugs in the code

Init Port Error: Original code would not properly initialize a port, and would only send OSC messages if the -p command was used. I changed the PORT variable for a int to a char so it would be compatible with lo_adress_new and changed the way the -p case stored the data. This has been tested and is a working fix.

Center of Mass Tracking:

sendUserPosMsg was missing lo_send_bundle(addr, bundle); in order to send the message bundle, as such center of mass tracking was broken. Adding in the one line of code has brought back functionality.

lost_user osc message: message was improperly written as "new_user", this was a simple fix.