reset_robot_pos.py 文件源码

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

项目:drivebot 作者: matpalm 项目源码 文件源码
def __init__(self, robot_id):
        srv_str = "/robot%s/replace" % robot_id
        rospy.wait_for_service(srv_str)
        self.move = rospy.ServiceProxy(srv_str, MoveRobot)
        # TODO: handle rospy.service.ServiceException which can thrown from this
        self.starting_random_positions = None
        self.straight_section_poses = None

    # reset bot to a random position
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号