]> rtime.felk.cvut.cz Git - orte.git/blobdiff - orte/java/src/org/ocera/orte/examples/robot/RoboMsg.java
JORTE: add deserialize function to support endianness setting
[orte.git] / orte / java / src / org / ocera / orte / examples / robot / RoboMsg.java
index fee386556c4f8d43192f23b2cf0baf0772ea0117..57e7a3dafc6b86ae115f97da8bc8ab808b6827eb 100644 (file)
@@ -40,7 +40,7 @@ public class RoboMsg extends org.ocera.orte.types.MessageData
             counter++;
          this.setTopic(newTopic); // set the topic of a publication 
          // register new data typeName    
-        b = domainApp.regNewDataType("motion_speed",getMaxDataLength()); 
+        b = domainApp.regNewDataType("motion_speed",getMaxDataLength(),this.buffer); 
             if (b == false) 
             {
               System.out.println(":j!: cannot register data type!");