Copyright © 2025 Doosan Robotics Inc
This document outlines the procedure for building the DRFL on Windows and Linux platforms. For detailed instructions, please refer to the official manual linked below:
This code uses a preprocessor macro (DRCF_VERSION
) to ensure compatibility with different versions of the Doosan Robot Controller Framework (DRCF).
To specify your DRCF version:
- For DRCF v2: Set
DRCF_VERSION
to2
. - For DRCF v3: Set
DRCF_VERSION
to3
.
Example:
#ifndef DRCF_VERSION
#define DRCF_VERSION 3 // Set to 3 for DRCF v3
#endif
Note: DRFL is designed to operate on x86 architectures. Arm64 architecture is supported exclusively for Linux platforms.
Please ensure your environment meets the following conditions:
- Library Composition: Refer to the structure of the library via this link.
- Recommended Specifications: Review the recommended operational specifications here.
The library files (.a, .dll, etc.) included in this repository are sample versions intended for demonstration purposes. To ensure you are using the latest release of DRFL, please download the current version from the following link:
To build the Windows example, utilize the Visual Studio 2015 solution file provided at the link below:
Ubuntu supports versions : 18.04, 20.04 and 22.04.
-
Navigate to the example directory and compile using g++:
g++ -c main.cpp
-
Once main.o is created successfully, run the following command to generate the executable:
x86(18.04)
g++ -o drfl_test main.o ../../library/Linux/64bits/amd64/{your_ubuntu_version}/libDRFL.a /usr/lib/libPocoFoundation.so /usr/lib/libPocoNet.so
x86(20.04 or 22.04)
g++ -o drfl_test main.o ../../library/Linux/64bits/amd64/{your_ubuntu_version}/libDRFL.a /usr/lib/x86_64-linux-gnu/libPocoFoundation.so /usr/lib/x86_64-linux-gnu/libPocoNet.so
Arm64(18.04)
g++ -o drfl_test main.o ../../library/Linux/64bits/arn64/{your_ubuntu_version}/libDRFL.a /usr/lib/libPocoFoundation.so /usr/lib/libPocoNet.so
Arm64(20.04 or 22.04)
g++ -o drfl_test main.o ../../library/Linux/64bits/arn64/{your_ubuntu_version}/libDRFL.a /usr/lib/aarch64-linux-gnu/libPocoFoundation.so /usr/lib/aarch64-linux-gnu/libPocoNet.so
-
Verify the build and, upon completion, proceed with testing the connection to the actual controller.
sudo apt-get install libpoco-dev