run_tbot_routine.py 文件源码

python
阅读 21 收藏 0 点赞 0 评论 0

项目:tbotnav 作者: patilnabhi 项目源码 文件源码
def find_person(self, name):
        # cv2.imshow("Face Image", self.face_img)
        # cv2.waitKey(3)

        count=0
        found = False
        while count < 6 and found != True:
            for i in range(len(self.face_names)):
                if self.face_names[i] == name:
                    print self.face_names[i]
                    return True
                    break
            count += 1
            self.rotate_tbot(180.0, 45.0/2)
            rospy.sleep(5)
            # print count
        return found
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号