The purpose of this repository is to familiarise and document the practice of using ROS2 with CI and CD best practices applied.
Clone the git repository into a new workspace by using git clone
and build the packages with the following command.
colcon build
To ensure that the functionality of the packages are proper, run the following command.
colcon test
If you want to test a specific package, run the following command.
colcon test --packages-select <package_name> --event-handler=console_direct+
This should run the GTest testing suite on the packages.
To find the respective dependencies that packages utilise, head to pkg_deps folder and run the get_package_dependencies.sh
script
cd pkg_deps
./get_package_dependencies.sh
This script produces a text-file that showcases the dependencies of a package. You can find more information here.