ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

misaligned map by using gmapping

asked 2016-09-11 09:43:59 -0600

sasadasd gravatar image

updated 2016-09-11 10:28:29 -0600

image descriptionHi , everyone

I'm trying to making map by using gmapping.

But my map is misaligned.

Could you let me know the solution if you have ever experienced like me ?

I use my original robot and using only odometry.

so , It is a little different from the angle value that is calculated and real value.

Thank you

edit retag flag offensive close merge delete

Comments

1

"misaligned" can mean a lot of things. Perhaps you could include a screenshot or a picture that shows how your map is misaligned?

ahendrix gravatar image ahendrix  ( 2016-09-11 10:29:00 -0600 )edit

You said you're using only odometry. I'll assume you mean that you're using a laser scanner and odometry but not using an IMU. If so, your map looks like you are moving too quickly and rotating much too quickly, or your odometry is poor. Calibrate the odometry and slow way down when mapping.

billy gravatar image billy  ( 2016-09-13 14:17:38 -0600 )edit

Yes,I didn't use IMU. I tried slow odometry but it didn't improve. If you know how to calibrate the odometry , could you let me know ?

I have searched the calibration method but I haven't find it yet .

Thank you!

sasadasd gravatar image sasadasd  ( 2016-09-13 15:32:59 -0600 )edit

You didn't give information about the HW, but here is a general list of things to check:

1 - Is your laser scanner zero angle aligned with X axis in base frame?

2 - Is the base/scanner TF correct so that ROS understands pointing direction?

3 - Odom orientation match ROS rules (positive is CCW)?

billy gravatar image billy  ( 2016-09-13 20:17:14 -0600 )edit

4 - Is odom calibrated well? See section 1.2 here: http://wiki.ros.org/navigation/Tutori...

5 - When mapping, are you making sure that any rotation of the base is very slow? (No really, very slow until you get good results, then you can speed up to find tolerance

billy gravatar image billy  ( 2016-09-13 20:23:35 -0600 )edit

Thank you for your very helpful advice.

1-I uses kinect as laser scanner .I think it is aligned with X axis in base frame.

2- I seted up tf as the attached file.

Please let me know if I discorrect.

I will confirm the other things that you give me.

Thank you.

sasadasd gravatar image sasadasd  ( 2016-09-17 21:38:02 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2016-09-12 15:16:55 -0600

sasadasd gravatar image

updated 2016-09-17 23:02:36 -0600

image description image description

image description image description The target room is simple Rectangle . But it did not correspond with real wall.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2016-09-11 09:43:59 -0600

Seen: 624 times

Last updated: Sep 17 '16