make simulated turtlebot3 drive to wall and stop

asked 2021-07-17 12:39:26 -0500

Hi all, Im new to ROS and trying to simulate some simple things in gazebo. After many tries Ive managed to get everything installed (as shown in the robotis manual), and am able to do things such as teleop and mapping using the guides provided.

Im struggling however to find information on how to do a simple task (or maybe its not so simple?) of having my simulated turtlebot3 burger drive straight until it reaches a wall, and then stop (using the LIDAR) when it detects an obstacle. I am really struggling to figure this out and would appreciate any advice and help provided here. Im using ROS1 Kinetic on Ubuntu 16.04.

Thank you very much!

edit retag flag offensive close merge delete