private void Init() { while (!ROS.IsStarted()) { Thread.Sleep(100); } if (nodeHandle == null) { nodeHandle = new NodeHandle(); } if (subscriber == null) { subscriber = nodeHandle.Subscribe <Messages.rosgraph_msgs.Log>("/rosout_agg", 100, Callback); } }