Ask Your Question

Gazebo: one of my robot's wheels stick to the ground and don't spin correctly

asked 2012-06-22 06:34:54 -0500

Capelare gravatar image

updated 2014-01-28 17:12:46 -0500

ngrennan gravatar image

Hi everyone, I was going to test the robot I just wrote in Gazebo when I realized that the robot spins around the joint of the caster instead of the other way around...

I mean, the continuous joint that simulates the axle of the caster spins, yes, but it's the wheel that stays in the same place (like if it were glued to the ground) while the robot does a backflip around it when I turn on the front wheels' motors, for example.

I have no clue about the reason of this. I think that everything is defined the way it has to be, but clearly I'm missing something.

The .xacro files can be found here. The caster can be found inside nxt_caster.xacro, but some things like <gazebo> parameters are inside nxt_base.xacro.

Anyway, if you want, you can test the problem yourselves if you have the nxt stack, clone the repository (or just download the code), compile it and then:

roslaunch nxt_gazebo nxt_ultrasonic_empty_world.launch

and (try to) drive it around with:

roslaunch nxt_teleop teleop_keyboard.launch

If you need me to explain anything else on my code just ask!

Thanks in advance,

Edit: I uploaded a video showing the problem, as you can see, the caster wheel sticks to the ground whenever it touches it.

Edit: I tried changing the mu1 and mu2 parameters, the transmission, the continuous joint parameters... Nothing seems to change the problem of the wheel sticking to the ground as if it was glued down.

Edit: I used my caster macro in another .urdf file (video, as you can see it spins correctly when I move around the robot, despite the bouncing.) with more satisfactory results, so it seems that the problem is not in the caster definition itself, but anywhere else. That leaves me even more confused and still without any clue about how to fix it.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2012-07-08 09:12:26 -0500

Capelare gravatar image

I think I've found the solution, so I'm posting it here just in case anyone else find themselves in the same situation:

I was applying way too much effort on the motors, causing the wheels to jump off the ground instead of working properly.

edit flag offensive delete link more


hey how are you applying effor or velocity on the motor. using pr2_controller_manager or something else. Evenif I have tried with this still mi robot is not moving in the gazebo simulator

Robot gravatar image Robot  ( 2014-10-02 03:55:51 -0500 )edit

Your Answer

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

Add Answer

Question Tools

1 follower


Asked: 2012-06-22 06:34:54 -0500

Seen: 1,825 times

Last updated: Jul 08 '12