Ask Your Question
0

Laser Scan walls moving with robot

asked 2019-09-08 15:39:52 -0500

ChrisL8 gravatar image

updated 2019-09-08 15:49:59 -0500

In years past I was able to make maps with gmapping. Lately I cannot anymore. I've spent some months trying to tweak calibration and such to no avail.

This is a setup similar to a Turtlebot, using an Asus Xtion Pro as a fake "Laser Scanner", which should be functionally the same as a Kinect.

This is the problem:

  1. Run rviz
  2. Set the Global Options->Fixed Frame to "odom"
  3. Set the Kinect Camera "Decay Time" to something high.
  4. Rotate the robot.

In the past I once got a reasonable view of the room. Now I get this: image description

The walls appear to rotate WITH the robot. this makes a mess of any attempt to create a map, as gmapping interprets this as seen, adding weird double and triple corners and multiple instances of objects in the map.

Can somebody point me to what error in my input or robot description is causing this, and how I could adjust and test it?

I am at a loss and ready to scrap my project, which is very sad.

Thank you.

edit retag flag offensive close merge delete

Comments

Have you tried setting the Fixed Frame parameter to something static, like world?

jayess gravatar imagejayess ( 2019-09-08 19:56:02 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2019-09-08 21:33:40 -0500

This appears to be an IMU problem if I've ever seen one. If you don't have an IMU, then your odometry.

edit flag offensive delete link more

Comments

There is no IMU, just odometry.

Could you be more specific about what kind of problem with the odometry would cause this?

I've spent months calibrating it to be as accurate as possible. The robot can rotate a given set of degrees and drive a given distance correctly, so it must be something that I'm missing.

Thank you.

ChrisL8 gravatar imageChrisL8 ( 2019-09-09 09:53:44 -0500 )edit

I can't help much really beyond that, but I can give you some guiding questions I might ask. Are you sure the wheel radii and separation is correct? You say you've been using this robot for years, maybe a component is starting to fail? When you drive forward do you see some drift linearly? If not, the radii is correct. Do you see this when you spin at any speed? Does it get better or worse when you do?

stevemacenski gravatar imagestevemacenski ( 2019-09-09 12:31:41 -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

2 followers

Stats

Asked: 2019-09-08 15:39:52 -0500

Seen: 23 times

Last updated: Sep 08