mixer_multirotor.py: avoid scientific notation for vector printf

makes it easier to compare.
This commit is contained in:
Beat Küng 2018-12-03 09:56:22 +01:00
parent 447ed18ab4
commit 3eefc93e5d

View File

@ -368,6 +368,8 @@ else:
u_new_sat = np.maximum(u_new, np.matlib.zeros(u.size).T)
u_new_sat = np.minimum(u_new_sat, np.matlib.ones(u.size).T)
np.set_printoptions(suppress=True)
# Display some results
print("u = \n{}\n".format(u))
print("u_new = \n{}\n".format(u_new))