Great video, many thanks for it!! Do you'll know how we can bring ROS to our Rasp, and program the nodes and packages on another workstation that can send the code to the ros2 on rasp?
I generally use Visual Studio Code installed on my laptop and do remote interactive development over SSH (code.visualstudio.com/docs/remote/ssh). VSCode installs some lightweight components on the RasPi to support remote launch and debugging and such. I use the same setup for developing in local or remote containers, so it's a handy way to keep everything consistent. Thanks for the feedback!
Hey! Great video. I'm a beginner and I'm working on ROS Melodic distribution. Can anyone tell me the difference? I don't want to mess up. I'm working on Ubuntu 18.04 and Ros Melodic
There's a big difference. ROS Melodic is ROS 1, ROS Foxy is ROS 2. Conceptually there are a lot of similarities and much of the supporting software is written to compile for either ROS 1 or ROS 2. However, the innerworkings are very different, and they're not interchangeable without building an explicit bridge. You'll find ROS 1 documentation/tutorials at wiki.ros.org, and ros2 documentation at index.ros.org. answers.ros.org has lots of help for both ROS 1 and ROS 2, but hints for ROS 2 generally don't work for ROS 1 so just make sure you know which version/distribution is being discussed!
I have tried following the instructions, but I get "E: Unable to locate package ros-foxy-ros-base" I have tried again with a fresh install of Ubuntu Server 20.04 on my RPi4 / 8Gb, but still get the same error message. Any help appreciated! Thank you!
First see if you can update your list of available packages. Try the command "sudo apt update". It should be able to reach out and update all the sources without error, and you should see (probably the last entry) a call to "packages.ros.org". If that succeeds, try "sudo apt install ros-foxy-ros-base" again. If the update fails with an error, try adding the key again with the command "sudo apt-key adv --fetch-keys hxxps[:]//raw.githubusercontent dot com/ros/rosdistro/master/ros.asc (replace hxxps with https and the "dot" with an actual dot, trying to avoid the youtube URL smartness"). Then add the repository again which also does an apt update. Let me know if that works, I'm assuming you may have taken a network hit when updating or something.
@@UbuntuRobotics I had a look at the previous video on how to set up the Raspberry Pi 4. One key issue I neglected to recognize is that the system is a 64-bit OS. I was installing the (recommended) 32-bit Ubuntu Server from the Raspberry Pi Imager software. Now that I have the 64-bit version installed, I am now able to install ROS2 Foxy! Thank you for your help!
@@UbuntuRobotics still unable to get past the ros-foxy-ros-base step. It can't find it. I tried a few things as shown here for keys and I see the packages.ros.org during apt update... Thoughts?
@@wegunterjr The same key is used for all the ROS repositories so if you're updating from packages.ros.org you should be good there. Make sure you add the ROS 2 repo, packages.ros.org/ros2/ubuntu, it's different from the one for ROS 1 (although it's OK to add both). If you're still having problems, try using 'apt search' to find the package, make sure it's in the apt index and you've got all the spelling correct.
@@UbuntuOS will do. Thanks. I did verify that I had ubuntu 20.04 installed on the pi. That should be enough right? Just realized it's a pi2 though... does the machine type matter for the repos?