There is Festo Robotino API2 wrapper.
- CMake v3.0 or later
- Robotino API2 v1.1.14 or later
- compiler: gcc 9.3.0 or later; MSVC 19 (Visual Studio 2017) or later
Optional:
- Doxygen v1.8.0 or later
# Create build directory
mkdir build/
# Configure
cmake -S robotino4-lib/ -B build/
# Build certain configuration <cfg>: Debug (default), Release
cmake --build build/ --config <cfg>
# Install certain configuration <cfg>: Debug (default), Release
# <prefix> is installation path
sudo cmake --install build/ --config <cfg> --prefix <prefix>
You can build and install example programs. For this add option -D BUILD_EXAMPLE=ON
.
# Configure
cmake -S ./robotino4-lib/ -B ./build/ -BUILD_EXAMPLE=ON
To build Doxygen documentation, use BUILD_DOC
option, doxygen
target and Release
configuration
cmake -S robotino4-lib/ -B build/ -D BUILD_DOC=ON
cmake --build build --config Release --target doxygen
cmake --install build --config Release --target doxygen --prefix <prefix>
Add this strings in your CMakeLists.txt file:
find_package(Robotino4Wrapper 1.3.0 REQUIRED)
target_link_libraries(<ProjectName> robotino4)
# if nessesary, add include directories to target
target_include_directories(<ProjectName> ${Robotino4Wrapper_INCLUDE_DIRS})