JuliaComputing / Multibody.jl

Model and simulate multibody systems in Julia
Other
14 stars 2 forks source link

Set R to have a negative state priority #116

Open YingboMa opened 3 months ago

baggepinnen commented 2 months ago

Tests failed with

ERROR: LoadError: The initial condition for unknown Dt(cyl₊revolute₊frame_b₊R₂ˏ₃, 1, false) isn't provided.

so this does not seem to have improved the situation?

I recall having tried this before as well without success

YingboMa commented 2 months ago

It needs to use the latest JSC and MTK.

baggepinnen commented 2 months ago

I noticed that R already had negative state priority https://github.com/JuliaComputing/Multibody.jl/blob/main/src/frames.jl#L21

YingboMa commented 2 months ago

Not in here https://github.com/JuliaComputing/Multibody.jl/blob/b5741d6b31c16b3aac1200d2a1a54784bf763ec2/src/joints.jl#L858