@Deprecated public void registerDummyModelRobot() throws Throwable { logInfo("&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& START registerDummyBlendingRobot"); //Create your Robot and register it Robot.Id hbID = new Robot.Id("temp"); // HARDCODED_DUMMY_ROBOT_ID); ModelRobot br = new ModelRobot(hbID); Configuration<String> connectionConf = getValue(Configuration.class, MSGCONF_ROBOT_HOST); new OSGiComponent(myBundleCtx, new GenericLifecycleFactory().adapt(connectionConf)).start(); //BonyRobotUtils.makeBonyJointForRobot(myBonyRobot, 22, "JTwentyTwo", 0.5, 0.2); //BonyRobotUtils.makeBonyJointForRobot(myBonyRobot, 22, "JNinetyNine", 0.8, 0.9); registerAndStart(br, MSGCONF_ROBOT_HOST); logInfo("&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& END registerDummyBlendingRobot"); }
@Deprecated public void registerDummyModelRobot() throws Throwable { logInfo("&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& START registerDummyBlendingRobot"); //Create your Robot and register it Robot.Id hbID = new Robot.Id("temp"); // HARDCODED_DUMMY_ROBOT_ID); ModelRobot br = new ModelRobot(hbID); Configuration<String> connectionConf = getValue(Configuration.class, MSGCONF_ROBOT_HOST); new OSGiComponent(myBundleCtx, new GenericLifecycleFactory().adapt(connectionConf)).start(); //BonyRobotUtils.makeBonyJointForRobot(myBonyRobot, 22, "JTwentyTwo", 0.5, 0.2); //BonyRobotUtils.makeBonyJointForRobot(myBonyRobot, 22, "JNinetyNine", 0.8, 0.9); registerAndStart(br, MSGCONF_ROBOT_HOST); logInfo("&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& END registerDummyBlendingRobot"); }