Search found 1 match

by Justin Emmerich
Tue Nov 05, 2019 3:04 pm
Forum: OpenSim
Topic: AnalyzeTool Error
Replies: 2
Views: 334

Re: AnalyzeTool Error

I had the same problem.

try this:

analyzeTool = AnalyzeTool();
model = Model(OsimModelFilePath)
model.initSystem();
motion = Storage(MotorStoFilePath)
state = model.initSystem()
analyzeTool.setStatesFromMotion(state, motion, true)