Skip to content
spora-dun edited this page Jul 11, 2022 · 12 revisions

Home

Install the binaries

Linux - Download and install the deb file from the lastest release.

MacOS - run brew install ifl-camp/tap/simple

Windows - Download and install the exe file from the lastest release.
Be sure to pick the right version of Visual Studio you are using:

  • MSVC1900 = Visual Studio 2015
  • MSVC1916 = Visual Studio 2017

Build from source

Building simple from source is... simple!

Here are the steps to do so, including the necessary dependencies, just be sure to have:

  • a C++11 compiler (gcc 5+, clang 3.8+, VS2015+)
  • CMake 3.3+

Build on Windows
Build on Linux / OSX


Usage

CMake

You can add simple to your project via CMake:

find_package(simple REQUIRED)      
target_link_libraries(YourTargetName simple::simple)

YourTargetName would be any library or executable that you previously defined.
That is everything you need!

Windows Users

Building from source, you will also get a static version of simple, we recommend Windows users to use it!

find_package(simple REQUIRED)         
target_link_libraries(YourTargetName simple::simple-static)      

Such that you won't need to copy around any dll file.

Examples

We provide some examples on how to send/receive data using simple. You can build the examples turning the corresponding CMake flag SIMPLE_BUILD_EXAMPLES.

Publisher / Subscriber
Request / Reply

simple_msgs

Messages that can be sent / received using simple are created on top of FlatBuffers messages.
Every class generated by the Flatbuffers compiler is wrapped around a thin interface (e.g. see the simple_msgs Header).

Some common messages are already provided and live under simple_msgs:

Stamped messages contain the base data plus a Header.

New messages can be created and used just like the ones provided, as long as they are compliant to the same interface. Feel free to request new message types!

Create your own messages

TBW


Contacts

simple has been developed by the
Chair for Computer Aided Medical Procedures
Technical University of Munich, Germany.
TUM

Salvatore Virga : [email protected]
Fernanda Levy Langsch : [email protected]