ROS2下使用TurtleBot3教程-3.Gazebo下启动Fake Node

下载仿真包

cd ~/colcon_ws/src/

安装

git clone -b foxy-devel https://github.com/ROBOTIS-GIT/turtlebot3_simulations.git

编译

cd ..

colcon build --symlink-install

仿真编译完成.png

启动Fake Node

 ros2 launch turtlebot3_fake_node turtlebot3_fake_node.launch.py

启动后弹出rviz,并显示小车模型

fake.png

启动键盘控制

ros2 run turtlebot3_teleop teleop_keyboard

fake2.png