can i save initial value from moco state to use forward on?
Posted: Fri Feb 10, 2023 5:38 am
I need to save some state value got by the moco at initial time, and use it forward at time.
for example: an actuator that initialized by the initial angle and forward at time the force relative
to the initial angle.
so i need a discretevariable that is saved at t=0 (not the default initial pose)
i thought i can use a discrete variable but i cant find a function at Actuator.h that can modify a state, every functions are for const state
can it be done?
for example: an actuator that initialized by the initial angle and forward at time the force relative
to the initial angle.
so i need a discretevariable that is saved at t=0 (not the default initial pose)
i thought i can use a discrete variable but i cant find a function at Actuator.h that can modify a state, every functions are for const state
can it be done?