Home | Tutorials | Wiki | Issues
Ask Your Question
0

My model does not going straight

asked 2019-07-25 07:41:51 -0500

ermanas gravatar image

My platform: OS: Ubuntu 16.04 LTS with 4.15.0-52-generic kernel. Gazebo Version: gazebo-7

I have a differential drive model that I've created from scratch. It has 4 wheel and it's a differential drive robot. I have just create a box for chassis. It has cylindrical wheels. I didn't specify any mass or inertial info.

I put the model to the an empty gazebo world. I applied velocity to the hinges. For all hinges I applied 0,2 m/s Velocity with P(1) I(0,1) D(0,01) gains. The problem is, it is not going straight perfectly. I've tried to apply force as well. And I tried to give velocity with using a model plugin.

I've discovered that the contact points are not symmetrical. I've tried to make the wheels too thin to get rid of this thing. But it didn't work. Can you see the problem or a mistake that I did?

Here is my sdf file: C:\fakepath\model.sdf

Here is the contact points, It should be like this:0 It should be like this

But I see that contact points But I see like this

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2019-07-28 19:25:34 -0500

This may not solve your problem, but either way you should definitely specify mass and inertial properties. Otherwise your physics simulation cannot possible be realistic.

This is a helpful page for doing this https://en.wikipedia.org/wiki/List_of...

don't forget gazebo let's you visualize momets of inertia, the purple shapes should closely match the collision shape

edit flag offensive delete link more
0

answered 2019-07-26 08:24:33 -0500

ermanas gravatar image

Hello again, is there anybody who has any idea about it?

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

2 followers

Stats

Asked: 2019-07-25 07:41:51 -0500

Seen: 67 times

Last updated: Jul 28