Turtlebot3 - Kraft2k/py_info_inv GitHub Wiki

$ lsb_release -a

$ printenv ROS_DISTRO

$ gazebo -vesrsion

$ sudo apt install ros-foxy-gazebo-ros-pkgs

$ sudo apt install ros-foxy-cartographer

$ sudo apt install ros-foxy-turtlebot3-msgs

$ sudo apt install ros-foxy-dynamixel-sdk

$ sudo apt install ros-foxy-hls-lfcd-lds-driver

$ mkdir -p ~/turtlebot3_ws/src && cd ~/turtlebot3_ws/src

~/turtlebot3_ws/src$ git clone -b foxy-devel https://github.com/ROBOTIS-GIT/turtlebot3

~/turtlebot3_ws/src$ git clone -b foxy-devel https://github.com/ROBOTIS-GIT/turtlebot3_simulations

~/turtlebot3_ws/src$ cd ..

~/turtlebot3_ws$ colcon build --symlink-install --parallel-workers 1

In new terminal

$ echo 'export GAZEBO_MODEL_PATH=$GAZEBO_MODEL_PATH:~/turtlebot3_ws/src/turtlebot3_simulations/turtlebot3_gazebo/models' >> ~/.bashrc

$ source ~/.bashrc

$ export TURTLEBOT3_MODEL=burger