py3
This commit is contained in:
parent
04ed644424
commit
0509e84245
|
@ -94,7 +94,7 @@ class Device(object):
|
||||||
return Planner(a, vmax, cf)
|
return Planner(a, vmax, cf)
|
||||||
|
|
||||||
def readline(self):
|
def readline(self):
|
||||||
return self.serial.readline().strip()
|
return self.serial.readline().decode('utf-8').strip()
|
||||||
|
|
||||||
def command(self, *args):
|
def command(self, *args):
|
||||||
line = ','.join(map(str, args))
|
line = ','.join(map(str, args))
|
||||||
|
|
Loading…
Reference in New Issue