Solve the "KukaGymEnv.py" problem in the pyBullet sample code #4038
ZaWaLuDo77
started this conversation in
Show and tell
Replies: 1 comment 1 reply
-
Haven't used that KukaGymEnv for many years, thanks for reporting on this. 100 physics steps sounds quite a lot, have you tried with fewer? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The "Kukagymenv" environment has the problem of failure to converge in any RL method training.
I found that the main reason is that in "def step2(self, action):", "self._kuka.applyAction(action)" is quoted more frequently than "p.stepSimulation()".
This will cause "stepSimulation" to fail to keep up with the execution of the action, causing problems when lifting kuka.
Therefore, we must execute p.stepSimulation() multiple times in each action.
The "def step2" code is replaced as follows:
def step2(self, action):
Hope it will be helpful to other researchers, thank you.
Tienen
Beta Was this translation helpful? Give feedback.
All reactions