API terms in SconePy
Posted: Wed Jan 29, 2025 11:04 am
Dear Dr. Thomas Geijtenbeek,
I'm using Scone to train an agent with SconePy. Regarding SconePy (and the simulation methods), there're some terms making me confused:
1. Beside the term "excitation" in class Muscle() in SconePy, there's also another term called "activation", is that used for MTU muscle force calculation, as described in reference [29] of the paper by Geyer and Herr?
2. With both "activation" and "excitation" plotted in Analysis Window for muscles in healthy gait, I found that their values are very close and it seems like the colour of muscles in animation depend on the corresponding "activation" value. Then what are "excitation" for? in another word, what's the difference between "excitation" and "activation"?
3. And why does the "activation" keep changing during the simulation?
4. In Sconegym, I found that in the "reset()" function, after having randomized the dof poses, velocities and activations, etc. Functions "init_muscle_activation()" and "init_states_from_dofs()" are called everytime, what happens behind that? Why only with "set_dof_poses()" or "set_dof_velocities()" doesn't work?
5. What is the function "adjust_state_for_load()" for? and correspondingly what is "init_load"? There's also a method "contact_load()" in class Leg(), what is the difference between "force" and "load"?
I'd really appreciate it if you could give any hints on those questions.
Thanks in advance.
I'm using Scone to train an agent with SconePy. Regarding SconePy (and the simulation methods), there're some terms making me confused:
1. Beside the term "excitation" in class Muscle() in SconePy, there's also another term called "activation", is that used for MTU muscle force calculation, as described in reference [29] of the paper by Geyer and Herr?
2. With both "activation" and "excitation" plotted in Analysis Window for muscles in healthy gait, I found that their values are very close and it seems like the colour of muscles in animation depend on the corresponding "activation" value. Then what are "excitation" for? in another word, what's the difference between "excitation" and "activation"?
3. And why does the "activation" keep changing during the simulation?
4. In Sconegym, I found that in the "reset()" function, after having randomized the dof poses, velocities and activations, etc. Functions "init_muscle_activation()" and "init_states_from_dofs()" are called everytime, what happens behind that? Why only with "set_dof_poses()" or "set_dof_velocities()" doesn't work?
5. What is the function "adjust_state_for_load()" for? and correspondingly what is "init_load"? There's also a method "contact_load()" in class Leg(), what is the difference between "force" and "load"?
I'd really appreciate it if you could give any hints on those questions.
Thanks in advance.