- ROS 2.0 Dashing: following the official instructions, source or debian packages. Make sure that you have colcon in your machine if you are installing from Debian packages.
sudo apt install python3-colcon-common-extensions
- Gazebo 9.9.0.
- Install the latest available version of Gazebo via one-liner instructions.
curl -sSL http://get.gazebosim.org | sh
- Install the latest available version of Gazebo via one-liner instructions.
- ROS 2 extra packages
sudo apt update && sudo apt install -y \
ros-dashing-rttest \
ros-dashing-rclcpp-action \
ros-dashing-gazebo-dev \
ros-dashing-gazebo-msgs \
ros-dashing-gazebo-plugins \
ros-dashing-gazebo-ros \
ros-dashing-gazebo-ros-pkgs
sudo apt install -y \
python3-pip python3-vcstool python3-numpy wget python3-pyqt5 python3-colcon-common-extensions git
Create the workspace and download source files:
mkdir -p ~/ros2_phantomx_ws/src
cd ~/ros2_phantomx_ws/src
git clone https://github.com/kkonen/PhantomX.git
Please make sure you are not sourcing ROS workspaces via .bashrc
or any other way.
source /opt/ros/dashing/setup.bash
cd ~/ros2_phantomx_ws && colcon build --merge-install
Installation completed!