Assertion failed in MultibodySystemRep.h
Posted: Wed May 10, 2017 11:37 am
Hello,
I am trying to visualize some contact forces and I follow the ExampleContactPlayground.cpp.
In my case I try to assign my model's multibody system to appropriate classes but it fails.
Here is what I am doing:
In last line program aborts with this message:
Any ideas?
I am trying to visualize some contact forces and I follow the ExampleContactPlayground.cpp.
In my case I try to assign my model's multibody system to appropriate classes but it fails.
Here is what I am doing:
Code: Select all
...
SimTK::State& si = model.initSystem();
...
MultibodySystem& system = model.updMultibodySystem();
ContactTrackerSubsystem tracker(system);
CompliantContactSubsystem contactForces(system, tracker);
SimbodyMatterSubsystem matter( system);
Code: Select all
Assertion failed: !matterSub.isValid(), file c:\...\MultibodySystemRep.h, line 311