第 7 節
ROS environment setup
0瀏覽次數0訪問次數--跳出率--平均停留
Robot Operating System Tutorial
Robot Operating System 2 Tutorial

ROS1 has reached End of Life (EOF), and the official recommendation is to use ROS2.
Recommended setup environment
Option 1 (Recommended)
ROS1=Kubuntu20.04**(Both Noetic and 20.04 have reached end of life)**
ROS2=Kubuntu22.04+
It is still recommended to use 22.04 + Humble. The main differences between the LTS versions Noetic, Humble, and Jazzy are as follows:
- Noetic is an LTS (Long-Term Support) version of ROS1, which will reach its end of life (EOF) on May 31, 2025. Its built-in algorithms are relatively outdated and depend on other non-built-in algorithms, but it has the most tutorials and broad support for third-party algorithms.
- Humble is the first LTS release of ROS2, supported until May 31, 2027 or Turtle Day. It comes with both the older Gazebo Classic and the newer Ignition Gazebo (the only ROS version that supports both old and new Gazebo versions well), offering a wide range of choices. It includes relatively new built-in algorithms, and tutorials as well as third-party algorithms are steadily increasing. Many people using ROS1 are transitioning to ROS2 Humble.
- Jazzy is the second LTS release of ROS2, supported until May 31, 2029, or Turtle Day. Building on Humble, it adds several features but only includes the new Gazebo Sim. There is very little tutorial material for ROS2 targeting Jazzy, and many third-party algorithms have not yet released versions specifically for Jazzy. However, Jazzy currently appears to be compatible with many Humble algorithms and tutorials. So far, aside from the need to update some markup language tags due to the renaming of the new Gazebo, no other code incompatibilities have been found.
Option 2 (also relatively recommended, but requires learning Docker)
- System Distribution: Fedora KDE (senior students recommend it; you can choose any other Linux distribution you prefer)
- ROS1 Noetic Installation Method: Docker
- ROS2 Humble/Jazzy Installation Method: Docker See Docker Tutorial for details
Option 3 (usable)
- System Distribution: Kubuntu 22.04 Jammy LTS / Kubuntu 24.04 Jammy LTS
- ROS1 Noetic Installation Method: Southwest Jiaotong University expert's PPA (see the ROS documentation above for details, amd64 (x86_64) only)
- ROS2 Humble / ROS2 Jazzy Installation Method: Official Binary Installation (see the ROS2 documentation above for details)
Option 4 (usable)
- System Distribution: Windows 10 and above
- WSL2 distribution: Ubuntu 24.04 Noble LTS
- ROS1 Noetic Installation Method: Southwest Jiaotong University expert's PPA (see the ROS documentation above for details, amd64 (x86_64) only)
- ROS2 Jazzy installation method: official binary installation (see the ROS2 documentation above for details)