Installing ROS 2 and Gazebo

# authorize our GPG key with apt 
sudo apt update && sudo apt install curl gnupg2 lsb-release
curl -s | sudo apt-key add -
# And then add the repository to your sources list:
sudo sh -c 'echo "deb [arch=$(dpkg --print-architecture)] $(lsb_release -cs) main" > /etc/apt/sources.list.d/ros2-latest.list'
sudo apt update
sudo apt install ros-foxy-desktop

Install argcomplete

sudo apt install -y python3-pip
pip3 install -U argcomplete

try ros

ros2 run demo_nodes_cpp talker

install colcon build

sudo apt install python3-colcon-common-extensions

install gazebo

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


The comment editor supports Markdown syntax. Your email is necessary to notify you of further updates on the discussion. It will be hidden from the public.
Powered by antd server, (c) 2019 - 2021 Xuan Sang LE