-
Notifications
You must be signed in to change notification settings - Fork 5
Home
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!
A static version of simple is also provided, 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 (see the simple_msgs Headers).
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
- 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