mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
mixer_multirotor.py: avoid scientific notation for vector printf
makes it easier to compare.
This commit is contained in:
parent
447ed18ab4
commit
3eefc93e5d
@ -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))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user