mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-24 15:40:31 +08:00
mixer_multirotor.py: avoid scientific notation for vector printf
makes it easier to compare.
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user