opensim-org / opensim-core

SimTK OpenSim C++ libraries and command-line applications, and Java/Python wrapping.
https://opensim.stanford.edu
Apache License 2.0
803 stars 324 forks source link

RuntimeError: std::exception in 'SimTK::State & OpenSim::Model::initSystem()' #2900

Open hosseinahm1367 opened 4 years ago

hosseinahm1367 commented 4 years ago

Hi, (Version: 4.1, System: Mac)

I tried running the "dynamic_walker_example_optimizaion" python script. I ended up with this error:

RuntimeError: std::exception in 'SimTK::State & OpenSim::Model::initSystem()': Failed to connect Socket 'child_frame' of type PhysicalFrame (details: Model'model'::findComponent() cannot find a nameless subcomponent.). In Object 'PlatformToGround' of type WeldJoint. Thrown at Component.cpp:287 in finalizeConnections().

How can I go about fixing this issue?

QiYue-day commented 6 months ago

I encountered the same problem as you did. Did you solve it? If so, how did you do it?