mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-03 08:38:53 +08:00
msgs/EstimatorStatus.msg rename mag_test_ratio -> hdg_test_ratio
- this is used for more than just mag
This commit is contained in:
committed by
Mathieu Bresciani
parent
eac14b7db2
commit
ca9948a84d
@@ -54,7 +54,7 @@ def calculate_sensor_metrics(
|
||||
# calculates peak, mean, percentage above 0.5 std, and percentage above std metrics for
|
||||
# estimator status variables
|
||||
for signal, result_id in [('hgt_test_ratio', 'hgt'),
|
||||
('mag_test_ratio', 'mag'),
|
||||
('hdg_test_ratio', 'mag'),
|
||||
('vel_test_ratio', 'vel'),
|
||||
('pos_test_ratio', 'pos'),
|
||||
('tas_test_ratio', 'tas'),
|
||||
|
||||
@@ -160,7 +160,7 @@ def create_pdf_report(ulog: ULog, multi_instance: int, output_plot_filename: str
|
||||
|
||||
# plot normalised innovation test levels
|
||||
# define variables to plot
|
||||
variables = [['mag_test_ratio'], ['vel_test_ratio', 'pos_test_ratio'], ['hgt_test_ratio']]
|
||||
variables = [['hdg_test_ratio'], ['vel_test_ratio', 'pos_test_ratio'], ['hgt_test_ratio']]
|
||||
y_labels = ['mag', 'vel, pos', 'hgt']
|
||||
legend = [['mag'], ['vel', 'pos'], ['hgt']]
|
||||
if np.amax(estimator_status['hagl_test_ratio']) > 0.0: # plot hagl test ratio, if applicable
|
||||
|
||||
Reference in New Issue
Block a user