Commit 3f9bd4e3 authored by jhammen's avatar jhammen
Browse files

robotjazz fix osc path, now a property

parent 9580677a
......@@ -121,7 +121,7 @@ oscInput.onReceive(function(mesg) {
Filter the OSC power change messages by path. There is only a single valid path defined here
but other paths can be defined in the same way.
*/
if(mesg.path() == "/robotjazz/power") {
if(mesg.path == "/robotjazz/power") {
/**
Grab the value of the first OSC message parameter and validate to ensure the power value
is an integer between the values of 0 and 100.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment