-
Notifications
You must be signed in to change notification settings - Fork 5
Home
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
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
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!
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.
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
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:
- Bool, Int, Float, Double, String
- Header
- Point, PointStamped
- Quaternion, QuaternionStamped
- Pose, PoseStamped
- RotationMatrix, RotationMatrixStamped
- Transform, TransformStamped
- Image
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!
TBW
simple has been developed by the
Chair for Computer Aided Medical Procedures
Technical University of Munich, Germany.
Salvatore Virga : salvo.virga@tum.de
Fernanda Levy Langsch : fernanda.langsch@tum.de