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

Problems with robot localization and navigation

asked 2023-07-06 19:08:03 -0500

Healthbot gravatar image

I am attempting to perform navigation with a LiDAR on my robot. Once I make a map with hector slam and launch my navigation files the robot cannot localize itself and the cost maps do not update correctly. Once I publish a nav goal the robot will just smash into anything and make erratic motions until it enters recovery. I have tested everything in gazebo and nothing went wrong only on the real robot.

I have tried amcl and als localization packages.

Any suggestions would help.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2023-07-10 03:23:27 -0500

MaxHuang gravatar image

If you can do the 2D mapping, the tf of your basement and lidar can be assumed correct.

Suggest that

  1. Using the tool bar on the RVIZ to set up the initial location.
  2. Visualize your global and local cost map.
  3. Figure out that the erratic motion is caused by which map or even both.
edit flag offensive delete link more

Question Tools

Stats

Asked: 2023-07-06 19:08:03 -0500

Seen: 189 times

Last updated: Jul 10 '23