Created
February 1, 2023 17:39
-
-
Save rpapallas/b6d0f43321155ed83a12a6efaae71c91 to your computer and use it in GitHub Desktop.
ROS Noetic for Turtlebot
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
sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list' | |
curl -s https://raw.githubusercontent.com/ros/rosdistro/master/ros.asc | apt-key add - | |
apt update | |
apt install -y \ | |
ros-noetic-desktop-full \ | |
ros-noetic-catkin \ | |
ros-noetic-rqt-* \ | |
ros-noetic-gazebo-* | |
. /opt/ros/noetic/setup.sh | |
apt-get install -y \ | |
python3-rosinstall \ | |
python3-pyaudio \ | |
python3-rosdep \ | |
python3-rosinstall-generator \ | |
python3-wstool \ | |
python3-rosinstall-generator \ | |
build-essential \ | |
git \ | |
ros-noetic-kobuki-ftdi \ | |
ros-noetic-joy ros-noetic-teleop-twist-joy \ | |
ros-noetic-teleop-twist-keyboard ros-noetic-laser-proc \ | |
ros-noetic-rgbd-launch ros-noetic-rosserial-arduino \ | |
ros-noetic-rosserial-python ros-noetic-rosserial-client \ | |
ros-noetic-rosserial-msgs ros-noetic-amcl ros-noetic-map-server \ | |
ros-noetic-move-base ros-noetic-urdf ros-noetic-xacro \ | |
ros-noetic-compressed-image-transport ros-noetic-rqt* ros-noetic-rviz \ | |
ros-noetic-dynamixel-sdk \ | |
ros-noetic-turtlebot3-msgs \ | |
ros-noetic-turtlebot3 \ | |
ros-noetic-gmapping ros-noetic-navigation ros-noetic-interactive-markers | |
# Install Turtlebot 2 packages | |
pip install -U rosdep | |
. /opt/ros/noetic/setup.sh | |
rosdep init | |
rosdep update | |
apt install -y \ | |
liborocos-kdl-dev \ | |
ros-noetic-joy \ | |
ros-noetic-hls-lfcd-lds-driver \ | |
ros-noetic-openni2-launch \ | |
ros-noetic-depthimage-to-laserscan | |
cd /opt/ros/noetic/ | |
mkdir -p catkin_ws/src | |
cd catkin_ws/src/ | |
catkin_init_workspace | |
cd .. | |
. /opt/ros/noetic/setup.sh | |
catkin_make | |
cd src | |
git clone https://github.com/turtlebot/turtlebot.git | |
git clone https://github.com/turtlebot/turtlebot_msgs.git | |
git clone https://github.com/turtlebot/turtlebot_apps.git | |
git clone https://github.com/turtlebot/turtlebot_simulator | |
git clone https://github.com/yujinrobot/kobuki_msgs.git | |
git clone --single-branch --branch melodic https://github.com/yujinrobot/kobuki.git | |
mv kobuki/kobuki_description kobuki/kobuki_node \ | |
kobuki/kobuki_keyop kobuki/kobuki_safety_controller \ | |
kobuki/kobuki_bumper2pc ./ | |
rm -rf kobuki | |
git clone --single-branch --branch melodic https://github.com/yujinrobot/kobuki_desktop.git | |
mv kobuki_desktop/kobuki_gazebo_plugins ./ | |
rm -rf kobuki_desktop | |
git clone https://github.com/yujinrobot/yujin_ocs.git | |
mv yujin_ocs/yocs_cmd_vel_mux yujin_ocs/yocs_controllers . | |
rm -rf yujin_ocs | |
apt install -y \ | |
liborocos-kdl-dev \ | |
ros-noetic-joy \ | |
ros-noetic-hls-lfcd-lds-driver \ | |
ros-noetic-openni2-launch \ | |
ros-noetic-depthimage-to-laserscan | |
rosdep install --from-paths . --ignore-src -r -y | |
cd .. | |
catkin_make |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment