mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-27 18:27:05 +08:00
ecl process logdata script always use correct check_level_dict path
This commit is contained in:
@@ -1309,8 +1309,12 @@ test_results['filter_faults_max'][0] = np.amax(estimator_status['filter_fault_fl
|
|||||||
|
|
||||||
# calculate a master status - Fail, Warning, Pass
|
# calculate a master status - Fail, Warning, Pass
|
||||||
# get the dictionary of fail and warning test thresholds from a csv file
|
# get the dictionary of fail and warning test thresholds from a csv file
|
||||||
|
|
||||||
|
__location__ = os.path.realpath(os.path.join(os.getcwd(), os.path.dirname(__file__)))
|
||||||
filename = "check_level_dict.csv"
|
filename = "check_level_dict.csv"
|
||||||
file = open(filename)
|
|
||||||
|
file = open(os.path.join(__location__, filename));
|
||||||
|
|
||||||
check_levels = { }
|
check_levels = { }
|
||||||
for line in file:
|
for line in file:
|
||||||
x = line.split(",")
|
x = line.split(",")
|
||||||
|
|||||||
Reference in New Issue
Block a user