rewrite wait_for_move, split robot file, check test_all.py
This commit is contained in:
@@ -1,11 +1,15 @@
|
||||
import urx
|
||||
from IPython import embed
|
||||
import logging
|
||||
|
||||
if __name__ == "__main__":
|
||||
try:
|
||||
robot = urx.Robot("192.168.1.6")
|
||||
logging.basicConfig(level=logging.INFO)
|
||||
#robot = urx.Robot("192.168.1.6")
|
||||
robot = urx.Robot("192.168.1.100")
|
||||
#robot = urx.Robot("localhost")
|
||||
r = robot
|
||||
print("Robot object is available as robot or r")
|
||||
embed()
|
||||
finally:
|
||||
robot.shutdown()
|
||||
robot.close()
|
||||
|
||||
Reference in New Issue
Block a user