Ask Your Question
0

how to reduce the error in position by Odom?

asked 2020-01-04 07:03:03 -0600

Redhwan gravatar image

I created a map and moved the robot using a joystick in our lab. but when it returned to the original point. I see the error. for example: assume that I see (x:0, y: 0) or at least near to them but I saw

pose: 

  pose: 
    position: 
      x: 2.79429805011
      y: 5.10801896683
      z: 0.0
    orientation: 
      x: -0.0
      y: 0.0
      z: 0.743380636753
      w: -0.668868618565

how to reduce this error.

please help me or any suggustion

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2020-01-05 13:25:40 -0600

billy gravatar image

There are many methods to improve odom.

1 - Tune your odom - make direct measurements of encoder counts vs movement and rotation and use that data to improve the accuracy

2 - Optimize wheels for the environment - reduce slippage and error by using wheels appropriate for the environment - use narrow hard wheel on a flat smooth surface etc

3 - Optimize weight distribution - place the CM in a location that makes any slip when turning low and repeatable - the shape of your robot, wheels, rolling surface will determine that.

4 - someone else can list 3 more way to improve odom

With odom optimized, there will still be drift. You will not get away from it. Then other methods to mitigate the error are used usually referencing fixed environment like

1 - AMCL

2 - GPS

3 - land marks, etc.

edit flag offensive delete link more

Comments

Thank you so much @billy. I observe that one wheel is faster than another. Is weight distribution the reason for this?

Redhwan gravatar imageRedhwan ( 2020-01-05 18:41:53 -0600 )edit

Kind of depends on what you mean by "faster". Would need to know more about your system. Do you have a reason to think the weight distribution is off?

billy gravatar imagebilly ( 2020-01-05 19:18:37 -0600 )edit

yes, when I move the robot using a joystick forward and backward, I observe that it doesn't move in a straight line exactly, it moves to the left side a little bit. Also, z has a value greater than zero.

orientation: 
      x: 0.0
      y: 0.0
      z: 0.xxxxxxxxxxx
      w: 1.0
Redhwan gravatar imageRedhwan ( 2020-01-05 20:09:37 -0600 )edit

Is there something about the robot and the way it is built that makes you think the weight distribution is off?

billy gravatar imagebilly ( 2020-01-05 20:24:03 -0600 )edit

I am not sure about the weight distribution but I guess that, maybe the issue in a motor.

Redhwan gravatar imageRedhwan ( 2020-01-05 20:34:09 -0600 )edit

I asked here a new question

Redhwan gravatar imageRedhwan ( 2020-01-05 20:56:48 -0600 )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

2 followers

Stats

Asked: 2020-01-04 07:03:03 -0600

Seen: 58 times

Last updated: Jan 05