Changing Pybullet connection from GUI to DIRECT breaks the robot control
Posted: Sat Sep 05, 2020 1:57 am
Hi Guys,
I have a working code with GUI connection where SetJointMotorControlArray() is used to change the position and orientation of the joints in position control mode. It works well and the changes can be confirmed by the position/orientation from getlinkState() and the joint state information from getJointstate().
When I change the connection to DIRECT, I suspect that SetJointMotorControlArray() is not working at all. The getJointstate() returns tuple with all 0.0. Also the getLinkstate() doesn't show any change.
Any ideas or suggestions or thoughts on what factors might influence the change in Pybullet behaviour from GUI to DIRECT.
Thanks.
I have a working code with GUI connection where SetJointMotorControlArray() is used to change the position and orientation of the joints in position control mode. It works well and the changes can be confirmed by the position/orientation from getlinkState() and the joint state information from getJointstate().
When I change the connection to DIRECT, I suspect that SetJointMotorControlArray() is not working at all. The getJointstate() returns tuple with all 0.0. Also the getLinkstate() doesn't show any change.
Any ideas or suggestions or thoughts on what factors might influence the change in Pybullet behaviour from GUI to DIRECT.
Thanks.