...
Code Block | ||
---|---|---|
| ||
sudo apt update && sudo apt install curl gnupg lsb-release sudo curl -sSL https://raw.githubusercontent.com/ros/rosdistro/master/ros.key -o /usr/share/keyrings/ros-archive-keyring.gpg echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/ros-archive-keyring.gpg] <httphttp://packages.ros.org/ros2/ubuntu>ubuntu $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/ros2.list > /dev/null sudo apt install ros-galactic-desktop source /opt/ros/galactic/setup.bash ros2 run demo_nodes_cpp talker |
...