admin-dashboard-backend/groupTasks/groups/rex-robots/test.py

12 lines
265 B
Python

import sys
import os
# add the path to the libs folder
sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), '../..')))
from libs.robots import rex
rexRobot = rex.Rex("B24", "Drucker leeren")
# rexRobot.moveToXYZ(1, 2, 3)
rexRobot.move_to_x(5)