Example #1
0
def offsetz(z):
    if not driveboard.status()['ready']:
        bottle.abort(400, "Machine not ready.")
    driveboard.offset(z=z)
    return '{}'
Example #2
0
def offsetz(z):
    if not driveboard.status()['ready']:
        bottle.abort(400, "Machine not ready.")
    driveboard.offset(z=z)
    return '{}'