This repo contains the FRI client SDK provided by KUKA for LBR models. A cmake alternative for building the client and examples is provided to easily integrate it into other projects.
To browse the source code for the FRI-Client-SDK_Cpp_v*.zip
files, see the other branches of this repository.
THIS IS NOT A KUKA PRODUCT.
@cmower is not affiliated with KUKA.
The two zip files
FRI-Client-SDK_Cpp_v1.15.zip
FRI-Client-SDK_Cpp_v2.5.zip
are as provided by KUKA with LRB robots (both originally named FRI-Client-SDK_Cpp.zip
).
The code contained in each zip file is unchanged.
When using the CMake build option (see instructions below), a file called fri_config.h
is generated and copied to the unzipped fri/include/
directory so it is publically available.
This does not affect the code provided by KUKA in any way, it is simply there to specify a MACRO called FRI_VERSION
which is used to indicate the version of FRI being built.
The following versions of FRI are currently supported:
- 1.15
- 2.5
If you have a different version, please consider forking and submitting a pull request.
There are several options for building.
You can either use the options provided by KUKA or the CMakeLists.txt
provided here.
Unzip the FRI client SDK, and follow the instructions in the Readme.txt
file.
Note, you do not need to unzip the .zip
file (this is done automatically).
- Clone repo:
- (ssh)
$ git clone [email protected]:cmower/FRI-Client-SDK_Cpp.git
- (https)
$ git clone https://github.com/cmower/FRI-Client-SDK_Cpp.git
- (ssh)
- Change directory:
$ cd FRI-Client-SDK_Cpp
- Create a build directory:
$ mkdir build
- Change directory:
$ cd build
- Run cmake:
$ cmake -DFRI_VERSION=[VER] ..
- You must specify the FRI version that you want to build. See the "Support" section above for supported versions.
- Note, optionally you can build the examples by using the flag
cmake -DFRI_BUILD_EXAMPLES=[ON/OFF] ..
. Default isON
.
- Build:
$ cmake --build .
The build directory now contains the built library libFRIClient.a
and if -DFRI_BUILD_EXAMPLES=ON
also the example executables.
A flexible Java application is provided here. This must be installed on the KUKA Sunrise controller.