Mobile robot slides and joints continuously moving when spawn

asked 2020-06-26 11:21:58 -0500

Hi all,

I am creating a 4 wheel front-steered model, and the expected behaviour is the robot remains stationary until move command is induced. However, my model slide to one side each time I spawn it.

I have attempted (but failed) several solution as follow:-

  1. Change the moment of inertia parameter for the chassis. (This only make the slide slower. But it didnt eliminate the issue)
  2. Change the fdir
  3. Change the kp value of the joint
  4. Add mu constant to the surface
  5. Update to Gazebo 9.13.1. I am currently using ROS Kinetic.

Below is the information of the friction tags in my axle.urdf.xacro.

    <ode>
      <mu>1.0</mu>
      <mu2>1.0</mu2>
      <kp value="10000000.0" />
      <kd value="1.0"/>
      <fdir1>1 0 0 </fdir1>
      <minDepth>0.0</minDepth>
    </ode>

Currently my link and joint looks like this

front tyre: base_link < chassis < steering < axle < wheel

rear tyre: base_link < chassis < axle < wheel

I think there is some parts that I did wrong, or I misunderstand the solution given by others in this Gazebo Answer. Thus I appreciate it if you could point me to the parts that I did wrong or any ideas that may help. I have added the urdf to my git repository. I have attempted to post this in gazebo answers, however, up until now probably there isnt any luck with the answer. I thank you in advanced.

edit retag flag offensive close merge delete