This commit is contained in:
2018-09-18 14:53:05 +02:00
parent eea3f10d98
commit 6f5278ec5c
2 changed files with 8 additions and 7 deletions

View File

@@ -33,6 +33,7 @@ Modes:
2: chirp bode open loop
3: sine bode closed loop
4: chirp bode closed loop
5: full bode open loop record of both motors (including init_stage
TODO:
use openloopsine to create a bode diagram of the 'strecke'
@@ -88,12 +89,12 @@ class PBTuning:
p = sprc.Popen(cmd, shell=False, stdin=sprc.PIPE, stdout=sprc.PIPE, stderr=sprc.PIPE)
retval = p.wait()
print(p.stderr.read());print(p.stdout.read())
time.sleep(5)
cmd=(gpasciiCommander ,'--host',host,'--cmd','#1..2j=10000')
p = sprc.Popen(cmd, shell=False, stdin=sprc.PIPE, stdout=sprc.PIPE, stderr=sprc.PIPE)
retval = p.wait()
print(p.stderr.read());print(p.stdout.read())
time.sleep(5)
time.sleep(10)
#cmd=(gpasciiCommander ,'--host',host,'--cmd','#1..2j=10000')
#p = sprc.Popen(cmd, shell=False, stdin=sprc.PIPE, stdout=sprc.PIPE, stderr=sprc.PIPE)
#retval = p.wait()
#print(p.stderr.read());print(p.stdout.read())
#time.sleep(5)