cartpole model motor not running in GUI using DIRECT

Official Python bindings with a focus on reinforcement learning and robotics.
Post Reply
amishabhaskar
Posts: 1
Joined: Fri Oct 23, 2020 8:15 am

cartpole model motor not running in GUI using DIRECT

Post by amishabhaskar »

I've imported a cartpole1 urdf file in GUI and cartpole2 one in DIRECT. I have specified their positions and orientation to prevent a collision. Now when running the simulation by assigning motor to both of them separately in GUI and DIRECT with velocity control and position control respectively. the model in DIRECT stops moving after some time. And it happens randomly. sometimes the simulation reaches the end and sometimes cartpole2 stops in the middle and cartpole1 keeps on moving. there's no change in code. I run the same command every time but the simulation model of DIRECT one in GUI behaves differently every time. Can you please help me with that?
Attachments
py.png
py.png (56.96 KiB) Viewed 296 times
Post Reply