Hi @rlgraf ,
Let me get straight to the point:
Install ROS2:
locale # check for UTF-8
sudo apt update && sudo apt install -y 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 install -y software-properties-common
sudo add-apt-repository universe
sudo apt update && sudo apt install -y curl
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 $(. /etc/os-release && echo $UBUNTU_CODENAME) main" | sudo tee /etc/apt/sources.list.d/ros2.list > /dev/null
sudo apt update
sudo apt install -y ros-<distro>-desktop
sudo apt install -y ros-dev-tools
Install ROS2 Manipulation:
sudo apt install -y ros-<distro>-moveit
sudo apt install -y ros-<distro>-rmw-cyclonedds-cpp
Install ROS2 Control: [Needed for ROS2 Manipulation]
sudo apt install -y ros-<distro>-ros2-control
sudo apt install -y ros-<distro>-ros2-controllers
sudo apt install -y ros-<distro>-gazebo-ros2-control
sudo apt install -y ros-<distro>-gazebo-ros2-control-demos
Install Gazebo Classic (Not the modern Gazebo Sim version):
sudo sh -c 'echo "deb http://packages.osrfoundation.org/gazebo/ubuntu-stable `lsb_release -cs` main" > /etc/apt/sources.list.d/gazebo-stable.list'
cat /etc/apt/sources.list.d/gazebo-stable.list
wget https://packages.osrfoundation.org/gazebo.key -O - | sudo apt-key add -
sudo apt update
sudo apt install -y gazebo11
Install all Universal Robot packages:
sudo apt install -y ros-<distro>-ur-client-library
sudo apt install -y ros-<distro>-ur-controllers
sudo apt install -y ros-<distro>-ur-description
sudo apt install -y ros-<distro>-ur-msgs
sudo apt install -y ros-<distro>-ur-robot-driver
The ros-<distro>-ur-description
package contains all robot description files for UR3, UR5, URx…
Replace <distro>
in all the lines above with the ROS2 distribution you have installed: foxy
, galactic
, humble
, iron
, jazzy
, etc.
I hope this helps! Let me know if you need anything else!
Regards,
Girish