layer_server.py 文件源码

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

项目:MapLayer 作者: alexbaucom17 项目源码 文件源码
def to3dPoints(points_2d):
    """Simple function to take list of 2d coordinates and output list of 3d ros points"""

    points_3d = []
    for (x,y) in points_2d:
        p = Point() 
        p.x = x
        p.y = y
        p.z = 0
        points_3d.append(p)    
    return points_3d
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号