Commit 1c15fd9d authored by Sigurd M. Albrektsen's avatar Sigurd M. Albrektsen

Re-enabled stim sensor printing

parent 44c105e7
......@@ -248,9 +248,9 @@ if __name__ == '__main__':
if timediff == 0:
timediff = 1
fps = float(i)/timediff
#stdout.write('\rfps: %f %d\t%d\taccl:' % tuple([fps, package.dict['accl_status'], package.tov]))
#stdout.write(str(np.array(package._message.accl)*fps))
#stdout.flush()
stdout.write('\rfps: %f %d\t%d\taccl:' % tuple([fps, package.dict['accl_status'], package.tov]))
stdout.write(str(np.array(package._message.accl)*fps))
stdout.flush()
i += 1
except Exception as e:
print()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment