Closed MingshanHe closed 10 months ago
Hello,
Sorry for the very late answer. The setPos and getPos are used only for the visualisation. The number of call depends on the number of simulation step required for one learning step. Hope it helps !
Etienne
Hi @MingshanHe,
Did @EtienneMenager answer your question?
Actually, I don't get familiar with the structure of the sofagym, And I try my best to describe my issue. I think the executeAnimation is the function of operating the gripper, and setPos is to update the position which is gotten from the getPos function to update the value of the position.
I print the value in the executeAnimation.
Why this function is actuated 5 times in one step? And Why each actuated previous position is initialized? (Not save the previous value)
def executeAnimation(fingers, factor):
` The code may a little different from the Gripper to which I referred. Moreover, when I run the gripper env, the gripper also not changed position and orientation.