boolean b;
counter++;
this.setTopic(newTopic);
- b = domainApp.regNewDataType("hokuyo_scan",getMaxDataLength(),this.buffer);
+ b = domainApp.regNewDataType("hokuyo_scan",getMaxDataLength());
if (b == false) {
System.out.println(":j!: cannot register data type!");
}
public class MainActivity extends Activity {
private Manager manager = null;
- private String[] mgrs = {"192.168.1.5","192.168.1.8","10.1.1.1","10.1.1.4"};
+ private String[] mgrs = {"192.168.1.5","192.168.1.8"};
private MotionSpeedPublish motion_speed = null;
private HokuyoScanSubscribe hokuyo_scan = null;
private SensorManager mSensorManager = null;
boolean b;
counter++;
this.setTopic(newTopic);
- b = domainApp.regNewDataType("motion_speed",getMaxDataLength(),this.buffer);
+ b = domainApp.regNewDataType("motion_speed",getMaxDataLength());
if (b == false) {
System.out.println(":j!: cannot register data type!");
}