mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-06-28 08:30:34 +08:00
update baro static pressure compensation tuning script
Field name changed in vehicle_gps_position
This commit is contained in:
+1
-1
@@ -68,7 +68,7 @@ def getAllData(logfile):
|
||||
getData(log, 'vehicle_attitude', 'q[3]')])
|
||||
t_q = ms2s(getData(log, 'vehicle_attitude', 'timestamp'))
|
||||
|
||||
gnss_h = getData(log, 'vehicle_gps_position', 'alt') * 1e-3
|
||||
gnss_h = getData(log, 'vehicle_gps_position', 'altitude_msl_m')
|
||||
t_gnss = ms2s(getData(log, 'vehicle_gps_position', 'timestamp'))
|
||||
|
||||
(t_aligned, v_body_aligned, baro_aligned, v_local_z_aligned, gnss_h_aligned, baro_bias_aligned) = alignData(t_local, v_local, dist_bottom, t_q, q, baro, t_baro, t_gnss, gnss_h, t_baro_bias, baro_bias)
|
||||
|
||||
+2
-1
@@ -1,5 +1,6 @@
|
||||
matplotlib==3.5.1
|
||||
numpy==1.22.2
|
||||
numpy==1.21.5
|
||||
numpy_quaternion==2022.4.3
|
||||
pyulog==0.9.0
|
||||
quaternion==3.5.2.post4
|
||||
scipy==1.8.0
|
||||
|
||||
Reference in New Issue
Block a user