3D walking with contact force
Posted: Sat Aug 08, 2020 10:04 am
Hi,
For the last few days I have tried to make a 3D walking tracking task simulation with contact forces but I haven't been able to get good results. I modified 2D walking example script and I added contact spheres and contact forces to 3D walking osim model which is located on 3D walking example folder (subject_walk_armless.osim). In this way, Matlab threw the following exception:
java.lang.RuntimeException: Failed to connect Socket 'half_space_frame' of type PhysicalFrame (details:
Connectee for Socket 'half_space_frame' of type PhysicalFrame in SmoothSphereHalfSpaceForce at
/forceset/contactHeel_r is unspecified. If this model was built programmatically, perhaps finalizeConnections()
was not called before printing.
Thrown at Component.h:3094 in finalizeConnection().).
In Object 'contactHeel_r' of type SmoothSphereHalfSpaceForce.
Thrown at Component.cpp:314 in finalizeConnections().
Also, I tried also running Ross Miller's examples but neither 2D example nor 3D e didn't work well. Both examples threw same matlab exception above mentioned. As well, I tried adding contact forces and contact spheres like Components on XML model but it didn't work neither. This time, it didn't throw matlab exception, instead, it got stuck and it never found a solution. Could someone help me? How do i add contact forces in a correct way? or How can i fix this issues.?
Thank you
Regards
For the last few days I have tried to make a 3D walking tracking task simulation with contact forces but I haven't been able to get good results. I modified 2D walking example script and I added contact spheres and contact forces to 3D walking osim model which is located on 3D walking example folder (subject_walk_armless.osim). In this way, Matlab threw the following exception:
java.lang.RuntimeException: Failed to connect Socket 'half_space_frame' of type PhysicalFrame (details:
Connectee for Socket 'half_space_frame' of type PhysicalFrame in SmoothSphereHalfSpaceForce at
/forceset/contactHeel_r is unspecified. If this model was built programmatically, perhaps finalizeConnections()
was not called before printing.
Thrown at Component.h:3094 in finalizeConnection().).
In Object 'contactHeel_r' of type SmoothSphereHalfSpaceForce.
Thrown at Component.cpp:314 in finalizeConnections().
Also, I tried also running Ross Miller's examples but neither 2D example nor 3D e didn't work well. Both examples threw same matlab exception above mentioned. As well, I tried adding contact forces and contact spheres like Components on XML model but it didn't work neither. This time, it didn't throw matlab exception, instead, it got stuck and it never found a solution. Could someone help me? How do i add contact forces in a correct way? or How can i fix this issues.?
Thank you
Regards