Browse Source

fixed tuioObject sending

Alexander Hendrich 10 years ago
parent
commit
d801a808fa
2 changed files with 4 additions and 4 deletions
  1. 3 3
      bbiwarg/Parameters.cs
  2. 1 1
      bbiwarg/TUIO/TUIO/TuioServer.cs

+ 3 - 3
bbiwarg/Parameters.cs

@@ -23,11 +23,11 @@ namespace bbiwarg
         public static readonly int ConsoleHeight = 30;
 
         // input
-        public static readonly InputType InputSource = InputType.Camera;
+        public static readonly InputType InputSource = InputType.Movie;
         public static readonly String InputMoviePath = "..\\..\\videos\\touch\\4.skv";
 
         // Logger
-        public static readonly bool LoggerTimerOutputEnabled = false;
+        public static readonly bool LoggerTimerOutputEnabled = true;
         public static readonly LogSubject LoggerEnabledSubjects = LogSubject.None;
 
         // Debug window
@@ -36,7 +36,7 @@ namespace bbiwarg
         public static readonly String DebugWindowTitle = "BBIWARG - DebugOutput";
 
         // glasses window
-        public static readonly bool GlassesWindowEnabled = true;
+        public static readonly bool GlassesWindowEnabled = false;
         public static readonly int GlassesWindowUpdateInterval = 1000 / 30; // 30fps
         public static readonly String GlassesWindowTitle = "BBIWARG - GlassesOuty   put";
         public static readonly int GlassesWindowNumCalibrationPoints = 20;

+ 1 - 1
bbiwarg/TUIO/TUIO/TuioServer.cs

@@ -147,7 +147,7 @@ namespace TUIO
                 }*/
                 packet.Append(currentMessage);
             }
-            currentMessage = new OSCMessage("/tuio/2Dobj");
+            currentMessage = new OSCMessage("/tuio/2Dcur");
             currentMessage.Append("fseq");
             currentMessage.Append(-1); //sequence_id; actually -1 stands for redundant bundle
             packet.Append(currentMessage);