コード例 #1
0
def offsetz(z):
    if not driveboard.status()['ready']:
        bottle.abort(400, "Machine not ready.")
    driveboard.offset(z=z)
    return '{}'
コード例 #2
0
ファイル: web.py プロジェクト: nortd/driveboardapp
def offsetz(z):
    if not driveboard.status()['ready']:
        bottle.abort(400, "Machine not ready.")
    driveboard.offset(z=z)
    return '{}'