Ask Your Question

Mobile robot slides and joints continuously moving when spawn

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

kurogane1031 gravatar image

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.

      <kp value="10000000.0" />
      <kd value="1.0"/>
      <fdir1>1 0 0 </fdir1>

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

1 Answer

Sort by ยป oldest newest most voted

answered 2021-03-10 09:05:50 -0500

caioviturino gravatar image

updated 2021-03-10 09:09:38 -0500

Actually I just got it to work using a SDF model of the robot using the following tags:

  <collision name="collision_castor_wheel_center">
    <pose>-0.00063 0.02907 -0.03606 1.5708 0 1.5708</pose>

            <fdir1>0 0 1</fdir1>

The gazebo tags to set the physics are not working.

Try to change the parameters and check if they were modified by using the following command and searching for the link of interest:

gz model -m [robot_name] -i

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools



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

Seen: 253 times

Last updated: Mar 10