return numpy array from tracker, port urrtmon to python3

This commit is contained in:
Olivier R-D
2013-04-29 14:01:20 +02:00
parent fd5fb0788e
commit 7070145c9b
5 changed files with 40 additions and 36 deletions

View File

@ -1,12 +1,18 @@
#!/usr/bin/env python
import sys
import logging
from math import pi
from urx import Robot
import math3d
from math import pi
import logging
if __name__ == "__main__":
if len(sys.argv) > 1:
host = sys.argv[1]
else:
host = 'localhost'
try:
robot = Robot( 'localhost')#, logLevel=logging.DEBUG, parserLogLevel=logging.DEBUG)
robot = Robot( host )#, logLevel=logging.DEBUG, parserLogLevel=logging.DEBUG)
r = robot
from IPython.frontend.terminal.embed import InteractiveShellEmbed
ipshell = InteractiveShellEmbed( banner1="\nStarting IPython shell, robot object is available\n")