Page 1 of 1

when I enable the joint inverse kinematics mode and not the hybrid mode, the robot joints will not fall due to gravity

Posted: 20 May 2020, 16:46
by LZG
In the tutorial of redundantRobot.ttt, when I enable the joint inverse kinematics mode and not the hybrid mode, the robot joints will not fall due to gravity. In my own scene, the inverse kinematics mode is also enabled without the hybrid mode, and the robot joints But it will fall because of gravity, why?I want to use an external controller to control the robot, so I do n’t want to enable hybrid mode.

Re: when I enable the joint inverse kinematics mode and not the hybrid mode, the robot joints will not fall due to gravi

Posted: 22 May 2020, 12:35
by coppelia
Hello,

so you want to have a kinematic model of the robot? i.e. not use dynamics? In that case, you need to set your shapes to static and non-respondable. Normally, when importing shapes, they will be static and non-respondable by default.

Or do you want your robot to be dynamically enabled, and be controlled in position from an external application? In that case, your joints need to be in force/torque mode, the motors enabled, and the control loop also enabled. Then you can set the desired joint angles with sim.setJointTargetPosition

Cheers