Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

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
Comment

PREVIOUS NEXT
Code Example
Shell :: angular add component 
Shell :: apt install slack 
Shell :: how to pull from original repository upstream 
Shell :: turn off screen linux 
Shell :: delete all merged branches 
Shell :: set multiple git username and password 
Shell :: how to install trello on linux 
Shell :: linux scroll in flutter 
Shell :: leap year bash shell 
Shell :: npm install package as developer dependency 
Shell :: install typeorm node 
Shell :: wine ubuntu 
Shell :: install python debian 
Shell :: install apollo server 
Shell :: pip install google trans 
Shell :: ubuntu power settings high performance 
Shell :: bash arguments parsing 
Shell :: git abort changes 
Shell :: merge feature branch into master 
Shell :: Ping with Timestamps 
Shell :: install tmux fedora 
Shell :: check time in linux 
Shell :: how to install gimp in ubuntu 
Shell :: git pull branch 
Shell :: run jar file on the background on ubuntu 
Shell :: how to merge remote branch 
Shell :: windows subsystem for linux install 
Shell :: how to uninstall a aur package 
Shell :: git create new repo 
Shell :: setup virtualenv python windows 
ADD CONTENT
Topic
Content
Source link
Name
2+1 =