Пример #1
0
        private SenseBodyInfo GetBodyInfo()
        {
            m_robot.SenseBody();
            SenseBodyInfo bodyInfo = null;

            while (bodyInfo == null)
            {
                //Thread.Sleep(WAIT_FOR_MSG_TIME);
                bodyInfo = m_memory.getBodyInfo();
            }

            return(bodyInfo);
        }
Пример #2
0
 public void clearBodyInfo()
 {
     m_bodyInfo = null;
 }
Пример #3
0
 public void store(SenseBodyInfo bodyInfo)
 {
     m_bodyInfo = bodyInfo;
 }