Finalise Task 1b-d, 2b & 4?
This commit is contained in:
parent
69b7cbc6a3
commit
491e992264
9
main.py
9
main.py
@ -637,10 +637,15 @@ if __name__ == '__main__':
|
||||
cacheData("./tmp/m1_H_transData.dfz", calculateVelocityPosition, (m1_IMUData[1], INIT_FLIGHT_PRAMS), forceCalc=False)
|
||||
missionData = doTruthComparison(missionData, m1TruthData)
|
||||
print("Starting to Graph Mission 1")
|
||||
generateTruthErrorGraphs(missionData)
|
||||
errorPoly = generateTruthErrorGraphs(missionData)[0]
|
||||
generateGraphs(missionData, 1)
|
||||
|
||||
#exit()
|
||||
for i, poly in enumerate(errorPoly):
|
||||
string = ""
|
||||
for n, c_n in enumerate(poly):
|
||||
string += f" + {c_n:.4f}*t^{len(poly)-1-n}"
|
||||
|
||||
print(f"{'High' if i else 'Low'} Grade Error Poly:" + string[2:])
|
||||
|
||||
#Load, Process & Graph Mission Data for Mission 2
|
||||
print("Loading / Calculating to Mission 2 Data")
|
||||
|
Loading…
x
Reference in New Issue
Block a user