Skip to content

Instantly share code, notes, and snippets.

@detik19
Created September 20, 2020 09:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save detik19/a86dce1bb41ba76e13d98e0204d01d53 to your computer and use it in GitHub Desktop.
Save detik19/a86dce1bb41ba76e13d98e0204d01d53 to your computer and use it in GitHub Desktop.
instalasi ros2
check locale support on os :
locale
install prequisites software before install ROS2
sudo apt update && sudo apt install curl gnupg2 lsb-release
add repository to ubuntu
curl -s https://raw.githubusercontent.com/ros/rosdistro/master/ros.asc | sudo apt-key add -
sudo sh -c 'echo "deb [arch=$(dpkg --print-architecture)] http://packages.ros.org/ros2/ubuntu $(lsb_release -cs) main" > /etc/apt/sources.list.d/ros2-latest.list'
sudo apt update
install ROS 2
sudo apt install ros-foxy-desktop
sudo apt install ros-foxy-ros-base
setting environment before working with ROS2
source /opt/ros/foxy/setup.bash
sudo apt install -y python3-pip
pip3 install -U argcomplete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment