Created
February 10, 2022 09:53
-
-
Save NamWoo/00b08c419e64a284cc4d1c68c5c3c186 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| echo "------------------------------" | |
| echo "------install start-----------" | |
| echo "------------------------------" | |
| sudo apt-get install -y ros-foxy-gazebo-* ros-foxy-cartographer ros-foxy-cartographer-ros | |
| sudo apt-get install -y ros-foxy-navigation2 ros-foxy-nav2-bringup | |
| #sudo apt install -y ros-foxy-dynamixel-sdk | |
| #sudo apt remove ros-foxy-turtlebot3-msgs | |
| #sudo apt remove ros-foxy-turtlebot3 | |
| mkdir -p ~/turtlebot3_ws/src | |
| cd ~/turtlebot3_ws/src/ | |
| git clone -b foxy-devel https://github.com/ROBOTIS-GIT/DynamixelSDK.git | |
| git clone -b foxy-devel https://github.com/ROBOTIS-GIT/turtlebot3_msgs.git | |
| git clone -b foxy-devel https://github.com/ROBOTIS-GIT/turtlebot3.git | |
| cd ~/turtlebot3_ws | |
| colcon build --symlink-install | |
| echo 'source ~/turtlebot3_ws/install/setup.bash' >> ~/.bashrc | |
| echo 'export ROS_DOMAIN_ID=30 #TURTLEBOT3' >> ~/.bashrc | |
| source ~/.bashrc | |
| echo "------------------------------" | |
| echo "------install done------------" | |
| echo "------------------------------" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment