This ads_vendor
package for ROS 2 vendors the Beckhoff ADS library. It downloads, builds, and installs the ADS library as part of the ROS 2 build process, making it easily available for other ROS 2 packages to depend on.
- Automated Vending: Automatically downloads and builds the specified version of the Beckhoff ADS library during the ROS 2 workspace compilation.
- ROS 2 Integration: Integrates the ADS library into the ROS 2 build system, allowing other packages to simply
find_package(ads_vendor)
and link againstads
.
- ROS 2 (Humble Hawksbill or newer recommended)
- CMake 3.13 or higher
- Git
To use this package, you'll need to clone it into your ROS 2 workspace and then build your workspace.
-
Clone this repository:
git clone git@github.com:b-robotized/ads_vendor.git
-
Build your ROS 2 workspace:
colcon build --packages-up-to ads_vendor
Once ads_vendor
is built and installed, any other ROS 2 package in your workspace can declare a dependency on it and use the ADS library.
Add ads_vendor
as a build and export dependency:
<depend>ads_vendor</depend>
And use the ADS headers like so:
#include <ads/AdsLib.h>
#include <ads/AdsDef.h>
...
This ads_vendor package was created by B-Robotized GmbH and is provided under the Apache 2.0 License.
The vendored Beckhoff ADS library is subject to its own license, which can be found in its repository.