mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-22 23:23:33 +08:00
tuning_tools: Change 1G to a more accurate value
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user