Page 1 of 1

cartpole model motor not running in GUI using DIRECT

Posted: Fri Oct 23, 2020 9:00 am
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?