tuning_tools: Change 1G to a more accurate value

This commit is contained in:
muramura
2024-02-09 10:26:57 -05:00
committed by Daniel Agar
parent 00a9e4c76b
commit f636414ca7
2 changed files with 3 additions and 3 deletions
@@ -175,7 +175,7 @@ def run(logfile):
res = optimize.minimize(J, x0, method='nelder-mead', options={'disp': True})
# Convert results to parameters
g = 9.81
g = 9.80665
pcoef_xn = res.x[0] * g
pcoef_xp = res.x[1] * g
pcoef_yn = res.x[2] * g