Skip to content

Commit 69d7d1c

Browse files
committed
atol increaded in order that this models simulates both under Linux and Windows
1 parent 2c857a4 commit 69d7d1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/Robot/YouBotWithSphere.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,7 @@ youbot = @instantiateModel(youbotModel, unitless=true, logCode=false, log=false)
425425
stopTime = 5.0
426426
tolerance = 1e-6
427427
requiredFinalStates = [0.38482227754776066, -0.00016295742025519802, -0.3452201051898588, 0.15367592851859116, -3.115109032187419e-5, 2.1716034934731783e-7, 1.5711777547062007, -0.0004593817729326798, -21.251802606456394, 0.00288490325758245, 0.0008119903827950956, -6.173843836576349, -9.385893877103843e-8, 9.392153905515826e-8, -1.834001085206641e-6, 1.834211232702938e-6, -3.5547016886714106e-6, 3.5551825975198027e-6, -2.1819178782680093e-6, 2.1822806030382832e-6, 8.488825444774014e-9, -8.49023732072194e-9, -0.0007169695126938622, 0.22761790676242252, -0.01821048529038104, -0.008529189653392576, 2.9527612260696888e-5]
428-
simulate!(youbot, stopTime=stopTime, tolerance=tolerance, requiredFinalStates_atol=0.001, log=true, logStates=false, requiredFinalStates=requiredFinalStates)
428+
simulate!(youbot, stopTime=stopTime, tolerance=tolerance, requiredFinalStates_atol=0.01, log=true, logStates=false, requiredFinalStates=requiredFinalStates)
429429

430430
@usingModiaPlot
431431
plot(youbot, ["free.rot"], figure=1)

0 commit comments

Comments
 (0)