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

Navigation not update map

asked 2021-12-03 04:07:02 -0500

alanotmt gravatar image

updated 2022-02-13 17:10:43 -0500

lucasw gravatar image

When i using this commend

roslaunch turtlebot3_slam turtlebot3_slam.launch

image description image description

moving the robot will update the map

but i using this commend

roslaunch turtlebot3_navigation turtlebot3_navigation.launch

image description image description image description

i change the base_scan to my laser, but i don't know why still here The robot move to the target , map not update Anyone can tall what i am missing?

edit retag flag offensive close merge delete

Comments

By reading documentation for SLAM launcher and for navigation launcher you can see, that only the first one launches SLAM. Second one only navigates TB3 on the map. As I understood, you want to have SLAM and navigation at the same time, right?

ljaniec gravatar image ljaniec  ( 2021-12-03 05:05:48 -0500 )edit

very close, but I mean when the robot turns around and the lidar will follow the robot turns. The lidar will not match the map. However, thank for your help

alanotmt gravatar image alanotmt  ( 2021-12-05 19:40:42 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2021-12-03 05:56:43 -0500

Dragonslayer gravatar image

SLAM is mapping here. And navigation is localization within a known (static) map. It does what it should do. You could take a look at slam_toolbox its an alternative to gmapping (used in your turlebot example), with many more features. It can expand/refine the map in multiple sessions, though I dont know if it can be done during localization.

edit flag offensive delete link more

Comments

Thank you for your the detail. I found my real problem is the robot moves in real, but the robot model is static and the direction keep from the north.

alanotmt gravatar image alanotmt  ( 2021-12-05 19:54:53 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2021-12-03 04:07:02 -0500

Seen: 241 times

Last updated: Dec 03 '21