Conditional Controller Beginning Time

SCONE is a software tool for predictive simulations of biomechanical movement. It uses OpenSim for modeling and simulation, and performs optimization using various control strategies, including feed-forward control, proprioceptic feedback control, and bal
POST REPLY
User avatar
Sophie Fleischmann
Posts: 3
Joined: Tue Feb 15, 2022 6:58 am

Conditional Controller Beginning Time

Post by Sophie Fleischmann » Thu Dec 22, 2022 9:31 am

Hello,
I am running the Gait State adapted from Geyer and Herr that comes along with the SCONE examples.
I was wondering if there is a way to find the simulation time at which a new phase (e.g. Early Stance) begins?
I am writing a lua script in which this information would be necessary.

Thanks already!

User avatar
Thomas Geijtenbeek
Posts: 461
Joined: Wed Mar 12, 2014 8:08 am

Re: Conditional Controller Beginning Time

Post by Thomas Geijtenbeek » Thu Dec 22, 2022 12:29 pm

The phase from the GaitStateController is not available directly, but you might be able to achieve your goal by making your ScriptController a child controller for each state you're interested in.

I would like to give more specific advice, but for that I need a better understanding of what you are trying to accomplish. You can also email me if you don't want that information to be public.

POST REPLY