laser.py 文件源码

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

项目:srcsim2017 作者: ZarjRobotics 项目源码 文件源码
def rotation_complete(self):
        rospy.loginfo("Hey a rotation is done.")
        self.completed_image = deepcopy(self.img)
        cv2.imwrite("lidar.png", self.completed_image)
        cv2.imshow("My image", self.completed_image)
        pictures = self.zarj.eyes.get_images()
        rgb = cv2.flip(pictures[0], -1)
        cv2.imwrite("lefteye.png", rgb)
        cv2.imshow("Left eye", rgb)
        cv2.waitKey(0)
        #for y in range(0, 99):
        #    sys.stdout.write(str(y) + ": ")
        #    for x in range(0, 99):
        #        sys.stdout.write(str(self.img[x, y]) + ' ')
        #    sys.stdout.write(str(y) + "\n")

        self.blank_image()
        self.start_rotation = self.rotation
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号