Robotics StackExchange | Archived questions

How to prevent revolute joint rotation ?

Hi!

I want to simulate a robot with 4 wheels (rotating around x axis) connected to 4 turrets (rotating around z axis). My problem is that when I send velocity commands to my wheels, each turret begins to rotate around z axis, even if I send them a position command to 0.0.

I have attempted several solutions :

But it is still not working. I through about sending an infinite torque to my turret so that no torque can be higher and make it rotate but I don't know how to do so. I am sending position commands to my turrets through the topic /joint_cmd so I send gazebo::msgs::JointCmd and I have access only to the name, velocity, position and force of the joint.

Can you help me please? :)

Asked by laura on 2020-06-24 03:41:16 UTC

Comments

Answers