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

When doing mapping with slam_toolbox, can we move robot with goal setting?

asked 2023-01-16 11:40:19 -0500

Cullen SUN gravatar image

During ROS1, we can have gmapping and move_base node to do slam. While mapping, we can move robot around by setting goal in rviz window.

However, I am not sure how to do this in ROS2 with slam_toolbox. According to nav 2 tutorial, this is possible. Unfortunately, my robot was not moving at all after receiving the goal_pose.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2023-01-16 15:15:55 -0500

it is exactly the same for ROS 2 - I do it all the time while developing :-)

Did you follow the tutorial?

edit flag offensive delete link more

Comments

Thank you Steve for your reply. It turned out that i missed this step ros2 launch nav2_bringup navigation_launch.py

Cullen SUN gravatar image Cullen SUN  ( 2023-01-20 10:57:18 -0500 )edit

That's a pretty important step :-)

stevemacenski gravatar image stevemacenski  ( 2023-01-20 19:21:34 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2023-01-16 11:40:19 -0500

Seen: 187 times

Last updated: Jan 16 '23