Search found 2 matches
- Thu Mar 09, 2023 9:17 pm
- Forum: OpenSim
- Topic: OpenSim API to specify the state value
- Replies: 1
- Views: 309
OpenSim API to specify the state value
Hi, I am trying to run forward dynamics on matlab. I already have all the files that can be used to run forward dynamics on opensim GUI (model, initial state, control history). I fall into trouble when I try to specify the state values. It seems like there is no function to fulfill this directly. I ...
- Tue Mar 07, 2023 11:46 pm
- Forum: OpenSim
- Topic: Extracting force analysis with manager tool in Matlab
- Replies: 1
- Views: 385
Re: Extracting force analysis with manager tool in Matlab
I'm not sure but maybe you can insert these sentences before 'state = model.initSystem();' to see if it works: 'Forceset=model.get_ForceSet(); reporter = ConsoleReporter(); reporter.set_report_time_interval(1.0); %1.0 is the time interval which can be changed for i=0:N-1 %N is the number of objects ...