Skip to content

License requirement

The functionality described requires a MANUS Bodypack or a MANUS license dongle containing one of these licenses to be connected:
Core Pro Core XR Core Xsens Pro Core Qualisys Pro Core OptiTrack Pro Demo

SDK Minimal Client (Example)

A version of our SDK Minimal Client example app is provided with our Linux SDK. It serves as an example of setting up the essentials and how to interact with our SDK.

For more detailed information about the minimal client, please refer to the SDK minimal client documentation or for more advanced use check out to the SDK client documentation

Compiling

For compiling the app we have three different options. 1. Make 2. Visual Studio Code 3. Visual Studio (cross compile)

Make sure you have your prerequisite packages installed and setup according to the installation guide.

Make

A Makefile is present within the SDKMinimalCLient_Linux folder inside the MANUS SDK package. The example can be compiled using the following command.

make all 
This creates a SDKMinimalClient.out file within the project root that can be run.

Visual Studio Code

A VScode workspace file is provided with the SDK package. Once opened you should be able to run the app directly from VScode, and will create a SDKMinimalClient.cpp.out file within the project root.

Open the SDKMinimalClient.cpp file and press F5 to start debugging. It should compile and run the project.

Visual Studio on Windows (remote cross compilation)

Cross compiling using Visual Studio requires you to have a Linux system to connect to. This can be whatever you prefer, our preference goes out to a Docker container.

We've provided a Dockerfile inside the SDKMinimalClient_Linux SDK package. Please refer to our installation guide on how to use it, and it's recommended to replace the Dockerfile inside the SDK package with the latest on on the installation guide.

To connect Visual Studio to your remote machine, follow the steps outlined in the official Microsoft documentation. If you have your environment set up through docker, use machine's ip address as host and 5000 for the port, and for username and password whatever your replaced it within the Dockerfile.

Ensure that you configure Visual Studio to include any additional include directories and linker settings: - Add the location of the manus headers to C/C++ > General > Additional Include Directories. For example usr/local/ManusSDK/include

alt text

  • Add the location of the libManusSDK.so file and directory to Linker > Input > Additional Dependencies. For example usr/local/ManusSDK/lib/libManusSDK.so

alt text

You should now be able to compile the example using Visual Studio.