示例#1
0
def grab_obj():
    resp = srv(True)
    return resp.ack
示例#2
0
def get_obj_id(obj_ids):
    data = ",".join(obj_ids)
    resp = srv(data)
    return resp.obj_id
示例#3
0
def get_obj_id(obj_ids):
    data = ",".join(obj_ids)
    resp = srv(data)
    return resp.obj_id
示例#4
0
def drop_obj():
    resp = srv(False)
    return resp.ack
示例#5
0
def get_obj_pos():
    resp = srv()
    return resp.pos
示例#6
0
def get_obj_weight():
    resp = srv()
    return resp.weight*2
示例#7
0
def is_obj_sns():
    resp = srv()
    return resp.state
示例#8
0
def set_pose(pose):
    resp = srv(pose)
    return resp.ack
示例#9
0
def is_obj_sns():
    resp = srv()
    return resp.state
示例#10
0
def get_obj_weight():
    resp = srv()
    return resp.weight * 2
示例#11
0
def set_pose(pose):
    resp = srv(pose)
    return resp.ack