jgerstmayr / EXUDYN

Multibody Dynamics Simulation: Rigid and flexible multibody systems
https://www.youtube.com/channel/UCsQD2bIPBXB_4J23WtqKkVw/playlists
Other
166 stars 23 forks source link

Wrong object type for Prismatic joint #41

Closed ManuelZ closed 1 year ago

ManuelZ commented 1 year ago

The following error made me believe that my problems were related to a Revolute joint, but after looking for object 17, I found out they are related to a Prismatic Joint.

Potential object number(s) causing linear solver to fail: [17]
    object 17, name='object17', type=JointRevolute

Such joint is being created through AddPrismaticJoint, hence, through ObjectJointPrismaticX.

I think the problem comes from here: https://github.com/jgerstmayr/EXUDYN/blob/866099d2dd829f543171721ab473a73f942bae9d/main/src/Autogenerated/MainObjectJointPrismaticX.h#L101

The following are related files with a similar "JointRevolute" string present: MainObjectJointRevolute.h MainObjectJointRevoluteZ.h MainObjectJointPrismatic.h

jgerstmayr commented 1 year ago

Resolved with current update V1. 6.57