Ask Your Question
1

gmapping/hectormapping map->scanmatcher_frame

asked 2015-04-12 22:02:09 -0600

oscillative gravatar image

updated 2015-04-12 22:03:25 -0600

I'm building a simple mapping and navigation robot using iRobot create as base and neato xv-11 lidar. The mapping packages I'm testing are gmapping and hector-mapping. Both SLAM packages appear to publish tf mapping from map to scanmatcher_frame. My iRobot create driver (from Brown university) publishes transform from odom to base_link. I have a robot state publisher that publishes tf from base_link to base_laser, and I setup XV-11 to publish on the base_laser frame.

AFAIK, typical laser mapping robot frames are setup to be map -> odom -> base_link -> base_laser, where SLAM or localization packages publishes tf from map to odom.

There are also packages that fuses IMU, odom, visual odometry into one odom.

If I'd run SLAM and have IMU/wheel encoder-based odom, even visual odometry - how to I link them together? And - as titled - where does scanmatcher_frame fit in?

edit retag flag offensive close merge delete

Comments

The packages that fuse odometry and IMU data would produce the odom->base_link transform here. You would need to turn off the broadcast of that transform in your iRobot driver. There may be a parameter to do so. I can't speak for the SLAM packages.

Tom Moore gravatar imageTom Moore ( 2015-04-17 12:15:27 -0600 )edit

Thanks! That was the key to use robot_localization as odom->base_link transform authority.

oscillative gravatar imageoscillative ( 2015-04-21 03:29:48 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2015-04-21 03:27:55 -0600

oscillative gravatar image

I sounded confused, but I feel much better now :) To answer my question, scanmatcher frame is there for debugging purpose - it's what map-based localization think base_link is, and realized as tf transform between map and odom frames.

The iRobot driver I used has a driver.py wrapper that publish odometry but also a tf message between odom to base_link. I had to comment out the tf message part if I wish to fuse wheel/imu/vo odometry using robot_localization or similar filters.

edit flag offensive delete link more

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

Stats

Asked: 2015-04-12 22:02:09 -0600

Seen: 638 times

Last updated: Apr 21 '15