The current package has been tested on Ubuntu and ROS2 Humble, Rolling and Jazzy. Complete following sections in order.
Create the workspace folder by running following commands in the terminal.
mkdir -p /home/$USER/capabilities_ws/src
cd /home/$USER/capabilities_ws/srcClone the package using Git
git clone -b develop https://github.com/CollaborativeRoboticsLab/capabilities2.git
git clone -b develop https://github.com/CollaborativeRoboticsLab/std_capabilities.gitA devcontainer is provided for developing the capabilities2 meta-package. The container can be used with Microsoft Visual Studio Code and Remote Development Extention.
If there are multiple packages in the workspace as with the usual case, move the .devcontainer folder into the parent folder such that it is located as follows,
colcon_ws
--> build
--> install
--> log
--> src
--> .devcontainer
--> capabilities2
--> pakcage ..Close and reopen the vs code editor so that devcontainer is automatically detected. After that, Dependencies need to be installed in the container. Install the dependencies with rosdep:
# in the devcontainer
rosdep install --from-paths src --ignore-src -r -yUse colcon to build the packages:
colcon build