Continuing on the successful Ubuntu 20.04 64-bit Server setup for GoPiGo3,
ROS2 Successfully installed and basic topic publish/subscribe worked:
pi@ROSbot:~$ ros2 run demo_nodes_cpp talker
[INFO] [1623423608.752614344] [talker]: Publishing: 'Hello World: 1'
**pi@ROSbot**:**~/rosbot-on-gopigo3**$ ros2 run demo_nodes_py listener
[INFO] [1623423608.870487778] [listener]: I heard: [Hello World: 1]
ROS 2 Foxy Install For Raspberry Pi3B/B+ on Ubuntu 20.04 64-bit Server
Mostly follows Installing ROS 2 via Debian Packages — ROS 2 Documentation: Foxy documentation
=== SETUP GPG KEY
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
=== ADD ROS REPOSITORY TO SOURCES
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/ros-archive-keyring.gpg] http://packages.ros.org/ros2/ubuntu $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/ros2.list > /dev/null
=== UPDATE CACHES
sudo apt update
=== INSTALL ROS FOXY BASE
sudo apt install ros-foxy-ros-base
=== SOURCE SETUP SCRIPT
source /opt/ros/foxy/setup.bash
=== INSTALL ARGCOMPLETE
sudo apt install -y python3-argcomplete
=== INSTALL DEMO NODES (not installed by ros-foxy-ros-base )
sudo apt install ros-foxy-demo-nodes-py
sudo apt install ros-foxy-demo-nodes-cpp
=== TEST
* In first ssh session:
source /opt/ros/foxy/setup.bash
ros2 run demo_nodes_cpp talker
* Open a second ssh session
source /opt/ros/foxy/setup.bash
ros2 run demo_nodes_py listener