robotology / robometry

Telemetry suite for logging data from your robot 🤖
https://robotology.github.io/robometry
Other
14 stars 9 forks source link

Rename libYARP_telemetry in librobometry #173

Closed Nicogene closed 2 years ago

Nicogene commented 2 years ago

Also, the cmake target has been changed accordingly.

Related discussion #172

On the user side these are the changes to be made for using robometry:

CMake

-     find_package(YARP COMPONENTS telemetry)
+     find_package(robometry)
-     find_package(YARP_telemetry)
+     find_package(robometry)
-     target_link_libraries(foo PUBLIC YARP::YARP_telemetry)
+     target_link_libraries(foo PUBLIC robometry::robometry)

C++

-     using namespace yarp::telemetry::experimental;
+     using namespace robometry;
-     #include <yarp/telemetry/experimental/BufferManager.h>
+     #include <robometry/BufferManager.h>

This new name will be part of the first major release (v1.0.0)

Please review the code. I may have forgot something, I tested it also importing from and external code (wearables repo)

cc @GiulioRomualdi