InertialNav icon indicating copy to clipboard operation
InertialNav copied to clipboard

Stuck in [PP,SPP]=OptimiseAlgebra(PP,'SPP');

Open huyang8911 opened this issue 2 years ago • 1 comments

Matlab R2021a, run m files "GenerateNavFilterEquations.m", stuck in [PP,SPP]=OptimiseAlgebra(PP,'SPP'); I have spend about 30hours run this code. The index loop to 7800, and still not finish. I have updated the function "OptimiseAlgebra". Any one known where is wrong? 2023-02-09 22 42 32

huyang8911 avatar Feb 09 '23 14:02 huyang8911

Somehow in the newer versions, the OptimiseAlgebra script gets stuck in a loop while establishing the subexpressions for the covariance matrix ([PP,SPP]=OptimiseAlgebra(PP,'SPP')). What worked for me was changing the condition if f_complete || index > 100 to if f_complete || index > 500. After this change, my script successfully runs in about 2.5 hours

average-engineer avatar Jan 03 '24 12:01 average-engineer