private SenseBodyInfo GetBodyInfo() { m_robot.SenseBody(); SenseBodyInfo bodyInfo = null; while (bodyInfo == null) { //Thread.Sleep(WAIT_FOR_MSG_TIME); bodyInfo = m_memory.getBodyInfo(); } return(bodyInfo); }
public void clearBodyInfo() { m_bodyInfo = null; }
public void store(SenseBodyInfo bodyInfo) { m_bodyInfo = bodyInfo; }