Closed kumar-sanjeeev closed 1 month ago
I also encountered the same problem. robot._data.root_state_w
was not updated during the running process and was always the initial value (even if I executed robot.update_buffers(sim_dt)
after each timestep)
Question
I have observed one thing: although we initialize the default position of the robot in the configuration file, for ex: FRANKA_PANDA_ARM_WITH_PANDA_HAND_CFG, it does not start in the same configuration when we step forward in the simulation.
What I am expecting to get after initializing with FRANKA_PANDA_ARM_WITH_PANDA_HAND_CFG config file :
Since I have initialized the robot at this default configuration, and if I run the physics simulation without executing any physics-related actions, the robot should start at this default configuration.
[I mean to say robot default position == robot current joint positions]
what I got in return:
script used to check this behavior:
Hack around this is: Set the desired default configuration before stepping the simulation:
Is this a bug, or is it a desired behavior explicitly coded in the Orbit extension?