@@ -792,23 +792,23 @@ end
792792
793793 setconstraint! (mhe, x̂min= [1 ,1 ], x̂max= [100 ,100 ])
794794 x̂ = updatestate! (mhe, [10 , 50 ], [50 , 30 ])
795- @test x̂ ≈ [1 , 1 ] atol= 1e -2
795+ @test x̂ ≈ [1 , 1 ] atol= 5e -2
796796
797797 setconstraint! (mhe, x̂min= [- 100 ,- 100 ], x̂max= [- 1 ,- 1 ])
798798 x̂ = updatestate! (mhe, [10 , 50 ], [50 , 30 ])
799- @test x̂ ≈ [- 1 , - 1 ] atol= 1e -2
799+ @test x̂ ≈ [- 1 , - 1 ] atol= 5e -2
800800
801801 setconstraint! (mhe, x̂min= [- 100 ,- 100 ], x̂max= [100 ,100 ])
802802 setconstraint! (mhe, ŵmin= [- 100 ,- 100 ], ŵmax= [100 ,100 ])
803803 setconstraint! (mhe, v̂min= [- 100 ,- 100 ], v̂max= [100 ,100 ])
804804
805805 setconstraint! (mhe, ŵmin= [1 ,1 ], ŵmax= [100 ,100 ])
806806 x̂ = updatestate! (mhe, [10 , 50 ], [50 , 30 ])
807- @test mhe. Ŵ ≈ [1 ,1 ] atol= 1e -2
807+ @test mhe. Ŵ ≈ [1 ,1 ] atol= 5e -2
808808
809809 setconstraint! (mhe, ŵmin= [- 100 ,- 100 ], ŵmax= [- 1 ,- 1 ])
810810 x̂ = updatestate! (mhe, [10 , 50 ], [50 , 30 ])
811- @test mhe. Ŵ ≈ [- 1 ,- 1 ] atol= 1e -2
811+ @test mhe. Ŵ ≈ [- 1 ,- 1 ] atol= 5e -2
812812
813813 setconstraint! (mhe, x̂min= [- 100 ,- 100 ], x̂max= [100 ,100 ])
814814 setconstraint! (mhe, ŵmin= [- 100 ,- 100 ], ŵmax= [100 ,100 ])
@@ -817,12 +817,12 @@ end
817817 setconstraint! (mhe, v̂min= [1 ,1 ], v̂max= [100 ,100 ])
818818 x̂ = updatestate! (mhe, [10 , 50 ], [50 , 30 ])
819819 info = getinfo (mhe)
820- @test info[:V̂ ] ≈ [1 ,1 ] atol= 1e -2
820+ @test info[:V̂ ] ≈ [1 ,1 ] atol= 5e -2
821821
822822 setconstraint! (mhe, v̂min= [- 100 ,- 100 ], v̂max= [- 1 ,- 1 ])
823823 x̂ = updatestate! (mhe, [10 , 50 ], [50 , 30 ])
824824 info = getinfo (mhe)
825- @test info[:V̂ ] ≈ [- 1 ,- 1 ] atol= 1e -2
825+ @test info[:V̂ ] ≈ [- 1 ,- 1 ] atol= 5e -2
826826
827827 f (x,u,_) = linmodel1. A* x + linmodel1. Bu* u
828828 h (x,_) = linmodel1. C* x
@@ -835,23 +835,23 @@ end
835835
836836 setconstraint! (mhe2, x̂min= [1 ,1 ], x̂max= [100 ,100 ])
837837 x̂ = updatestate! (mhe2, [10 , 50 ], [50 , 30 ])
838- @test x̂ ≈ [1 , 1 ] atol= 1e -2
838+ @test x̂ ≈ [1 , 1 ] atol= 5e -2
839839
840840 setconstraint! (mhe2, x̂min= [- 100 ,- 100 ], x̂max= [- 1 ,- 1 ])
841841 x̂ = updatestate! (mhe2, [10 , 50 ], [50 , 30 ])
842- @test x̂ ≈ [- 1 , - 1 ] atol= 1e -2
842+ @test x̂ ≈ [- 1 , - 1 ] atol= 5e -2
843843
844844 setconstraint! (mhe2, x̂min= [- 100 ,- 100 ], x̂max= [100 ,100 ])
845845 setconstraint! (mhe2, ŵmin= [- 100 ,- 100 ], ŵmax= [100 ,100 ])
846846 setconstraint! (mhe2, v̂min= [- 100 ,- 100 ], v̂max= [100 ,100 ])
847847
848848 setconstraint! (mhe2, ŵmin= [1 ,1 ], ŵmax= [100 ,100 ])
849849 x̂ = updatestate! (mhe2, [10 , 50 ], [50 , 30 ])
850- @test mhe2. Ŵ ≈ [1 ,1 ] atol= 1e -2
850+ @test mhe2. Ŵ ≈ [1 ,1 ] atol= 5e -2
851851
852852 setconstraint! (mhe2, ŵmin= [- 100 ,- 100 ], ŵmax= [- 1 ,- 1 ])
853853 x̂ = updatestate! (mhe2, [10 , 50 ], [50 , 30 ])
854- @test mhe2. Ŵ ≈ [- 1 ,- 1 ] atol= 1e -2
854+ @test mhe2. Ŵ ≈ [- 1 ,- 1 ] atol= 5e -2
855855
856856 setconstraint! (mhe2, x̂min= [- 100 ,- 100 ], x̂max= [100 ,100 ])
857857 setconstraint! (mhe2, ŵmin= [- 100 ,- 100 ], ŵmax= [100 ,100 ])
@@ -860,10 +860,10 @@ end
860860 setconstraint! (mhe2, v̂min= [1 ,1 ], v̂max= [100 ,100 ])
861861 x̂ = updatestate! (mhe2, [10 , 50 ], [50 , 30 ])
862862 info = getinfo (mhe2)
863- @test info[:V̂ ] ≈ [1 ,1 ] atol= 1e -2
863+ @test info[:V̂ ] ≈ [1 ,1 ] atol= 5e -2
864864
865865 setconstraint! (mhe2, v̂min= [- 100 ,- 100 ], v̂max= [- 1 ,- 1 ])
866866 x̂ = updatestate! (mhe2, [10 , 50 ], [50 , 30 ])
867867 info = getinfo (mhe2)
868- @test info[:V̂ ] ≈ [- 1 ,- 1 ] atol= 1e -2
868+ @test info[:V̂ ] ≈ [- 1 ,- 1 ] atol= 5e -2
869869end
0 commit comments