diff --git a/cuckoo_time_translator/CMakeLists.txt b/cuckoo_time_translator/CMakeLists.txt index affa6a9..fdd1d1b 100644 --- a/cuckoo_time_translator/CMakeLists.txt +++ b/cuckoo_time_translator/CMakeLists.txt @@ -24,6 +24,7 @@ endif () cs_add_library(${PROJECT_NAME} src/DeviceTimeTranslator.cpp + src/RosConsoleBridgeActivator.cpp ) cs_add_executable(mock_cuckoo_device_driver diff --git a/cuckoo_time_translator/package.xml b/cuckoo_time_translator/package.xml index c3e1b40..a1dccea 100644 --- a/cuckoo_time_translator/package.xml +++ b/cuckoo_time_translator/package.xml @@ -20,6 +20,7 @@ message_runtime cuckoo_time_translator_algorithms + rosconsole_bridge rostest diff --git a/cuckoo_time_translator/src/MockCuckooDeviceDriver.cpp b/cuckoo_time_translator/src/MockCuckooDeviceDriver.cpp index 7f2b5a1..343350a 100644 --- a/cuckoo_time_translator/src/MockCuckooDeviceDriver.cpp +++ b/cuckoo_time_translator/src/MockCuckooDeviceDriver.cpp @@ -1,11 +1,11 @@ +#include "MockCuckooDeviceDriver.h" + #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wunused-parameter" #include "ros/ros.h" #include "std_msgs/String.h" #pragma GCC diagnostic pop -#include "MockCuckooDeviceDriver.h" - namespace cuckoo_time_translator { constexpr uint32_t MockCuckooDeviceDriver::kWrappingNumber; constexpr double MockCuckooDeviceDriver::kFreq; diff --git a/cuckoo_time_translator/src/RosConsoleBridgeActivator.cpp b/cuckoo_time_translator/src/RosConsoleBridgeActivator.cpp new file mode 100644 index 0000000..411cf62 --- /dev/null +++ b/cuckoo_time_translator/src/RosConsoleBridgeActivator.cpp @@ -0,0 +1,3 @@ +#include + +REGISTER_ROSCONSOLE_BRIDGE; diff --git a/cuckoo_time_translator_algorithms/package.xml b/cuckoo_time_translator_algorithms/package.xml index ed374e0..82c1260 100644 --- a/cuckoo_time_translator_algorithms/package.xml +++ b/cuckoo_time_translator_algorithms/package.xml @@ -16,6 +16,7 @@ roscpp cmake_modules + rosconsole_bridge gtest