perceive_shapes.py 文件源码

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

项目:cu-perception-manipulation-stack 作者: correlllab 项目源码 文件源码
def __init__(self):
        self.point_cloud_sub = rospy.Subscriber('/camera/depth_registered/points', PointCloud2, self.point_cloud_callback)
        self.br = tf2_ros.TransformBroadcaster()

        circle_rgb = [110, 70, 90]
        triangle_rgb = [75, 120, 60]
        square_rgb = [30, 90, 155]
        rectangle_rgb = [165, 175, 90]
        hexagon_rgb = [120, 50, 50]
        self.shapes_rgb = [circle_rgb, triangle_rgb, square_rgb, rectangle_rgb, hexagon_rgb]
        self.shape_names = ['circle', 'triangle', 'square', 'rectangle', 'hexagon']
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号