Horje
Install ros foxy Code Example
Install ros foxy
locale  # check for UTF-8

sudo apt update && sudo apt install locales
sudo locale-gen en_US en_US.UTF-8
sudo update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8
export LANG=en_US.UTF-8

locale  # verify settings

#####################

sudo apt update && sudo apt install curl gnupg2 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] http://packages.ros.org/ros2/ubuntu $(source /etc/os-release && echo $UBUNTU_CODENAME) main" | sudo tee /etc/apt/sources.list.d/ros2.list > /dev/null

####################

sudo apt update
sudo apt install ros-foxy-desktop -y

######## Test ######
source /opt/ros/foxy/setup.bash
ros2 run demo_nodes_cpp talker
ros2 run demo_nodes_py listener
Source: docs.ros.org




Shell

Related
prevent pushing to master github Code Example prevent pushing to master github Code Example
how to solve the brightness problem on unbuntu Code Example how to solve the brightness problem on unbuntu Code Example
stern install mac Code Example stern install mac Code Example
copy secret from one namespace to another Code Example copy secret from one namespace to another Code Example
create a new branch and publish gitub Code Example create a new branch and publish gitub Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
9