ROS2下使用TurtleBot3教程-5.自主避障(仿真)
新开终端,启动gazebo
ros2 launch turtlebot3_gazebo turtlebot3_world.launch.py
新开终端,执行自走避障程序
ros2 run turtlebot3_gazebo turtlebot3_drive
效果如下:
新开终端,启动gazebo
ros2 launch turtlebot3_gazebo turtlebot3_world.launch.py
新开终端,执行自走避障程序
ros2 run turtlebot3_gazebo turtlebot3_drive
效果如下: