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

Using hector slam mapping for Ros navigation stack

asked 2022-11-07 04:59:28 -0600

zaid gravatar image

updated 2022-11-07 05:11:38 -0600

I need guidelines on how to build an effective map for Ros navigation.

Following is the approach that I am adopting

  • I have built the map using the hector_slam package while controlling my robot using an RF transmitter.
  • For the move_base node I am using amcl localization parameters.

For the sake of testing my robot's position on the map, I drive the robot manually and I receive the following error and the robot randomly moves all around the map.

Autonomous navigation will only work if this localization problem is solved and according to my naive point of view I guess it's the problem of building the map with hector slam and later on using amcl for localization.

Questions:

  1. Is this approach possible?
  2. Can I use hector slam for localization instead of amcl?
  3. How do i make the robot localize itself in the pre-build map (using hector_slam) when I control it manually
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2023-02-24 06:17:59 -0600

Davies Ogunsina gravatar image

You can use the laser_scan_matcher package for localization. Follow the instructions below :

http://wiki.ros.org/laser_scan_matcher

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2022-11-07 04:59:28 -0600

Seen: 330 times

Last updated: Feb 24 '23