diff --git a/nav_msgs/CMakeLists.txt b/nav_msgs/CMakeLists.txt index 77de9ac..f9cf023 100644 --- a/nav_msgs/CMakeLists.txt +++ b/nav_msgs/CMakeLists.txt @@ -24,3 +24,6 @@ target_link_libraries(nav_msgs INTERFACE std_msgs geometry_msgs ) + +add_executable(test_nav test/main.cpp) +target_link_libraries(test_nav PRIVATE nav_msgs) diff --git a/sensor_msgs/CMakeLists.txt b/sensor_msgs/CMakeLists.txt index c716115..1d35174 100644 --- a/sensor_msgs/CMakeLists.txt +++ b/sensor_msgs/CMakeLists.txt @@ -17,7 +17,7 @@ target_include_directories(sensor_msgs INTERFACE ) # Liên kết với std_msgs nếu bạn có file Header.h trong include/std_msgs/ -target_link_libraries(sensor_msgs INTERFACE std_msgs yaml-cpp) +target_link_libraries(sensor_msgs INTERFACE std_msgs) # target_link_libraries(sensor_msgs yaml-cpp) # Tạo file test ví dụ diff --git a/sensor_msgs/test/CMakeCache.txt b/sensor_msgs/test/CMakeCache.txt index 69637f2..ca453ae 100644 --- a/sensor_msgs/test/CMakeCache.txt +++ b/sensor_msgs/test/CMakeCache.txt @@ -209,6 +209,42 @@ CMAKE_STRIP:FILEPATH=/usr/bin/strip // Studio IDE projects all commands are done without /nologo. CMAKE_VERBOSE_MAKEFILE:BOOL=FALSE +//Path to a library. +GMOCK_LIBRARY:FILEPATH=/usr/local/lib/libgmock.a + +//Path to a library. +GMOCK_LIBRARY_DEBUG:FILEPATH=GMOCK_LIBRARY_DEBUG-NOTFOUND + +//Path to a library. +GMOCK_MAIN_LIBRARY:FILEPATH=/usr/local/lib/libgmock_main.a + +//Path to a library. +GMOCK_MAIN_LIBRARY_DEBUG:FILEPATH=GMOCK_MAIN_LIBRARY_DEBUG-NOTFOUND + +//Path to a file. +GTEST_INCLUDE_DIR:PATH=/usr/local/include + +//Path to a library. +GTEST_LIBRARY:FILEPATH=/usr/local/lib/libgtest.a + +//Path to a library. +GTEST_LIBRARY_DEBUG:FILEPATH=GTEST_LIBRARY_DEBUG-NOTFOUND + +//Path to a library. +GTEST_MAIN_LIBRARY:FILEPATH=/usr/local/lib/libgtest_main.a + +//Path to a library. +GTEST_MAIN_LIBRARY_DEBUG:FILEPATH=GTEST_MAIN_LIBRARY_DEBUG-NOTFOUND + +//The directory containing a CMake configuration file for GTest. +GTest_DIR:PATH=GTest_DIR-NOTFOUND + +//Value Computed by CMake +robot_time_BINARY_DIR:STATIC=/home/duongtd/robotics_core/common_msgs/sensor_msgs/test/robot_time_build + +//Value Computed by CMake +robot_time_SOURCE_DIR:STATIC=/home/duongtd/robotics_core/robot_time + //Value Computed by CMake sensor_msgs_BINARY_DIR:STATIC=/home/duongtd/robotics_core/common_msgs/sensor_msgs/test @@ -304,6 +340,14 @@ CMAKE_GENERATOR_INSTANCE:INTERNAL= CMAKE_GENERATOR_PLATFORM:INTERNAL= //Name of generator toolset. CMAKE_GENERATOR_TOOLSET:INTERNAL= +//Test CMAKE_HAVE_LIBC_PTHREAD +CMAKE_HAVE_LIBC_PTHREAD:INTERNAL= +//Have library pthreads +CMAKE_HAVE_PTHREADS_CREATE:INTERNAL= +//Have library pthread +CMAKE_HAVE_PTHREAD_CREATE:INTERNAL=1 +//Have include pthread.h +CMAKE_HAVE_PTHREAD_H:INTERNAL=1 //Source directory with the top level CMakeLists.txt file for this // project CMAKE_HOME_DIRECTORY:INTERNAL=/home/duongtd/robotics_core/common_msgs/sensor_msgs @@ -326,7 +370,7 @@ CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_NM CMAKE_NM-ADVANCED:INTERNAL=1 //number of local generators -CMAKE_NUMBER_OF_MAKEFILES:INTERNAL=2 +CMAKE_NUMBER_OF_MAKEFILES:INTERNAL=3 //ADVANCED property for variable: CMAKE_OBJCOPY CMAKE_OBJCOPY-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_OBJDUMP @@ -369,4 +413,24 @@ CMAKE_STRIP-ADVANCED:INTERNAL=1 CMAKE_UNAME:INTERNAL=/usr/bin/uname //ADVANCED property for variable: CMAKE_VERBOSE_MAKEFILE CMAKE_VERBOSE_MAKEFILE-ADVANCED:INTERNAL=1 +//Details about finding GTest +FIND_PACKAGE_MESSAGE_DETAILS_GTest:INTERNAL=[/usr/local/lib/libgtest.a][/usr/local/include][/usr/local/lib/libgtest_main.a][v()] +//ADVANCED property for variable: GMOCK_LIBRARY +GMOCK_LIBRARY-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: GMOCK_LIBRARY_DEBUG +GMOCK_LIBRARY_DEBUG-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: GMOCK_MAIN_LIBRARY +GMOCK_MAIN_LIBRARY-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: GMOCK_MAIN_LIBRARY_DEBUG +GMOCK_MAIN_LIBRARY_DEBUG-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: GTEST_INCLUDE_DIR +GTEST_INCLUDE_DIR-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: GTEST_LIBRARY +GTEST_LIBRARY-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: GTEST_LIBRARY_DEBUG +GTEST_LIBRARY_DEBUG-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: GTEST_MAIN_LIBRARY +GTEST_MAIN_LIBRARY-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: GTEST_MAIN_LIBRARY_DEBUG +GTEST_MAIN_LIBRARY_DEBUG-ADVANCED:INTERNAL=1 diff --git a/sensor_msgs/test/CMakeFiles/CMakeError.log b/sensor_msgs/test/CMakeFiles/CMakeError.log new file mode 100644 index 0000000..7602cfb --- /dev/null +++ b/sensor_msgs/test/CMakeFiles/CMakeError.log @@ -0,0 +1,58 @@ +Performing C SOURCE FILE Test CMAKE_HAVE_LIBC_PTHREAD failed with the following output: +Change Dir: /home/duongtd/robotics_core/common_msgs/sensor_msgs/test/CMakeFiles/CMakeTmp + +Run Build Command(s):/usr/bin/make cmTC_06ceb/fast && /usr/bin/make -f CMakeFiles/cmTC_06ceb.dir/build.make CMakeFiles/cmTC_06ceb.dir/build +make[1]: Entering directory '/home/duongtd/robotics_core/common_msgs/sensor_msgs/test/CMakeFiles/CMakeTmp' +Building C object CMakeFiles/cmTC_06ceb.dir/src.c.o +/usr/bin/cc -DCMAKE_HAVE_LIBC_PTHREAD -o CMakeFiles/cmTC_06ceb.dir/src.c.o -c /home/duongtd/robotics_core/common_msgs/sensor_msgs/test/CMakeFiles/CMakeTmp/src.c +Linking C executable cmTC_06ceb +/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_06ceb.dir/link.txt --verbose=1 +/usr/bin/cc -DCMAKE_HAVE_LIBC_PTHREAD CMakeFiles/cmTC_06ceb.dir/src.c.o -o cmTC_06ceb +/usr/bin/ld: CMakeFiles/cmTC_06ceb.dir/src.c.o: in function `main': +src.c:(.text+0x46): undefined reference to `pthread_create' +/usr/bin/ld: src.c:(.text+0x52): undefined reference to `pthread_detach' +/usr/bin/ld: src.c:(.text+0x63): undefined reference to `pthread_join' +collect2: error: ld returned 1 exit status +make[1]: *** [CMakeFiles/cmTC_06ceb.dir/build.make:87: cmTC_06ceb] Error 1 +make[1]: Leaving directory '/home/duongtd/robotics_core/common_msgs/sensor_msgs/test/CMakeFiles/CMakeTmp' +make: *** [Makefile:121: cmTC_06ceb/fast] Error 2 + + +Source file was: +#include + +void* test_func(void* data) +{ + return data; +} + +int main(void) +{ + pthread_t thread; + pthread_create(&thread, NULL, test_func, NULL); + pthread_detach(thread); + pthread_join(thread, NULL); + pthread_atfork(NULL, NULL, NULL); + pthread_exit(NULL); + + return 0; +} + +Determining if the function pthread_create exists in the pthreads failed with the following output: +Change Dir: /home/duongtd/robotics_core/common_msgs/sensor_msgs/test/CMakeFiles/CMakeTmp + +Run Build Command(s):/usr/bin/make cmTC_f43ef/fast && /usr/bin/make -f CMakeFiles/cmTC_f43ef.dir/build.make CMakeFiles/cmTC_f43ef.dir/build +make[1]: Entering directory '/home/duongtd/robotics_core/common_msgs/sensor_msgs/test/CMakeFiles/CMakeTmp' +Building C object CMakeFiles/cmTC_f43ef.dir/CheckFunctionExists.c.o +/usr/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create -o CMakeFiles/cmTC_f43ef.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.16/Modules/CheckFunctionExists.c +Linking C executable cmTC_f43ef +/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_f43ef.dir/link.txt --verbose=1 +/usr/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create CMakeFiles/cmTC_f43ef.dir/CheckFunctionExists.c.o -o cmTC_f43ef -lpthreads +/usr/bin/ld: cannot find -lpthreads +collect2: error: ld returned 1 exit status +make[1]: *** [CMakeFiles/cmTC_f43ef.dir/build.make:87: cmTC_f43ef] Error 1 +make[1]: Leaving directory '/home/duongtd/robotics_core/common_msgs/sensor_msgs/test/CMakeFiles/CMakeTmp' +make: *** [Makefile:121: cmTC_f43ef/fast] Error 2 + + + diff --git a/sensor_msgs/test/CMakeFiles/CMakeOutput.log b/sensor_msgs/test/CMakeFiles/CMakeOutput.log index 0107e95..cf65045 100644 --- a/sensor_msgs/test/CMakeFiles/CMakeOutput.log +++ b/sensor_msgs/test/CMakeFiles/CMakeOutput.log @@ -459,3 +459,31 @@ Parsed CXX implicit link information from above output: implicit fwks: [] +Determining if the include file pthread.h exists passed with the following output: +Change Dir: /home/duongtd/robotics_core/common_msgs/sensor_msgs/test/CMakeFiles/CMakeTmp + +Run Build Command(s):/usr/bin/make cmTC_a2157/fast && /usr/bin/make -f CMakeFiles/cmTC_a2157.dir/build.make CMakeFiles/cmTC_a2157.dir/build +make[1]: Entering directory '/home/duongtd/robotics_core/common_msgs/sensor_msgs/test/CMakeFiles/CMakeTmp' +Building C object CMakeFiles/cmTC_a2157.dir/CheckIncludeFile.c.o +/usr/bin/cc -o CMakeFiles/cmTC_a2157.dir/CheckIncludeFile.c.o -c /home/duongtd/robotics_core/common_msgs/sensor_msgs/test/CMakeFiles/CMakeTmp/CheckIncludeFile.c +Linking C executable cmTC_a2157 +/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_a2157.dir/link.txt --verbose=1 +/usr/bin/cc CMakeFiles/cmTC_a2157.dir/CheckIncludeFile.c.o -o cmTC_a2157 +make[1]: Leaving directory '/home/duongtd/robotics_core/common_msgs/sensor_msgs/test/CMakeFiles/CMakeTmp' + + + +Determining if the function pthread_create exists in the pthread passed with the following output: +Change Dir: /home/duongtd/robotics_core/common_msgs/sensor_msgs/test/CMakeFiles/CMakeTmp + +Run Build Command(s):/usr/bin/make cmTC_32b2b/fast && /usr/bin/make -f CMakeFiles/cmTC_32b2b.dir/build.make CMakeFiles/cmTC_32b2b.dir/build +make[1]: Entering directory '/home/duongtd/robotics_core/common_msgs/sensor_msgs/test/CMakeFiles/CMakeTmp' +Building C object CMakeFiles/cmTC_32b2b.dir/CheckFunctionExists.c.o +/usr/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create -o CMakeFiles/cmTC_32b2b.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.16/Modules/CheckFunctionExists.c +Linking C executable cmTC_32b2b +/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_32b2b.dir/link.txt --verbose=1 +/usr/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create CMakeFiles/cmTC_32b2b.dir/CheckFunctionExists.c.o -o cmTC_32b2b -lpthread +make[1]: Leaving directory '/home/duongtd/robotics_core/common_msgs/sensor_msgs/test/CMakeFiles/CMakeTmp' + + + diff --git a/sensor_msgs/test/CMakeFiles/Makefile.cmake b/sensor_msgs/test/CMakeFiles/Makefile.cmake index ac92d1d..4e2035a 100644 --- a/sensor_msgs/test/CMakeFiles/Makefile.cmake +++ b/sensor_msgs/test/CMakeFiles/Makefile.cmake @@ -12,6 +12,7 @@ set(CMAKE_MAKEFILE_DEPENDS "CMakeFiles/3.16.3/CMakeCXXCompiler.cmake" "CMakeFiles/3.16.3/CMakeSystem.cmake" "/home/duongtd/robotics_core/common_msgs/std_msgs/CMakeLists.txt" + "/home/duongtd/robotics_core/robot_time/CMakeLists.txt" "/usr/share/cmake-3.16/Modules/CMakeCInformation.cmake" "/usr/share/cmake-3.16/Modules/CMakeCXXInformation.cmake" "/usr/share/cmake-3.16/Modules/CMakeCheckCompilerFlagCommonPatterns.cmake" @@ -21,10 +22,18 @@ set(CMAKE_MAKEFILE_DEPENDS "/usr/share/cmake-3.16/Modules/CMakeLanguageInformation.cmake" "/usr/share/cmake-3.16/Modules/CMakeSystemSpecificInformation.cmake" "/usr/share/cmake-3.16/Modules/CMakeSystemSpecificInitialize.cmake" + "/usr/share/cmake-3.16/Modules/CheckCSourceCompiles.cmake" + "/usr/share/cmake-3.16/Modules/CheckIncludeFile.cmake" + "/usr/share/cmake-3.16/Modules/CheckLibraryExists.cmake" "/usr/share/cmake-3.16/Modules/Compiler/CMakeCommonCompilerMacros.cmake" "/usr/share/cmake-3.16/Modules/Compiler/GNU-C.cmake" "/usr/share/cmake-3.16/Modules/Compiler/GNU-CXX.cmake" "/usr/share/cmake-3.16/Modules/Compiler/GNU.cmake" + "/usr/share/cmake-3.16/Modules/FindGTest.cmake" + "/usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake" + "/usr/share/cmake-3.16/Modules/FindPackageMessage.cmake" + "/usr/share/cmake-3.16/Modules/FindThreads.cmake" + "/usr/share/cmake-3.16/Modules/GoogleTest.cmake" "/usr/share/cmake-3.16/Modules/Internal/CMakeCheckCompilerFlag.cmake" "/usr/share/cmake-3.16/Modules/Platform/Linux-GNU-C.cmake" "/usr/share/cmake-3.16/Modules/Platform/Linux-GNU-CXX.cmake" @@ -43,9 +52,13 @@ set(CMAKE_MAKEFILE_OUTPUTS set(CMAKE_MAKEFILE_PRODUCTS "CMakeFiles/CMakeDirectoryInformation.cmake" "std_msgs_build/CMakeFiles/CMakeDirectoryInformation.cmake" + "robot_time_build/CMakeFiles/CMakeDirectoryInformation.cmake" ) # Dependency information for all targets: set(CMAKE_DEPEND_INFO_FILES "CMakeFiles/test_battery_state.dir/DependInfo.cmake" + "robot_time_build/CMakeFiles/robot_duration_test.dir/DependInfo.cmake" + "robot_time_build/CMakeFiles/robot_time_test.dir/DependInfo.cmake" + "robot_time_build/CMakeFiles/robot_time.dir/DependInfo.cmake" ) diff --git a/sensor_msgs/test/CMakeFiles/Makefile2 b/sensor_msgs/test/CMakeFiles/Makefile2 index f834c1e..a8d7225 100644 --- a/sensor_msgs/test/CMakeFiles/Makefile2 +++ b/sensor_msgs/test/CMakeFiles/Makefile2 @@ -69,21 +69,43 @@ clean: std_msgs_build/clean .PHONY : clean +#============================================================================= +# Directory level rules for directory robot_time_build + +# Recursive "all" directory target. +robot_time_build/all: robot_time_build/CMakeFiles/robot_duration_test.dir/all +robot_time_build/all: robot_time_build/CMakeFiles/robot_time_test.dir/all +robot_time_build/all: robot_time_build/CMakeFiles/robot_time.dir/all + +.PHONY : robot_time_build/all + +# Recursive "preinstall" directory target. +robot_time_build/preinstall: + +.PHONY : robot_time_build/preinstall + +# Recursive "clean" directory target. +robot_time_build/clean: robot_time_build/CMakeFiles/robot_duration_test.dir/clean +robot_time_build/clean: robot_time_build/CMakeFiles/robot_time_test.dir/clean +robot_time_build/clean: robot_time_build/CMakeFiles/robot_time.dir/clean + +.PHONY : robot_time_build/clean + #============================================================================= # Directory level rules for directory std_msgs_build # Recursive "all" directory target. -std_msgs_build/all: +std_msgs_build/all: robot_time_build/all .PHONY : std_msgs_build/all # Recursive "preinstall" directory target. -std_msgs_build/preinstall: +std_msgs_build/preinstall: robot_time_build/preinstall .PHONY : std_msgs_build/preinstall # Recursive "clean" directory target. -std_msgs_build/clean: +std_msgs_build/clean: robot_time_build/clean .PHONY : std_msgs_build/clean @@ -91,15 +113,15 @@ std_msgs_build/clean: # Target rules for target CMakeFiles/test_battery_state.dir # All Build rule for target. -CMakeFiles/test_battery_state.dir/all: +CMakeFiles/test_battery_state.dir/all: robot_time_build/CMakeFiles/robot_time.dir/all $(MAKE) -f CMakeFiles/test_battery_state.dir/build.make CMakeFiles/test_battery_state.dir/depend $(MAKE) -f CMakeFiles/test_battery_state.dir/build.make CMakeFiles/test_battery_state.dir/build - @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/home/duongtd/robotics_core/common_msgs/sensor_msgs/test/CMakeFiles --progress-num=1,2 "Built target test_battery_state" + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/home/duongtd/robotics_core/common_msgs/sensor_msgs/test/CMakeFiles --progress-num=9,10 "Built target test_battery_state" .PHONY : CMakeFiles/test_battery_state.dir/all # Build rule for subdir invocation for target. CMakeFiles/test_battery_state.dir/rule: cmake_check_build_system - $(CMAKE_COMMAND) -E cmake_progress_start /home/duongtd/robotics_core/common_msgs/sensor_msgs/test/CMakeFiles 2 + $(CMAKE_COMMAND) -E cmake_progress_start /home/duongtd/robotics_core/common_msgs/sensor_msgs/test/CMakeFiles 6 $(MAKE) -f CMakeFiles/Makefile2 CMakeFiles/test_battery_state.dir/all $(CMAKE_COMMAND) -E cmake_progress_start /home/duongtd/robotics_core/common_msgs/sensor_msgs/test/CMakeFiles 0 .PHONY : CMakeFiles/test_battery_state.dir/rule @@ -114,6 +136,87 @@ CMakeFiles/test_battery_state.dir/clean: $(MAKE) -f CMakeFiles/test_battery_state.dir/build.make CMakeFiles/test_battery_state.dir/clean .PHONY : CMakeFiles/test_battery_state.dir/clean +#============================================================================= +# Target rules for target robot_time_build/CMakeFiles/robot_duration_test.dir + +# All Build rule for target. +robot_time_build/CMakeFiles/robot_duration_test.dir/all: robot_time_build/CMakeFiles/robot_time.dir/all + $(MAKE) -f robot_time_build/CMakeFiles/robot_duration_test.dir/build.make robot_time_build/CMakeFiles/robot_duration_test.dir/depend + $(MAKE) -f robot_time_build/CMakeFiles/robot_duration_test.dir/build.make robot_time_build/CMakeFiles/robot_duration_test.dir/build + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/home/duongtd/robotics_core/common_msgs/sensor_msgs/test/CMakeFiles --progress-num=1,2 "Built target robot_duration_test" +.PHONY : robot_time_build/CMakeFiles/robot_duration_test.dir/all + +# Build rule for subdir invocation for target. +robot_time_build/CMakeFiles/robot_duration_test.dir/rule: cmake_check_build_system + $(CMAKE_COMMAND) -E cmake_progress_start /home/duongtd/robotics_core/common_msgs/sensor_msgs/test/CMakeFiles 6 + $(MAKE) -f CMakeFiles/Makefile2 robot_time_build/CMakeFiles/robot_duration_test.dir/all + $(CMAKE_COMMAND) -E cmake_progress_start /home/duongtd/robotics_core/common_msgs/sensor_msgs/test/CMakeFiles 0 +.PHONY : robot_time_build/CMakeFiles/robot_duration_test.dir/rule + +# Convenience name for target. +robot_duration_test: robot_time_build/CMakeFiles/robot_duration_test.dir/rule + +.PHONY : robot_duration_test + +# clean rule for target. +robot_time_build/CMakeFiles/robot_duration_test.dir/clean: + $(MAKE) -f robot_time_build/CMakeFiles/robot_duration_test.dir/build.make robot_time_build/CMakeFiles/robot_duration_test.dir/clean +.PHONY : robot_time_build/CMakeFiles/robot_duration_test.dir/clean + +#============================================================================= +# Target rules for target robot_time_build/CMakeFiles/robot_time_test.dir + +# All Build rule for target. +robot_time_build/CMakeFiles/robot_time_test.dir/all: robot_time_build/CMakeFiles/robot_time.dir/all + $(MAKE) -f robot_time_build/CMakeFiles/robot_time_test.dir/build.make robot_time_build/CMakeFiles/robot_time_test.dir/depend + $(MAKE) -f robot_time_build/CMakeFiles/robot_time_test.dir/build.make robot_time_build/CMakeFiles/robot_time_test.dir/build + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/home/duongtd/robotics_core/common_msgs/sensor_msgs/test/CMakeFiles --progress-num=7,8 "Built target robot_time_test" +.PHONY : robot_time_build/CMakeFiles/robot_time_test.dir/all + +# Build rule for subdir invocation for target. +robot_time_build/CMakeFiles/robot_time_test.dir/rule: cmake_check_build_system + $(CMAKE_COMMAND) -E cmake_progress_start /home/duongtd/robotics_core/common_msgs/sensor_msgs/test/CMakeFiles 6 + $(MAKE) -f CMakeFiles/Makefile2 robot_time_build/CMakeFiles/robot_time_test.dir/all + $(CMAKE_COMMAND) -E cmake_progress_start /home/duongtd/robotics_core/common_msgs/sensor_msgs/test/CMakeFiles 0 +.PHONY : robot_time_build/CMakeFiles/robot_time_test.dir/rule + +# Convenience name for target. +robot_time_test: robot_time_build/CMakeFiles/robot_time_test.dir/rule + +.PHONY : robot_time_test + +# clean rule for target. +robot_time_build/CMakeFiles/robot_time_test.dir/clean: + $(MAKE) -f robot_time_build/CMakeFiles/robot_time_test.dir/build.make robot_time_build/CMakeFiles/robot_time_test.dir/clean +.PHONY : robot_time_build/CMakeFiles/robot_time_test.dir/clean + +#============================================================================= +# Target rules for target robot_time_build/CMakeFiles/robot_time.dir + +# All Build rule for target. +robot_time_build/CMakeFiles/robot_time.dir/all: + $(MAKE) -f robot_time_build/CMakeFiles/robot_time.dir/build.make robot_time_build/CMakeFiles/robot_time.dir/depend + $(MAKE) -f robot_time_build/CMakeFiles/robot_time.dir/build.make robot_time_build/CMakeFiles/robot_time.dir/build + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/home/duongtd/robotics_core/common_msgs/sensor_msgs/test/CMakeFiles --progress-num=3,4,5,6 "Built target robot_time" +.PHONY : robot_time_build/CMakeFiles/robot_time.dir/all + +# Build rule for subdir invocation for target. +robot_time_build/CMakeFiles/robot_time.dir/rule: cmake_check_build_system + $(CMAKE_COMMAND) -E cmake_progress_start /home/duongtd/robotics_core/common_msgs/sensor_msgs/test/CMakeFiles 4 + $(MAKE) -f CMakeFiles/Makefile2 robot_time_build/CMakeFiles/robot_time.dir/all + $(CMAKE_COMMAND) -E cmake_progress_start /home/duongtd/robotics_core/common_msgs/sensor_msgs/test/CMakeFiles 0 +.PHONY : robot_time_build/CMakeFiles/robot_time.dir/rule + +# Convenience name for target. +robot_time: robot_time_build/CMakeFiles/robot_time.dir/rule + +.PHONY : robot_time + +# clean rule for target. +robot_time_build/CMakeFiles/robot_time.dir/clean: + $(MAKE) -f robot_time_build/CMakeFiles/robot_time.dir/build.make robot_time_build/CMakeFiles/robot_time.dir/clean +.PHONY : robot_time_build/CMakeFiles/robot_time.dir/clean + #============================================================================= # Special targets to cleanup operation of make. diff --git a/sensor_msgs/test/CMakeFiles/TargetDirectories.txt b/sensor_msgs/test/CMakeFiles/TargetDirectories.txt index 24e7dea..2d9aa55 100644 --- a/sensor_msgs/test/CMakeFiles/TargetDirectories.txt +++ b/sensor_msgs/test/CMakeFiles/TargetDirectories.txt @@ -1,5 +1,22 @@ +/home/duongtd/robotics_core/common_msgs/sensor_msgs/test/CMakeFiles/install/strip.dir +/home/duongtd/robotics_core/common_msgs/sensor_msgs/test/CMakeFiles/install/local.dir +/home/duongtd/robotics_core/common_msgs/sensor_msgs/test/CMakeFiles/install.dir +/home/duongtd/robotics_core/common_msgs/sensor_msgs/test/CMakeFiles/list_install_components.dir /home/duongtd/robotics_core/common_msgs/sensor_msgs/test/CMakeFiles/rebuild_cache.dir /home/duongtd/robotics_core/common_msgs/sensor_msgs/test/CMakeFiles/edit_cache.dir /home/duongtd/robotics_core/common_msgs/sensor_msgs/test/CMakeFiles/test_battery_state.dir +/home/duongtd/robotics_core/common_msgs/sensor_msgs/test/std_msgs_build/CMakeFiles/install/strip.dir +/home/duongtd/robotics_core/common_msgs/sensor_msgs/test/std_msgs_build/CMakeFiles/install/local.dir +/home/duongtd/robotics_core/common_msgs/sensor_msgs/test/std_msgs_build/CMakeFiles/install.dir +/home/duongtd/robotics_core/common_msgs/sensor_msgs/test/std_msgs_build/CMakeFiles/list_install_components.dir /home/duongtd/robotics_core/common_msgs/sensor_msgs/test/std_msgs_build/CMakeFiles/rebuild_cache.dir /home/duongtd/robotics_core/common_msgs/sensor_msgs/test/std_msgs_build/CMakeFiles/edit_cache.dir +/home/duongtd/robotics_core/common_msgs/sensor_msgs/test/robot_time_build/CMakeFiles/install/strip.dir +/home/duongtd/robotics_core/common_msgs/sensor_msgs/test/robot_time_build/CMakeFiles/install/local.dir +/home/duongtd/robotics_core/common_msgs/sensor_msgs/test/robot_time_build/CMakeFiles/install.dir +/home/duongtd/robotics_core/common_msgs/sensor_msgs/test/robot_time_build/CMakeFiles/list_install_components.dir +/home/duongtd/robotics_core/common_msgs/sensor_msgs/test/robot_time_build/CMakeFiles/rebuild_cache.dir +/home/duongtd/robotics_core/common_msgs/sensor_msgs/test/robot_time_build/CMakeFiles/edit_cache.dir +/home/duongtd/robotics_core/common_msgs/sensor_msgs/test/robot_time_build/CMakeFiles/robot_duration_test.dir +/home/duongtd/robotics_core/common_msgs/sensor_msgs/test/robot_time_build/CMakeFiles/robot_time_test.dir +/home/duongtd/robotics_core/common_msgs/sensor_msgs/test/robot_time_build/CMakeFiles/robot_time.dir diff --git a/sensor_msgs/test/CMakeFiles/progress.marks b/sensor_msgs/test/CMakeFiles/progress.marks index 0cfbf08..f599e28 100644 --- a/sensor_msgs/test/CMakeFiles/progress.marks +++ b/sensor_msgs/test/CMakeFiles/progress.marks @@ -1 +1 @@ -2 +10 diff --git a/sensor_msgs/test/CMakeFiles/test_battery_state.dir/CXX.includecache b/sensor_msgs/test/CMakeFiles/test_battery_state.dir/CXX.includecache index d8f9ea5..9cfbf65 100644 --- a/sensor_msgs/test/CMakeFiles/test_battery_state.dir/CXX.includecache +++ b/sensor_msgs/test/CMakeFiles/test_battery_state.dir/CXX.includecache @@ -55,14 +55,58 @@ sensor_msgs/PointCloud2.h /home/duongtd/robotics_core/common_msgs/sensor_msgs/test/sensor_msgs/PointCloud2.h iostream - -yaml-cpp/yaml.h -- /home/duongtd/robotics_core/common_msgs/std_msgs/include/std_msgs/Header.h string - -chrono -- cstdint - +robot/time.h +- + +/home/duongtd/robotics_core/robot_time/include/robot/duration.h +iostream +- +math.h +- +stdexcept +- +climits +- +stdint.h +- +robot_time_decl.h +/home/duongtd/robotics_core/robot_time/include/robot/robot_time_decl.h + +/home/duongtd/robotics_core/robot_time/include/robot/exception.h +stdexcept +- +string +- + +/home/duongtd/robotics_core/robot_time/include/robot/macros.h + +/home/duongtd/robotics_core/robot_time/include/robot/platform.h + +/home/duongtd/robotics_core/robot_time/include/robot/robot_time_decl.h +robot/macros.h +- + +/home/duongtd/robotics_core/robot_time/include/robot/time.h +robot/platform.h +- +iostream +- +cmath +- +robot/exception.h +- +duration.h +/home/duongtd/robotics_core/robot_time/include/robot/duration.h +robot_time_decl.h +/home/duongtd/robotics_core/robot_time/include/robot/robot_time_decl.h +sys/timeb.h +- +sys/time.h +- diff --git a/sensor_msgs/test/CMakeFiles/test_battery_state.dir/DependInfo.cmake b/sensor_msgs/test/CMakeFiles/test_battery_state.dir/DependInfo.cmake index 76d1cc5..11b2dfc 100644 --- a/sensor_msgs/test/CMakeFiles/test_battery_state.dir/DependInfo.cmake +++ b/sensor_msgs/test/CMakeFiles/test_battery_state.dir/DependInfo.cmake @@ -12,10 +12,13 @@ set(CMAKE_CXX_COMPILER_ID "GNU") set(CMAKE_CXX_TARGET_INCLUDE_PATH "../include" "/home/duongtd/robotics_core/common_msgs/std_msgs/include" + "../../robot_time/include" + "/home/duongtd/robotics_core/robot_time/include" ) # Targets to which this target links. set(CMAKE_TARGET_LINKED_INFO_FILES + "/home/duongtd/robotics_core/common_msgs/sensor_msgs/test/robot_time_build/CMakeFiles/robot_time.dir/DependInfo.cmake" ) # Fortran module output directory. diff --git a/sensor_msgs/test/CMakeFiles/test_battery_state.dir/build.make b/sensor_msgs/test/CMakeFiles/test_battery_state.dir/build.make index 203a44c..74af008 100644 --- a/sensor_msgs/test/CMakeFiles/test_battery_state.dir/build.make +++ b/sensor_msgs/test/CMakeFiles/test_battery_state.dir/build.make @@ -79,6 +79,7 @@ test_battery_state_EXTERNAL_OBJECTS = test_battery_state: CMakeFiles/test_battery_state.dir/main.cpp.o test_battery_state: CMakeFiles/test_battery_state.dir/build.make +test_battery_state: robot_time_build/librobot_time.a test_battery_state: CMakeFiles/test_battery_state.dir/link.txt @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --bold --progress-dir=/home/duongtd/robotics_core/common_msgs/sensor_msgs/test/CMakeFiles --progress-num=$(CMAKE_PROGRESS_2) "Linking CXX executable test_battery_state" $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/test_battery_state.dir/link.txt --verbose=$(VERBOSE) diff --git a/sensor_msgs/test/CMakeFiles/test_battery_state.dir/depend.internal b/sensor_msgs/test/CMakeFiles/test_battery_state.dir/depend.internal index ca851ef..df10da4 100644 --- a/sensor_msgs/test/CMakeFiles/test_battery_state.dir/depend.internal +++ b/sensor_msgs/test/CMakeFiles/test_battery_state.dir/depend.internal @@ -9,3 +9,9 @@ CMakeFiles/test_battery_state.dir/main.cpp.o ../include/sensor_msgs/PointField.h /home/duongtd/robotics_core/common_msgs/sensor_msgs/test/main.cpp /home/duongtd/robotics_core/common_msgs/std_msgs/include/std_msgs/Header.h + /home/duongtd/robotics_core/robot_time/include/robot/duration.h + /home/duongtd/robotics_core/robot_time/include/robot/exception.h + /home/duongtd/robotics_core/robot_time/include/robot/macros.h + /home/duongtd/robotics_core/robot_time/include/robot/platform.h + /home/duongtd/robotics_core/robot_time/include/robot/robot_time_decl.h + /home/duongtd/robotics_core/robot_time/include/robot/time.h diff --git a/sensor_msgs/test/CMakeFiles/test_battery_state.dir/depend.make b/sensor_msgs/test/CMakeFiles/test_battery_state.dir/depend.make index f4112bd..ffcad74 100644 --- a/sensor_msgs/test/CMakeFiles/test_battery_state.dir/depend.make +++ b/sensor_msgs/test/CMakeFiles/test_battery_state.dir/depend.make @@ -8,4 +8,10 @@ CMakeFiles/test_battery_state.dir/main.cpp.o: ../include/sensor_msgs/PointCloud2 CMakeFiles/test_battery_state.dir/main.cpp.o: ../include/sensor_msgs/PointField.h CMakeFiles/test_battery_state.dir/main.cpp.o: main.cpp CMakeFiles/test_battery_state.dir/main.cpp.o: /home/duongtd/robotics_core/common_msgs/std_msgs/include/std_msgs/Header.h +CMakeFiles/test_battery_state.dir/main.cpp.o: /home/duongtd/robotics_core/robot_time/include/robot/duration.h +CMakeFiles/test_battery_state.dir/main.cpp.o: /home/duongtd/robotics_core/robot_time/include/robot/exception.h +CMakeFiles/test_battery_state.dir/main.cpp.o: /home/duongtd/robotics_core/robot_time/include/robot/macros.h +CMakeFiles/test_battery_state.dir/main.cpp.o: /home/duongtd/robotics_core/robot_time/include/robot/platform.h +CMakeFiles/test_battery_state.dir/main.cpp.o: /home/duongtd/robotics_core/robot_time/include/robot/robot_time_decl.h +CMakeFiles/test_battery_state.dir/main.cpp.o: /home/duongtd/robotics_core/robot_time/include/robot/time.h diff --git a/sensor_msgs/test/CMakeFiles/test_battery_state.dir/flags.make b/sensor_msgs/test/CMakeFiles/test_battery_state.dir/flags.make index 79e9652..c95e64d 100644 --- a/sensor_msgs/test/CMakeFiles/test_battery_state.dir/flags.make +++ b/sensor_msgs/test/CMakeFiles/test_battery_state.dir/flags.make @@ -6,5 +6,5 @@ CXX_FLAGS = -std=gnu++17 CXX_DEFINES = -CXX_INCLUDES = -I/home/duongtd/robotics_core/common_msgs/sensor_msgs/include -I/home/duongtd/robotics_core/common_msgs/std_msgs/include +CXX_INCLUDES = -I/home/duongtd/robotics_core/common_msgs/sensor_msgs/include -I/home/duongtd/robotics_core/common_msgs/std_msgs/include -I/home/duongtd/robotics_core/common_msgs/sensor_msgs/../robot_time/include -I/home/duongtd/robotics_core/robot_time/include diff --git a/sensor_msgs/test/CMakeFiles/test_battery_state.dir/link.txt b/sensor_msgs/test/CMakeFiles/test_battery_state.dir/link.txt index 2533e51..cc67229 100644 --- a/sensor_msgs/test/CMakeFiles/test_battery_state.dir/link.txt +++ b/sensor_msgs/test/CMakeFiles/test_battery_state.dir/link.txt @@ -1 +1 @@ -/usr/bin/c++ CMakeFiles/test_battery_state.dir/main.cpp.o -o test_battery_state -lyaml-cpp +/usr/bin/c++ CMakeFiles/test_battery_state.dir/main.cpp.o -o test_battery_state robot_time_build/librobot_time.a diff --git a/sensor_msgs/test/CMakeFiles/test_battery_state.dir/main.cpp.o b/sensor_msgs/test/CMakeFiles/test_battery_state.dir/main.cpp.o index 5af4ddb..de1eddc 100644 Binary files a/sensor_msgs/test/CMakeFiles/test_battery_state.dir/main.cpp.o and b/sensor_msgs/test/CMakeFiles/test_battery_state.dir/main.cpp.o differ diff --git a/sensor_msgs/test/CMakeFiles/test_battery_state.dir/progress.make b/sensor_msgs/test/CMakeFiles/test_battery_state.dir/progress.make index abadeb0..b700c2c 100644 --- a/sensor_msgs/test/CMakeFiles/test_battery_state.dir/progress.make +++ b/sensor_msgs/test/CMakeFiles/test_battery_state.dir/progress.make @@ -1,3 +1,3 @@ -CMAKE_PROGRESS_1 = 1 -CMAKE_PROGRESS_2 = 2 +CMAKE_PROGRESS_1 = 9 +CMAKE_PROGRESS_2 = 10 diff --git a/sensor_msgs/test/Makefile b/sensor_msgs/test/Makefile index b394698..03caa70 100644 --- a/sensor_msgs/test/Makefile +++ b/sensor_msgs/test/Makefile @@ -56,6 +56,52 @@ CMAKE_BINARY_DIR = /home/duongtd/robotics_core/common_msgs/sensor_msgs/test #============================================================================= # Targets provided globally by CMake. +# Special rule for the target install/strip +install/strip: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..." + /usr/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake +.PHONY : install/strip + +# Special rule for the target install/strip +install/strip/fast: preinstall/fast + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..." + /usr/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake +.PHONY : install/strip/fast + +# Special rule for the target install/local +install/local: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..." + /usr/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake +.PHONY : install/local + +# Special rule for the target install/local +install/local/fast: preinstall/fast + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..." + /usr/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake +.PHONY : install/local/fast + +# Special rule for the target install +install: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /usr/bin/cmake -P cmake_install.cmake +.PHONY : install + +# Special rule for the target install +install/fast: preinstall/fast + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /usr/bin/cmake -P cmake_install.cmake +.PHONY : install/fast + +# Special rule for the target list_install_components +list_install_components: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\"" +.PHONY : list_install_components + +# Special rule for the target list_install_components +list_install_components/fast: list_install_components + +.PHONY : list_install_components/fast + # Special rule for the target rebuild_cache rebuild_cache: @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." @@ -123,6 +169,45 @@ test_battery_state/fast: $(MAKE) -f CMakeFiles/test_battery_state.dir/build.make CMakeFiles/test_battery_state.dir/build .PHONY : test_battery_state/fast +#============================================================================= +# Target rules for targets named robot_duration_test + +# Build rule for target. +robot_duration_test: cmake_check_build_system + $(MAKE) -f CMakeFiles/Makefile2 robot_duration_test +.PHONY : robot_duration_test + +# fast build rule for target. +robot_duration_test/fast: + $(MAKE) -f robot_time_build/CMakeFiles/robot_duration_test.dir/build.make robot_time_build/CMakeFiles/robot_duration_test.dir/build +.PHONY : robot_duration_test/fast + +#============================================================================= +# Target rules for targets named robot_time_test + +# Build rule for target. +robot_time_test: cmake_check_build_system + $(MAKE) -f CMakeFiles/Makefile2 robot_time_test +.PHONY : robot_time_test + +# fast build rule for target. +robot_time_test/fast: + $(MAKE) -f robot_time_build/CMakeFiles/robot_time_test.dir/build.make robot_time_build/CMakeFiles/robot_time_test.dir/build +.PHONY : robot_time_test/fast + +#============================================================================= +# Target rules for targets named robot_time + +# Build rule for target. +robot_time: cmake_check_build_system + $(MAKE) -f CMakeFiles/Makefile2 robot_time +.PHONY : robot_time + +# fast build rule for target. +robot_time/fast: + $(MAKE) -f robot_time_build/CMakeFiles/robot_time.dir/build.make robot_time_build/CMakeFiles/robot_time.dir/build +.PHONY : robot_time/fast + main.o: main.cpp.o .PHONY : main.o @@ -156,9 +241,16 @@ help: @echo "... all (the default if no target is provided)" @echo "... clean" @echo "... depend" + @echo "... install/strip" + @echo "... install/local" + @echo "... install" + @echo "... list_install_components" @echo "... rebuild_cache" @echo "... edit_cache" @echo "... test_battery_state" + @echo "... robot_duration_test" + @echo "... robot_time_test" + @echo "... robot_time" @echo "... main.o" @echo "... main.i" @echo "... main.s" diff --git a/sensor_msgs/test/main.cpp b/sensor_msgs/test/main.cpp index f5cb101..b054655 100644 --- a/sensor_msgs/test/main.cpp +++ b/sensor_msgs/test/main.cpp @@ -2,42 +2,42 @@ #include "sensor_msgs/JoyFeedbackArray.h" #include "sensor_msgs/PointCloud2.h" #include -#include +// #include -bool getParams() -{ - try { - YAML::Node config = YAML::LoadFile("../cfg/config.yaml"); +// bool getParams() +// { +// try { +// YAML::Node config = YAML::LoadFile("../cfg/config.yaml"); - double cost_scaling_factor = config["inflation_layer"]["cost_scaling_factor"].as(); - double inflation_radius = config["inflation_layer"]["inflation_radius"].as(); +// double cost_scaling_factor = config["inflation_layer"]["cost_scaling_factor"].as(); +// double inflation_radius = config["inflation_layer"]["inflation_radius"].as(); - bool enabled = config["inflation_layer"]["enabled"].as(); - bool inflate_unknown = config["inflation_layer"]["inflate_unknown"].as(); +// bool enabled = config["inflation_layer"]["enabled"].as(); +// bool inflate_unknown = config["inflation_layer"]["inflate_unknown"].as(); - double distance = config["obstacle_layer"]["distance"].as(); +// double distance = config["obstacle_layer"]["distance"].as(); - std::cout << "Inflation Layer Parameters:" << std::endl; - std::cout << " Cost Scaling Factor: " << cost_scaling_factor << std::endl; - std::cout << " Inflation Radius: " << inflation_radius << std::endl; - std::cout << " Enabled: " << (enabled ? "true" : "false") << std::endl; - std::cout << " Inflate Unknown: " << (inflate_unknown ? "true" : "false") << std::endl; - std::cout << "Obstacle Layer Parameters:" << std::endl; - std::cout << " Distance: " << distance << std::endl; +// std::cout << "Inflation Layer Parameters:" << std::endl; +// std::cout << " Cost Scaling Factor: " << cost_scaling_factor << std::endl; +// std::cout << " Inflation Radius: " << inflation_radius << std::endl; +// std::cout << " Enabled: " << (enabled ? "true" : "false") << std::endl; +// std::cout << " Inflate Unknown: " << (inflate_unknown ? "true" : "false") << std::endl; +// std::cout << "Obstacle Layer Parameters:" << std::endl; +// std::cout << " Distance: " << distance << std::endl; - } - catch (const YAML::BadFile& e) { - std::cerr << "Cannot open YAML file: " << e.what() << std::endl; - return false; - } +// } +// catch (const YAML::BadFile& e) { +// std::cerr << "Cannot open YAML file: " << e.what() << std::endl; +// return false; +// } - return true; +// return true; -} +// } int main() { - getParams(); + // getParams(); sensor_msgs::BatteryState battery; // battery.header = std_msgs::Header::now("battery_frame"); diff --git a/sensor_msgs/test/robot_time_build/CMakeFiles/CMakeDirectoryInformation.cmake b/sensor_msgs/test/robot_time_build/CMakeFiles/CMakeDirectoryInformation.cmake new file mode 100644 index 0000000..0ab824a --- /dev/null +++ b/sensor_msgs/test/robot_time_build/CMakeFiles/CMakeDirectoryInformation.cmake @@ -0,0 +1,16 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 3.16 + +# Relative path conversion top directories. +set(CMAKE_RELATIVE_PATH_TOP_SOURCE "/home/duongtd/robotics_core/robot_time") +set(CMAKE_RELATIVE_PATH_TOP_BINARY "/home/duongtd/robotics_core/common_msgs/sensor_msgs/test") + +# Force unix paths in dependencies. +set(CMAKE_FORCE_UNIX_PATHS 1) + + +# The C and CXX include file regular expressions for this directory. +set(CMAKE_C_INCLUDE_REGEX_SCAN "^.*$") +set(CMAKE_C_INCLUDE_REGEX_COMPLAIN "^$") +set(CMAKE_CXX_INCLUDE_REGEX_SCAN ${CMAKE_C_INCLUDE_REGEX_SCAN}) +set(CMAKE_CXX_INCLUDE_REGEX_COMPLAIN ${CMAKE_C_INCLUDE_REGEX_COMPLAIN}) diff --git a/sensor_msgs/test/robot_time_build/CMakeFiles/Export/lib/cmake/robot_time/robot_timeTargets-noconfig.cmake b/sensor_msgs/test/robot_time_build/CMakeFiles/Export/lib/cmake/robot_time/robot_timeTargets-noconfig.cmake new file mode 100644 index 0000000..ffb47b8 --- /dev/null +++ b/sensor_msgs/test/robot_time_build/CMakeFiles/Export/lib/cmake/robot_time/robot_timeTargets-noconfig.cmake @@ -0,0 +1,19 @@ +#---------------------------------------------------------------- +# Generated CMake target import file. +#---------------------------------------------------------------- + +# Commands may need to know the format version. +set(CMAKE_IMPORT_FILE_VERSION 1) + +# Import target "robot::robot_time" for configuration "" +set_property(TARGET robot::robot_time APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) +set_target_properties(robot::robot_time PROPERTIES + IMPORTED_LINK_INTERFACE_LANGUAGES_NOCONFIG "CXX" + IMPORTED_LOCATION_NOCONFIG "${_IMPORT_PREFIX}/lib/librobot_time.a" + ) + +list(APPEND _IMPORT_CHECK_TARGETS robot::robot_time ) +list(APPEND _IMPORT_CHECK_FILES_FOR_robot::robot_time "${_IMPORT_PREFIX}/lib/librobot_time.a" ) + +# Commands beyond this point should not need to know the version. +set(CMAKE_IMPORT_FILE_VERSION) diff --git a/sensor_msgs/test/robot_time_build/CMakeFiles/Export/lib/cmake/robot_time/robot_timeTargets.cmake b/sensor_msgs/test/robot_time_build/CMakeFiles/Export/lib/cmake/robot_time/robot_timeTargets.cmake new file mode 100644 index 0000000..6a0a45e --- /dev/null +++ b/sensor_msgs/test/robot_time_build/CMakeFiles/Export/lib/cmake/robot_time/robot_timeTargets.cmake @@ -0,0 +1,94 @@ +# Generated by CMake + +if("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" LESS 2.5) + message(FATAL_ERROR "CMake >= 2.6.0 required") +endif() +cmake_policy(PUSH) +cmake_policy(VERSION 2.6) +#---------------------------------------------------------------- +# Generated CMake target import file. +#---------------------------------------------------------------- + +# Commands may need to know the format version. +set(CMAKE_IMPORT_FILE_VERSION 1) + +# Protect against multiple inclusion, which would fail when already imported targets are added once more. +set(_targetsDefined) +set(_targetsNotDefined) +set(_expectedTargets) +foreach(_expectedTarget robot::robot_time) + list(APPEND _expectedTargets ${_expectedTarget}) + if(NOT TARGET ${_expectedTarget}) + list(APPEND _targetsNotDefined ${_expectedTarget}) + endif() + if(TARGET ${_expectedTarget}) + list(APPEND _targetsDefined ${_expectedTarget}) + endif() +endforeach() +if("${_targetsDefined}" STREQUAL "${_expectedTargets}") + unset(_targetsDefined) + unset(_targetsNotDefined) + unset(_expectedTargets) + set(CMAKE_IMPORT_FILE_VERSION) + cmake_policy(POP) + return() +endif() +if(NOT "${_targetsDefined}" STREQUAL "") + message(FATAL_ERROR "Some (but not all) targets in this export set were already defined.\nTargets Defined: ${_targetsDefined}\nTargets not yet defined: ${_targetsNotDefined}\n") +endif() +unset(_targetsDefined) +unset(_targetsNotDefined) +unset(_expectedTargets) + + +# Compute the installation prefix relative to this file. +get_filename_component(_IMPORT_PREFIX "${CMAKE_CURRENT_LIST_FILE}" PATH) +get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH) +get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH) +get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH) +if(_IMPORT_PREFIX STREQUAL "/") + set(_IMPORT_PREFIX "") +endif() + +# Create imported target robot::robot_time +add_library(robot::robot_time STATIC IMPORTED) + +set_target_properties(robot::robot_time PROPERTIES + INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include" +) + +# Load information for each installed configuration. +get_filename_component(_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH) +file(GLOB CONFIG_FILES "${_DIR}/robot_timeTargets-*.cmake") +foreach(f ${CONFIG_FILES}) + include(${f}) +endforeach() + +# Cleanup temporary variables. +set(_IMPORT_PREFIX) + +# Loop over all imported files and verify that they actually exist +foreach(target ${_IMPORT_CHECK_TARGETS} ) + foreach(file ${_IMPORT_CHECK_FILES_FOR_${target}} ) + if(NOT EXISTS "${file}" ) + message(FATAL_ERROR "The imported target \"${target}\" references the file + \"${file}\" +but this file does not exist. Possible reasons include: +* The file was deleted, renamed, or moved to another location. +* An install or uninstall procedure did not complete successfully. +* The installation package was faulty and contained + \"${CMAKE_CURRENT_LIST_FILE}\" +but not all the files it references. +") + endif() + endforeach() + unset(_IMPORT_CHECK_FILES_FOR_${target}) +endforeach() +unset(_IMPORT_CHECK_TARGETS) + +# This file does not depend on other imported targets which have +# been exported from the same project but in a separate export set. + +# Commands beyond this point should not need to know the version. +set(CMAKE_IMPORT_FILE_VERSION) +cmake_policy(POP) diff --git a/sensor_msgs/test/robot_time_build/CMakeFiles/progress.marks b/sensor_msgs/test/robot_time_build/CMakeFiles/progress.marks new file mode 100644 index 0000000..45a4fb7 --- /dev/null +++ b/sensor_msgs/test/robot_time_build/CMakeFiles/progress.marks @@ -0,0 +1 @@ +8 diff --git a/sensor_msgs/test/robot_time_build/CMakeFiles/robot_duration_test.dir/CXX.includecache b/sensor_msgs/test/robot_time_build/CMakeFiles/robot_duration_test.dir/CXX.includecache new file mode 100644 index 0000000..83de8fe --- /dev/null +++ b/sensor_msgs/test/robot_time_build/CMakeFiles/robot_duration_test.dir/CXX.includecache @@ -0,0 +1,64 @@ +#IncludeRegexLine: ^[ ]*[#%][ ]*(include|import)[ ]*[<"]([^">]+)([">]) + +#IncludeRegexScan: ^.*$ + +#IncludeRegexComplain: ^$ + +#IncludeRegexTransform: + +/home/duongtd/robotics_core/robot_time/include/robot/duration.h +iostream +- +math.h +- +stdexcept +- +climits +- +stdint.h +- +robot_time_decl.h +/home/duongtd/robotics_core/robot_time/include/robot/robot_time_decl.h + +/home/duongtd/robotics_core/robot_time/include/robot/exception.h +stdexcept +- +string +- + +/home/duongtd/robotics_core/robot_time/include/robot/macros.h + +/home/duongtd/robotics_core/robot_time/include/robot/platform.h + +/home/duongtd/robotics_core/robot_time/include/robot/robot_time_decl.h +robot/macros.h +- + +/home/duongtd/robotics_core/robot_time/include/robot/time.h +robot/platform.h +- +iostream +- +cmath +- +robot/exception.h +- +duration.h +/home/duongtd/robotics_core/robot_time/include/robot/duration.h +robot_time_decl.h +/home/duongtd/robotics_core/robot_time/include/robot/robot_time_decl.h +sys/timeb.h +- +sys/time.h +- + +/home/duongtd/robotics_core/robot_time/test/duration.cpp +limits +- +gtest/gtest.h +- +robot/duration.h +- +robot/time.h +- + diff --git a/sensor_msgs/test/robot_time_build/CMakeFiles/robot_duration_test.dir/DependInfo.cmake b/sensor_msgs/test/robot_time_build/CMakeFiles/robot_duration_test.dir/DependInfo.cmake new file mode 100644 index 0000000..42e619c --- /dev/null +++ b/sensor_msgs/test/robot_time_build/CMakeFiles/robot_duration_test.dir/DependInfo.cmake @@ -0,0 +1,22 @@ +# The set of languages for which implicit dependencies are needed: +set(CMAKE_DEPENDS_LANGUAGES + "CXX" + ) +# The set of files for implicit dependencies of each language: +set(CMAKE_DEPENDS_CHECK_CXX + "/home/duongtd/robotics_core/robot_time/test/duration.cpp" "/home/duongtd/robotics_core/common_msgs/sensor_msgs/test/robot_time_build/CMakeFiles/robot_duration_test.dir/test/duration.cpp.o" + ) +set(CMAKE_CXX_COMPILER_ID "GNU") + +# The include file search paths: +set(CMAKE_CXX_TARGET_INCLUDE_PATH + "/home/duongtd/robotics_core/robot_time/include" + ) + +# Targets to which this target links. +set(CMAKE_TARGET_LINKED_INFO_FILES + "/home/duongtd/robotics_core/common_msgs/sensor_msgs/test/robot_time_build/CMakeFiles/robot_time.dir/DependInfo.cmake" + ) + +# Fortran module output directory. +set(CMAKE_Fortran_TARGET_MODULE_DIR "") diff --git a/sensor_msgs/test/robot_time_build/CMakeFiles/robot_duration_test.dir/build.make b/sensor_msgs/test/robot_time_build/CMakeFiles/robot_duration_test.dir/build.make new file mode 100644 index 0000000..5c2c42e --- /dev/null +++ b/sensor_msgs/test/robot_time_build/CMakeFiles/robot_duration_test.dir/build.make @@ -0,0 +1,102 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 3.16 + +# Delete rule output on recipe failure. +.DELETE_ON_ERROR: + + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + + +# Remove some rules from gmake that .SUFFIXES does not remove. +SUFFIXES = + +.SUFFIXES: .hpux_make_needs_suffix_list + + +# Suppress display of executed commands. +$(VERBOSE).SILENT: + + +# A target that is always out of date. +cmake_force: + +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /usr/bin/cmake + +# The command to remove a file. +RM = /usr/bin/cmake -E remove -f + +# Escaping for special characters. +EQUALS = = + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /home/duongtd/robotics_core/common_msgs/sensor_msgs + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /home/duongtd/robotics_core/common_msgs/sensor_msgs/test + +# Include any dependencies generated for this target. +include robot_time_build/CMakeFiles/robot_duration_test.dir/depend.make + +# Include the progress variables for this target. +include robot_time_build/CMakeFiles/robot_duration_test.dir/progress.make + +# Include the compile flags for this target's objects. +include robot_time_build/CMakeFiles/robot_duration_test.dir/flags.make + +robot_time_build/CMakeFiles/robot_duration_test.dir/test/duration.cpp.o: robot_time_build/CMakeFiles/robot_duration_test.dir/flags.make +robot_time_build/CMakeFiles/robot_duration_test.dir/test/duration.cpp.o: /home/duongtd/robotics_core/robot_time/test/duration.cpp + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/home/duongtd/robotics_core/common_msgs/sensor_msgs/test/CMakeFiles --progress-num=$(CMAKE_PROGRESS_1) "Building CXX object robot_time_build/CMakeFiles/robot_duration_test.dir/test/duration.cpp.o" + cd /home/duongtd/robotics_core/common_msgs/sensor_msgs/test/robot_time_build && /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/robot_duration_test.dir/test/duration.cpp.o -c /home/duongtd/robotics_core/robot_time/test/duration.cpp + +robot_time_build/CMakeFiles/robot_duration_test.dir/test/duration.cpp.i: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/robot_duration_test.dir/test/duration.cpp.i" + cd /home/duongtd/robotics_core/common_msgs/sensor_msgs/test/robot_time_build && /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /home/duongtd/robotics_core/robot_time/test/duration.cpp > CMakeFiles/robot_duration_test.dir/test/duration.cpp.i + +robot_time_build/CMakeFiles/robot_duration_test.dir/test/duration.cpp.s: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/robot_duration_test.dir/test/duration.cpp.s" + cd /home/duongtd/robotics_core/common_msgs/sensor_msgs/test/robot_time_build && /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /home/duongtd/robotics_core/robot_time/test/duration.cpp -o CMakeFiles/robot_duration_test.dir/test/duration.cpp.s + +# Object files for target robot_duration_test +robot_duration_test_OBJECTS = \ +"CMakeFiles/robot_duration_test.dir/test/duration.cpp.o" + +# External object files for target robot_duration_test +robot_duration_test_EXTERNAL_OBJECTS = + +robot_time_build/robot_duration_test: robot_time_build/CMakeFiles/robot_duration_test.dir/test/duration.cpp.o +robot_time_build/robot_duration_test: robot_time_build/CMakeFiles/robot_duration_test.dir/build.make +robot_time_build/robot_duration_test: robot_time_build/librobot_time.a +robot_time_build/robot_duration_test: /usr/local/lib/libgtest.a +robot_time_build/robot_duration_test: /usr/local/lib/libgtest_main.a +robot_time_build/robot_duration_test: /usr/local/lib/libgtest.a +robot_time_build/robot_duration_test: robot_time_build/CMakeFiles/robot_duration_test.dir/link.txt + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --bold --progress-dir=/home/duongtd/robotics_core/common_msgs/sensor_msgs/test/CMakeFiles --progress-num=$(CMAKE_PROGRESS_2) "Linking CXX executable robot_duration_test" + cd /home/duongtd/robotics_core/common_msgs/sensor_msgs/test/robot_time_build && $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/robot_duration_test.dir/link.txt --verbose=$(VERBOSE) + +# Rule to build all files generated by this target. +robot_time_build/CMakeFiles/robot_duration_test.dir/build: robot_time_build/robot_duration_test + +.PHONY : robot_time_build/CMakeFiles/robot_duration_test.dir/build + +robot_time_build/CMakeFiles/robot_duration_test.dir/clean: + cd /home/duongtd/robotics_core/common_msgs/sensor_msgs/test/robot_time_build && $(CMAKE_COMMAND) -P CMakeFiles/robot_duration_test.dir/cmake_clean.cmake +.PHONY : robot_time_build/CMakeFiles/robot_duration_test.dir/clean + +robot_time_build/CMakeFiles/robot_duration_test.dir/depend: + cd /home/duongtd/robotics_core/common_msgs/sensor_msgs/test && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/duongtd/robotics_core/common_msgs/sensor_msgs /home/duongtd/robotics_core/robot_time /home/duongtd/robotics_core/common_msgs/sensor_msgs/test /home/duongtd/robotics_core/common_msgs/sensor_msgs/test/robot_time_build /home/duongtd/robotics_core/common_msgs/sensor_msgs/test/robot_time_build/CMakeFiles/robot_duration_test.dir/DependInfo.cmake --color=$(COLOR) +.PHONY : robot_time_build/CMakeFiles/robot_duration_test.dir/depend + diff --git a/sensor_msgs/test/robot_time_build/CMakeFiles/robot_duration_test.dir/cmake_clean.cmake b/sensor_msgs/test/robot_time_build/CMakeFiles/robot_duration_test.dir/cmake_clean.cmake new file mode 100644 index 0000000..15d87c5 --- /dev/null +++ b/sensor_msgs/test/robot_time_build/CMakeFiles/robot_duration_test.dir/cmake_clean.cmake @@ -0,0 +1,10 @@ +file(REMOVE_RECURSE + "CMakeFiles/robot_duration_test.dir/test/duration.cpp.o" + "robot_duration_test" + "robot_duration_test.pdb" +) + +# Per-language clean rules from dependency scanning. +foreach(lang CXX) + include(CMakeFiles/robot_duration_test.dir/cmake_clean_${lang}.cmake OPTIONAL) +endforeach() diff --git a/sensor_msgs/test/robot_time_build/CMakeFiles/robot_duration_test.dir/depend.internal b/sensor_msgs/test/robot_time_build/CMakeFiles/robot_duration_test.dir/depend.internal new file mode 100644 index 0000000..5502ea4 --- /dev/null +++ b/sensor_msgs/test/robot_time_build/CMakeFiles/robot_duration_test.dir/depend.internal @@ -0,0 +1,11 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 3.16 + +robot_time_build/CMakeFiles/robot_duration_test.dir/test/duration.cpp.o + /home/duongtd/robotics_core/robot_time/include/robot/duration.h + /home/duongtd/robotics_core/robot_time/include/robot/exception.h + /home/duongtd/robotics_core/robot_time/include/robot/macros.h + /home/duongtd/robotics_core/robot_time/include/robot/platform.h + /home/duongtd/robotics_core/robot_time/include/robot/robot_time_decl.h + /home/duongtd/robotics_core/robot_time/include/robot/time.h + /home/duongtd/robotics_core/robot_time/test/duration.cpp diff --git a/sensor_msgs/test/robot_time_build/CMakeFiles/robot_duration_test.dir/depend.make b/sensor_msgs/test/robot_time_build/CMakeFiles/robot_duration_test.dir/depend.make new file mode 100644 index 0000000..4c5e95d --- /dev/null +++ b/sensor_msgs/test/robot_time_build/CMakeFiles/robot_duration_test.dir/depend.make @@ -0,0 +1,11 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 3.16 + +robot_time_build/CMakeFiles/robot_duration_test.dir/test/duration.cpp.o: /home/duongtd/robotics_core/robot_time/include/robot/duration.h +robot_time_build/CMakeFiles/robot_duration_test.dir/test/duration.cpp.o: /home/duongtd/robotics_core/robot_time/include/robot/exception.h +robot_time_build/CMakeFiles/robot_duration_test.dir/test/duration.cpp.o: /home/duongtd/robotics_core/robot_time/include/robot/macros.h +robot_time_build/CMakeFiles/robot_duration_test.dir/test/duration.cpp.o: /home/duongtd/robotics_core/robot_time/include/robot/platform.h +robot_time_build/CMakeFiles/robot_duration_test.dir/test/duration.cpp.o: /home/duongtd/robotics_core/robot_time/include/robot/robot_time_decl.h +robot_time_build/CMakeFiles/robot_duration_test.dir/test/duration.cpp.o: /home/duongtd/robotics_core/robot_time/include/robot/time.h +robot_time_build/CMakeFiles/robot_duration_test.dir/test/duration.cpp.o: /home/duongtd/robotics_core/robot_time/test/duration.cpp + diff --git a/sensor_msgs/test/robot_time_build/CMakeFiles/robot_duration_test.dir/flags.make b/sensor_msgs/test/robot_time_build/CMakeFiles/robot_duration_test.dir/flags.make new file mode 100644 index 0000000..c8b80f8 --- /dev/null +++ b/sensor_msgs/test/robot_time_build/CMakeFiles/robot_duration_test.dir/flags.make @@ -0,0 +1,10 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 3.16 + +# compile CXX with /usr/bin/c++ +CXX_FLAGS = -std=c++17 + +CXX_DEFINES = + +CXX_INCLUDES = -I/home/duongtd/robotics_core/robot_time/include + diff --git a/sensor_msgs/test/robot_time_build/CMakeFiles/robot_duration_test.dir/link.txt b/sensor_msgs/test/robot_time_build/CMakeFiles/robot_duration_test.dir/link.txt new file mode 100644 index 0000000..9d66320 --- /dev/null +++ b/sensor_msgs/test/robot_time_build/CMakeFiles/robot_duration_test.dir/link.txt @@ -0,0 +1 @@ +/usr/bin/c++ CMakeFiles/robot_duration_test.dir/test/duration.cpp.o -o robot_duration_test librobot_time.a /usr/local/lib/libgtest.a /usr/local/lib/libgtest_main.a /usr/local/lib/libgtest.a -lpthread diff --git a/sensor_msgs/test/robot_time_build/CMakeFiles/robot_duration_test.dir/progress.make b/sensor_msgs/test/robot_time_build/CMakeFiles/robot_duration_test.dir/progress.make new file mode 100644 index 0000000..abadeb0 --- /dev/null +++ b/sensor_msgs/test/robot_time_build/CMakeFiles/robot_duration_test.dir/progress.make @@ -0,0 +1,3 @@ +CMAKE_PROGRESS_1 = 1 +CMAKE_PROGRESS_2 = 2 + diff --git a/sensor_msgs/test/robot_time_build/CMakeFiles/robot_duration_test.dir/test/duration.cpp.o b/sensor_msgs/test/robot_time_build/CMakeFiles/robot_duration_test.dir/test/duration.cpp.o new file mode 100644 index 0000000..2e855cb Binary files /dev/null and b/sensor_msgs/test/robot_time_build/CMakeFiles/robot_duration_test.dir/test/duration.cpp.o differ diff --git a/sensor_msgs/test/robot_time_build/CMakeFiles/robot_time.dir/CXX.includecache b/sensor_msgs/test/robot_time_build/CMakeFiles/robot_time.dir/CXX.includecache new file mode 100644 index 0000000..853450c --- /dev/null +++ b/sensor_msgs/test/robot_time_build/CMakeFiles/robot_time.dir/CXX.includecache @@ -0,0 +1,128 @@ +#IncludeRegexLine: ^[ ]*[#%][ ]*(include|import)[ ]*[<"]([^">]+)([">]) + +#IncludeRegexScan: ^.*$ + +#IncludeRegexComplain: ^$ + +#IncludeRegexTransform: + +/home/duongtd/robotics_core/robot_time/include/robot/duration.h +iostream +- +math.h +- +stdexcept +- +climits +- +stdint.h +- +robot_time_decl.h +/home/duongtd/robotics_core/robot_time/include/robot/robot_time_decl.h + +/home/duongtd/robotics_core/robot_time/include/robot/exception.h +stdexcept +- +string +- + +/home/duongtd/robotics_core/robot_time/include/robot/impl/duration.h +cmath +- +limits +- +robot/duration.h +- +robot/rate.h +- + +/home/duongtd/robotics_core/robot_time/include/robot/impl/time.h +robot/platform.h +- +iostream +- +cmath +- +limits +- +robot/exception.h +- +robot/time.h +- +sys/timeb.h +- +sys/time.h +- + +/home/duongtd/robotics_core/robot_time/include/robot/macros.h + +/home/duongtd/robotics_core/robot_time/include/robot/platform.h + +/home/duongtd/robotics_core/robot_time/include/robot/rate.h +robot/time.h +/home/duongtd/robotics_core/robot_time/include/robot/robot/time.h +robot_time_decl.h +/home/duongtd/robotics_core/robot_time/include/robot/robot_time_decl.h + +/home/duongtd/robotics_core/robot_time/include/robot/robot_time_decl.h +robot/macros.h +- + +/home/duongtd/robotics_core/robot_time/include/robot/time.h +robot/platform.h +- +iostream +- +cmath +- +robot/exception.h +- +duration.h +/home/duongtd/robotics_core/robot_time/include/robot/duration.h +robot_time_decl.h +/home/duongtd/robotics_core/robot_time/include/robot/robot_time_decl.h +sys/timeb.h +- +sys/time.h +- + +/home/duongtd/robotics_core/robot_time/src/duration.cpp +robot/duration.h +- +robot/impl/duration.h +- + +/home/duongtd/robotics_core/robot_time/src/rate.cpp +robot/rate.h +- + +/home/duongtd/robotics_core/robot_time/src/time.cpp +robot/time.h +/home/duongtd/robotics_core/robot_time/src/robot/time.h +robot/impl/time.h +/home/duongtd/robotics_core/robot_time/src/robot/impl/time.h +cmath +- +ctime +- +iomanip +- +limits +- +stdexcept +- +mach/clock.h +- +mach/mach.h +- +chrono +- +thread +- +windows.h +- +mutex +- +chrono +- + diff --git a/sensor_msgs/test/robot_time_build/CMakeFiles/robot_time.dir/DependInfo.cmake b/sensor_msgs/test/robot_time_build/CMakeFiles/robot_time.dir/DependInfo.cmake new file mode 100644 index 0000000..4fb1ed0 --- /dev/null +++ b/sensor_msgs/test/robot_time_build/CMakeFiles/robot_time.dir/DependInfo.cmake @@ -0,0 +1,23 @@ +# The set of languages for which implicit dependencies are needed: +set(CMAKE_DEPENDS_LANGUAGES + "CXX" + ) +# The set of files for implicit dependencies of each language: +set(CMAKE_DEPENDS_CHECK_CXX + "/home/duongtd/robotics_core/robot_time/src/duration.cpp" "/home/duongtd/robotics_core/common_msgs/sensor_msgs/test/robot_time_build/CMakeFiles/robot_time.dir/src/duration.cpp.o" + "/home/duongtd/robotics_core/robot_time/src/rate.cpp" "/home/duongtd/robotics_core/common_msgs/sensor_msgs/test/robot_time_build/CMakeFiles/robot_time.dir/src/rate.cpp.o" + "/home/duongtd/robotics_core/robot_time/src/time.cpp" "/home/duongtd/robotics_core/common_msgs/sensor_msgs/test/robot_time_build/CMakeFiles/robot_time.dir/src/time.cpp.o" + ) +set(CMAKE_CXX_COMPILER_ID "GNU") + +# The include file search paths: +set(CMAKE_CXX_TARGET_INCLUDE_PATH + "/home/duongtd/robotics_core/robot_time/include" + ) + +# Targets to which this target links. +set(CMAKE_TARGET_LINKED_INFO_FILES + ) + +# Fortran module output directory. +set(CMAKE_Fortran_TARGET_MODULE_DIR "") diff --git a/sensor_msgs/test/robot_time_build/CMakeFiles/robot_time.dir/build.make b/sensor_msgs/test/robot_time_build/CMakeFiles/robot_time.dir/build.make new file mode 100644 index 0000000..cbce615 --- /dev/null +++ b/sensor_msgs/test/robot_time_build/CMakeFiles/robot_time.dir/build.make @@ -0,0 +1,129 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 3.16 + +# Delete rule output on recipe failure. +.DELETE_ON_ERROR: + + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + + +# Remove some rules from gmake that .SUFFIXES does not remove. +SUFFIXES = + +.SUFFIXES: .hpux_make_needs_suffix_list + + +# Suppress display of executed commands. +$(VERBOSE).SILENT: + + +# A target that is always out of date. +cmake_force: + +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /usr/bin/cmake + +# The command to remove a file. +RM = /usr/bin/cmake -E remove -f + +# Escaping for special characters. +EQUALS = = + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /home/duongtd/robotics_core/common_msgs/sensor_msgs + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /home/duongtd/robotics_core/common_msgs/sensor_msgs/test + +# Include any dependencies generated for this target. +include robot_time_build/CMakeFiles/robot_time.dir/depend.make + +# Include the progress variables for this target. +include robot_time_build/CMakeFiles/robot_time.dir/progress.make + +# Include the compile flags for this target's objects. +include robot_time_build/CMakeFiles/robot_time.dir/flags.make + +robot_time_build/CMakeFiles/robot_time.dir/src/duration.cpp.o: robot_time_build/CMakeFiles/robot_time.dir/flags.make +robot_time_build/CMakeFiles/robot_time.dir/src/duration.cpp.o: /home/duongtd/robotics_core/robot_time/src/duration.cpp + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/home/duongtd/robotics_core/common_msgs/sensor_msgs/test/CMakeFiles --progress-num=$(CMAKE_PROGRESS_1) "Building CXX object robot_time_build/CMakeFiles/robot_time.dir/src/duration.cpp.o" + cd /home/duongtd/robotics_core/common_msgs/sensor_msgs/test/robot_time_build && /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/robot_time.dir/src/duration.cpp.o -c /home/duongtd/robotics_core/robot_time/src/duration.cpp + +robot_time_build/CMakeFiles/robot_time.dir/src/duration.cpp.i: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/robot_time.dir/src/duration.cpp.i" + cd /home/duongtd/robotics_core/common_msgs/sensor_msgs/test/robot_time_build && /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /home/duongtd/robotics_core/robot_time/src/duration.cpp > CMakeFiles/robot_time.dir/src/duration.cpp.i + +robot_time_build/CMakeFiles/robot_time.dir/src/duration.cpp.s: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/robot_time.dir/src/duration.cpp.s" + cd /home/duongtd/robotics_core/common_msgs/sensor_msgs/test/robot_time_build && /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /home/duongtd/robotics_core/robot_time/src/duration.cpp -o CMakeFiles/robot_time.dir/src/duration.cpp.s + +robot_time_build/CMakeFiles/robot_time.dir/src/rate.cpp.o: robot_time_build/CMakeFiles/robot_time.dir/flags.make +robot_time_build/CMakeFiles/robot_time.dir/src/rate.cpp.o: /home/duongtd/robotics_core/robot_time/src/rate.cpp + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/home/duongtd/robotics_core/common_msgs/sensor_msgs/test/CMakeFiles --progress-num=$(CMAKE_PROGRESS_2) "Building CXX object robot_time_build/CMakeFiles/robot_time.dir/src/rate.cpp.o" + cd /home/duongtd/robotics_core/common_msgs/sensor_msgs/test/robot_time_build && /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/robot_time.dir/src/rate.cpp.o -c /home/duongtd/robotics_core/robot_time/src/rate.cpp + +robot_time_build/CMakeFiles/robot_time.dir/src/rate.cpp.i: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/robot_time.dir/src/rate.cpp.i" + cd /home/duongtd/robotics_core/common_msgs/sensor_msgs/test/robot_time_build && /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /home/duongtd/robotics_core/robot_time/src/rate.cpp > CMakeFiles/robot_time.dir/src/rate.cpp.i + +robot_time_build/CMakeFiles/robot_time.dir/src/rate.cpp.s: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/robot_time.dir/src/rate.cpp.s" + cd /home/duongtd/robotics_core/common_msgs/sensor_msgs/test/robot_time_build && /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /home/duongtd/robotics_core/robot_time/src/rate.cpp -o CMakeFiles/robot_time.dir/src/rate.cpp.s + +robot_time_build/CMakeFiles/robot_time.dir/src/time.cpp.o: robot_time_build/CMakeFiles/robot_time.dir/flags.make +robot_time_build/CMakeFiles/robot_time.dir/src/time.cpp.o: /home/duongtd/robotics_core/robot_time/src/time.cpp + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/home/duongtd/robotics_core/common_msgs/sensor_msgs/test/CMakeFiles --progress-num=$(CMAKE_PROGRESS_3) "Building CXX object robot_time_build/CMakeFiles/robot_time.dir/src/time.cpp.o" + cd /home/duongtd/robotics_core/common_msgs/sensor_msgs/test/robot_time_build && /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/robot_time.dir/src/time.cpp.o -c /home/duongtd/robotics_core/robot_time/src/time.cpp + +robot_time_build/CMakeFiles/robot_time.dir/src/time.cpp.i: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/robot_time.dir/src/time.cpp.i" + cd /home/duongtd/robotics_core/common_msgs/sensor_msgs/test/robot_time_build && /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /home/duongtd/robotics_core/robot_time/src/time.cpp > CMakeFiles/robot_time.dir/src/time.cpp.i + +robot_time_build/CMakeFiles/robot_time.dir/src/time.cpp.s: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/robot_time.dir/src/time.cpp.s" + cd /home/duongtd/robotics_core/common_msgs/sensor_msgs/test/robot_time_build && /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /home/duongtd/robotics_core/robot_time/src/time.cpp -o CMakeFiles/robot_time.dir/src/time.cpp.s + +# Object files for target robot_time +robot_time_OBJECTS = \ +"CMakeFiles/robot_time.dir/src/duration.cpp.o" \ +"CMakeFiles/robot_time.dir/src/rate.cpp.o" \ +"CMakeFiles/robot_time.dir/src/time.cpp.o" + +# External object files for target robot_time +robot_time_EXTERNAL_OBJECTS = + +robot_time_build/librobot_time.a: robot_time_build/CMakeFiles/robot_time.dir/src/duration.cpp.o +robot_time_build/librobot_time.a: robot_time_build/CMakeFiles/robot_time.dir/src/rate.cpp.o +robot_time_build/librobot_time.a: robot_time_build/CMakeFiles/robot_time.dir/src/time.cpp.o +robot_time_build/librobot_time.a: robot_time_build/CMakeFiles/robot_time.dir/build.make +robot_time_build/librobot_time.a: robot_time_build/CMakeFiles/robot_time.dir/link.txt + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --bold --progress-dir=/home/duongtd/robotics_core/common_msgs/sensor_msgs/test/CMakeFiles --progress-num=$(CMAKE_PROGRESS_4) "Linking CXX static library librobot_time.a" + cd /home/duongtd/robotics_core/common_msgs/sensor_msgs/test/robot_time_build && $(CMAKE_COMMAND) -P CMakeFiles/robot_time.dir/cmake_clean_target.cmake + cd /home/duongtd/robotics_core/common_msgs/sensor_msgs/test/robot_time_build && $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/robot_time.dir/link.txt --verbose=$(VERBOSE) + +# Rule to build all files generated by this target. +robot_time_build/CMakeFiles/robot_time.dir/build: robot_time_build/librobot_time.a + +.PHONY : robot_time_build/CMakeFiles/robot_time.dir/build + +robot_time_build/CMakeFiles/robot_time.dir/clean: + cd /home/duongtd/robotics_core/common_msgs/sensor_msgs/test/robot_time_build && $(CMAKE_COMMAND) -P CMakeFiles/robot_time.dir/cmake_clean.cmake +.PHONY : robot_time_build/CMakeFiles/robot_time.dir/clean + +robot_time_build/CMakeFiles/robot_time.dir/depend: + cd /home/duongtd/robotics_core/common_msgs/sensor_msgs/test && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/duongtd/robotics_core/common_msgs/sensor_msgs /home/duongtd/robotics_core/robot_time /home/duongtd/robotics_core/common_msgs/sensor_msgs/test /home/duongtd/robotics_core/common_msgs/sensor_msgs/test/robot_time_build /home/duongtd/robotics_core/common_msgs/sensor_msgs/test/robot_time_build/CMakeFiles/robot_time.dir/DependInfo.cmake --color=$(COLOR) +.PHONY : robot_time_build/CMakeFiles/robot_time.dir/depend + diff --git a/sensor_msgs/test/robot_time_build/CMakeFiles/robot_time.dir/cmake_clean.cmake b/sensor_msgs/test/robot_time_build/CMakeFiles/robot_time.dir/cmake_clean.cmake new file mode 100644 index 0000000..810d9ab --- /dev/null +++ b/sensor_msgs/test/robot_time_build/CMakeFiles/robot_time.dir/cmake_clean.cmake @@ -0,0 +1,12 @@ +file(REMOVE_RECURSE + "CMakeFiles/robot_time.dir/src/duration.cpp.o" + "CMakeFiles/robot_time.dir/src/rate.cpp.o" + "CMakeFiles/robot_time.dir/src/time.cpp.o" + "librobot_time.a" + "librobot_time.pdb" +) + +# Per-language clean rules from dependency scanning. +foreach(lang CXX) + include(CMakeFiles/robot_time.dir/cmake_clean_${lang}.cmake OPTIONAL) +endforeach() diff --git a/sensor_msgs/test/robot_time_build/CMakeFiles/robot_time.dir/cmake_clean_target.cmake b/sensor_msgs/test/robot_time_build/CMakeFiles/robot_time.dir/cmake_clean_target.cmake new file mode 100644 index 0000000..fa6eb88 --- /dev/null +++ b/sensor_msgs/test/robot_time_build/CMakeFiles/robot_time.dir/cmake_clean_target.cmake @@ -0,0 +1,3 @@ +file(REMOVE_RECURSE + "librobot_time.a" +) diff --git a/sensor_msgs/test/robot_time_build/CMakeFiles/robot_time.dir/depend.internal b/sensor_msgs/test/robot_time_build/CMakeFiles/robot_time.dir/depend.internal new file mode 100644 index 0000000..9dfc36b --- /dev/null +++ b/sensor_msgs/test/robot_time_build/CMakeFiles/robot_time.dir/depend.internal @@ -0,0 +1,31 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 3.16 + +robot_time_build/CMakeFiles/robot_time.dir/src/duration.cpp.o + /home/duongtd/robotics_core/robot_time/include/robot/duration.h + /home/duongtd/robotics_core/robot_time/include/robot/exception.h + /home/duongtd/robotics_core/robot_time/include/robot/impl/duration.h + /home/duongtd/robotics_core/robot_time/include/robot/macros.h + /home/duongtd/robotics_core/robot_time/include/robot/platform.h + /home/duongtd/robotics_core/robot_time/include/robot/rate.h + /home/duongtd/robotics_core/robot_time/include/robot/robot_time_decl.h + /home/duongtd/robotics_core/robot_time/include/robot/time.h + /home/duongtd/robotics_core/robot_time/src/duration.cpp +robot_time_build/CMakeFiles/robot_time.dir/src/rate.cpp.o + /home/duongtd/robotics_core/robot_time/include/robot/duration.h + /home/duongtd/robotics_core/robot_time/include/robot/exception.h + /home/duongtd/robotics_core/robot_time/include/robot/macros.h + /home/duongtd/robotics_core/robot_time/include/robot/platform.h + /home/duongtd/robotics_core/robot_time/include/robot/rate.h + /home/duongtd/robotics_core/robot_time/include/robot/robot_time_decl.h + /home/duongtd/robotics_core/robot_time/include/robot/time.h + /home/duongtd/robotics_core/robot_time/src/rate.cpp +robot_time_build/CMakeFiles/robot_time.dir/src/time.cpp.o + /home/duongtd/robotics_core/robot_time/include/robot/duration.h + /home/duongtd/robotics_core/robot_time/include/robot/exception.h + /home/duongtd/robotics_core/robot_time/include/robot/impl/time.h + /home/duongtd/robotics_core/robot_time/include/robot/macros.h + /home/duongtd/robotics_core/robot_time/include/robot/platform.h + /home/duongtd/robotics_core/robot_time/include/robot/robot_time_decl.h + /home/duongtd/robotics_core/robot_time/include/robot/time.h + /home/duongtd/robotics_core/robot_time/src/time.cpp diff --git a/sensor_msgs/test/robot_time_build/CMakeFiles/robot_time.dir/depend.make b/sensor_msgs/test/robot_time_build/CMakeFiles/robot_time.dir/depend.make new file mode 100644 index 0000000..ad2493b --- /dev/null +++ b/sensor_msgs/test/robot_time_build/CMakeFiles/robot_time.dir/depend.make @@ -0,0 +1,31 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 3.16 + +robot_time_build/CMakeFiles/robot_time.dir/src/duration.cpp.o: /home/duongtd/robotics_core/robot_time/include/robot/duration.h +robot_time_build/CMakeFiles/robot_time.dir/src/duration.cpp.o: /home/duongtd/robotics_core/robot_time/include/robot/exception.h +robot_time_build/CMakeFiles/robot_time.dir/src/duration.cpp.o: /home/duongtd/robotics_core/robot_time/include/robot/impl/duration.h +robot_time_build/CMakeFiles/robot_time.dir/src/duration.cpp.o: /home/duongtd/robotics_core/robot_time/include/robot/macros.h +robot_time_build/CMakeFiles/robot_time.dir/src/duration.cpp.o: /home/duongtd/robotics_core/robot_time/include/robot/platform.h +robot_time_build/CMakeFiles/robot_time.dir/src/duration.cpp.o: /home/duongtd/robotics_core/robot_time/include/robot/rate.h +robot_time_build/CMakeFiles/robot_time.dir/src/duration.cpp.o: /home/duongtd/robotics_core/robot_time/include/robot/robot_time_decl.h +robot_time_build/CMakeFiles/robot_time.dir/src/duration.cpp.o: /home/duongtd/robotics_core/robot_time/include/robot/time.h +robot_time_build/CMakeFiles/robot_time.dir/src/duration.cpp.o: /home/duongtd/robotics_core/robot_time/src/duration.cpp + +robot_time_build/CMakeFiles/robot_time.dir/src/rate.cpp.o: /home/duongtd/robotics_core/robot_time/include/robot/duration.h +robot_time_build/CMakeFiles/robot_time.dir/src/rate.cpp.o: /home/duongtd/robotics_core/robot_time/include/robot/exception.h +robot_time_build/CMakeFiles/robot_time.dir/src/rate.cpp.o: /home/duongtd/robotics_core/robot_time/include/robot/macros.h +robot_time_build/CMakeFiles/robot_time.dir/src/rate.cpp.o: /home/duongtd/robotics_core/robot_time/include/robot/platform.h +robot_time_build/CMakeFiles/robot_time.dir/src/rate.cpp.o: /home/duongtd/robotics_core/robot_time/include/robot/rate.h +robot_time_build/CMakeFiles/robot_time.dir/src/rate.cpp.o: /home/duongtd/robotics_core/robot_time/include/robot/robot_time_decl.h +robot_time_build/CMakeFiles/robot_time.dir/src/rate.cpp.o: /home/duongtd/robotics_core/robot_time/include/robot/time.h +robot_time_build/CMakeFiles/robot_time.dir/src/rate.cpp.o: /home/duongtd/robotics_core/robot_time/src/rate.cpp + +robot_time_build/CMakeFiles/robot_time.dir/src/time.cpp.o: /home/duongtd/robotics_core/robot_time/include/robot/duration.h +robot_time_build/CMakeFiles/robot_time.dir/src/time.cpp.o: /home/duongtd/robotics_core/robot_time/include/robot/exception.h +robot_time_build/CMakeFiles/robot_time.dir/src/time.cpp.o: /home/duongtd/robotics_core/robot_time/include/robot/impl/time.h +robot_time_build/CMakeFiles/robot_time.dir/src/time.cpp.o: /home/duongtd/robotics_core/robot_time/include/robot/macros.h +robot_time_build/CMakeFiles/robot_time.dir/src/time.cpp.o: /home/duongtd/robotics_core/robot_time/include/robot/platform.h +robot_time_build/CMakeFiles/robot_time.dir/src/time.cpp.o: /home/duongtd/robotics_core/robot_time/include/robot/robot_time_decl.h +robot_time_build/CMakeFiles/robot_time.dir/src/time.cpp.o: /home/duongtd/robotics_core/robot_time/include/robot/time.h +robot_time_build/CMakeFiles/robot_time.dir/src/time.cpp.o: /home/duongtd/robotics_core/robot_time/src/time.cpp + diff --git a/sensor_msgs/test/robot_time_build/CMakeFiles/robot_time.dir/flags.make b/sensor_msgs/test/robot_time_build/CMakeFiles/robot_time.dir/flags.make new file mode 100644 index 0000000..c8b80f8 --- /dev/null +++ b/sensor_msgs/test/robot_time_build/CMakeFiles/robot_time.dir/flags.make @@ -0,0 +1,10 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 3.16 + +# compile CXX with /usr/bin/c++ +CXX_FLAGS = -std=c++17 + +CXX_DEFINES = + +CXX_INCLUDES = -I/home/duongtd/robotics_core/robot_time/include + diff --git a/sensor_msgs/test/robot_time_build/CMakeFiles/robot_time.dir/link.txt b/sensor_msgs/test/robot_time_build/CMakeFiles/robot_time.dir/link.txt new file mode 100644 index 0000000..4eb090b --- /dev/null +++ b/sensor_msgs/test/robot_time_build/CMakeFiles/robot_time.dir/link.txt @@ -0,0 +1,2 @@ +/usr/bin/ar qc librobot_time.a CMakeFiles/robot_time.dir/src/duration.cpp.o CMakeFiles/robot_time.dir/src/rate.cpp.o CMakeFiles/robot_time.dir/src/time.cpp.o +/usr/bin/ranlib librobot_time.a diff --git a/sensor_msgs/test/robot_time_build/CMakeFiles/robot_time.dir/progress.make b/sensor_msgs/test/robot_time_build/CMakeFiles/robot_time.dir/progress.make new file mode 100644 index 0000000..d038a63 --- /dev/null +++ b/sensor_msgs/test/robot_time_build/CMakeFiles/robot_time.dir/progress.make @@ -0,0 +1,5 @@ +CMAKE_PROGRESS_1 = 3 +CMAKE_PROGRESS_2 = 4 +CMAKE_PROGRESS_3 = 5 +CMAKE_PROGRESS_4 = 6 + diff --git a/sensor_msgs/test/robot_time_build/CMakeFiles/robot_time.dir/src/duration.cpp.o b/sensor_msgs/test/robot_time_build/CMakeFiles/robot_time.dir/src/duration.cpp.o new file mode 100644 index 0000000..18dd9da Binary files /dev/null and b/sensor_msgs/test/robot_time_build/CMakeFiles/robot_time.dir/src/duration.cpp.o differ diff --git a/sensor_msgs/test/robot_time_build/CMakeFiles/robot_time.dir/src/rate.cpp.o b/sensor_msgs/test/robot_time_build/CMakeFiles/robot_time.dir/src/rate.cpp.o new file mode 100644 index 0000000..ad62abd Binary files /dev/null and b/sensor_msgs/test/robot_time_build/CMakeFiles/robot_time.dir/src/rate.cpp.o differ diff --git a/sensor_msgs/test/robot_time_build/CMakeFiles/robot_time.dir/src/time.cpp.o b/sensor_msgs/test/robot_time_build/CMakeFiles/robot_time.dir/src/time.cpp.o new file mode 100644 index 0000000..13dad28 Binary files /dev/null and b/sensor_msgs/test/robot_time_build/CMakeFiles/robot_time.dir/src/time.cpp.o differ diff --git a/sensor_msgs/test/robot_time_build/CMakeFiles/robot_time_test.dir/CXX.includecache b/sensor_msgs/test/robot_time_build/CMakeFiles/robot_time_test.dir/CXX.includecache new file mode 100644 index 0000000..7df5867 --- /dev/null +++ b/sensor_msgs/test/robot_time_build/CMakeFiles/robot_time_test.dir/CXX.includecache @@ -0,0 +1,74 @@ +#IncludeRegexLine: ^[ ]*[#%][ ]*(include|import)[ ]*[<"]([^">]+)([">]) + +#IncludeRegexScan: ^.*$ + +#IncludeRegexComplain: ^$ + +#IncludeRegexTransform: + +/home/duongtd/robotics_core/robot_time/include/robot/duration.h +iostream +- +math.h +- +stdexcept +- +climits +- +stdint.h +- +robot_time_decl.h +/home/duongtd/robotics_core/robot_time/include/robot/robot_time_decl.h + +/home/duongtd/robotics_core/robot_time/include/robot/exception.h +stdexcept +- +string +- + +/home/duongtd/robotics_core/robot_time/include/robot/macros.h + +/home/duongtd/robotics_core/robot_time/include/robot/platform.h + +/home/duongtd/robotics_core/robot_time/include/robot/rate.h +robot/time.h +/home/duongtd/robotics_core/robot_time/include/robot/robot/time.h +robot_time_decl.h +/home/duongtd/robotics_core/robot_time/include/robot/robot_time_decl.h + +/home/duongtd/robotics_core/robot_time/include/robot/robot_time_decl.h +robot/macros.h +- + +/home/duongtd/robotics_core/robot_time/include/robot/time.h +robot/platform.h +- +iostream +- +cmath +- +robot/exception.h +- +duration.h +/home/duongtd/robotics_core/robot_time/include/robot/duration.h +robot_time_decl.h +/home/duongtd/robotics_core/robot_time/include/robot/robot_time_decl.h +sys/timeb.h +- +sys/time.h +- + +/home/duongtd/robotics_core/robot_time/test/time.cpp +limits +- +vector +- +gtest/gtest.h +- +robot/rate.h +- +robot/time.h +- +sys/time.h +- + diff --git a/sensor_msgs/test/robot_time_build/CMakeFiles/robot_time_test.dir/DependInfo.cmake b/sensor_msgs/test/robot_time_build/CMakeFiles/robot_time_test.dir/DependInfo.cmake new file mode 100644 index 0000000..0a0db08 --- /dev/null +++ b/sensor_msgs/test/robot_time_build/CMakeFiles/robot_time_test.dir/DependInfo.cmake @@ -0,0 +1,22 @@ +# The set of languages for which implicit dependencies are needed: +set(CMAKE_DEPENDS_LANGUAGES + "CXX" + ) +# The set of files for implicit dependencies of each language: +set(CMAKE_DEPENDS_CHECK_CXX + "/home/duongtd/robotics_core/robot_time/test/time.cpp" "/home/duongtd/robotics_core/common_msgs/sensor_msgs/test/robot_time_build/CMakeFiles/robot_time_test.dir/test/time.cpp.o" + ) +set(CMAKE_CXX_COMPILER_ID "GNU") + +# The include file search paths: +set(CMAKE_CXX_TARGET_INCLUDE_PATH + "/home/duongtd/robotics_core/robot_time/include" + ) + +# Targets to which this target links. +set(CMAKE_TARGET_LINKED_INFO_FILES + "/home/duongtd/robotics_core/common_msgs/sensor_msgs/test/robot_time_build/CMakeFiles/robot_time.dir/DependInfo.cmake" + ) + +# Fortran module output directory. +set(CMAKE_Fortran_TARGET_MODULE_DIR "") diff --git a/sensor_msgs/test/robot_time_build/CMakeFiles/robot_time_test.dir/build.make b/sensor_msgs/test/robot_time_build/CMakeFiles/robot_time_test.dir/build.make new file mode 100644 index 0000000..4131428 --- /dev/null +++ b/sensor_msgs/test/robot_time_build/CMakeFiles/robot_time_test.dir/build.make @@ -0,0 +1,102 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 3.16 + +# Delete rule output on recipe failure. +.DELETE_ON_ERROR: + + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + + +# Remove some rules from gmake that .SUFFIXES does not remove. +SUFFIXES = + +.SUFFIXES: .hpux_make_needs_suffix_list + + +# Suppress display of executed commands. +$(VERBOSE).SILENT: + + +# A target that is always out of date. +cmake_force: + +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /usr/bin/cmake + +# The command to remove a file. +RM = /usr/bin/cmake -E remove -f + +# Escaping for special characters. +EQUALS = = + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /home/duongtd/robotics_core/common_msgs/sensor_msgs + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /home/duongtd/robotics_core/common_msgs/sensor_msgs/test + +# Include any dependencies generated for this target. +include robot_time_build/CMakeFiles/robot_time_test.dir/depend.make + +# Include the progress variables for this target. +include robot_time_build/CMakeFiles/robot_time_test.dir/progress.make + +# Include the compile flags for this target's objects. +include robot_time_build/CMakeFiles/robot_time_test.dir/flags.make + +robot_time_build/CMakeFiles/robot_time_test.dir/test/time.cpp.o: robot_time_build/CMakeFiles/robot_time_test.dir/flags.make +robot_time_build/CMakeFiles/robot_time_test.dir/test/time.cpp.o: /home/duongtd/robotics_core/robot_time/test/time.cpp + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/home/duongtd/robotics_core/common_msgs/sensor_msgs/test/CMakeFiles --progress-num=$(CMAKE_PROGRESS_1) "Building CXX object robot_time_build/CMakeFiles/robot_time_test.dir/test/time.cpp.o" + cd /home/duongtd/robotics_core/common_msgs/sensor_msgs/test/robot_time_build && /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/robot_time_test.dir/test/time.cpp.o -c /home/duongtd/robotics_core/robot_time/test/time.cpp + +robot_time_build/CMakeFiles/robot_time_test.dir/test/time.cpp.i: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/robot_time_test.dir/test/time.cpp.i" + cd /home/duongtd/robotics_core/common_msgs/sensor_msgs/test/robot_time_build && /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /home/duongtd/robotics_core/robot_time/test/time.cpp > CMakeFiles/robot_time_test.dir/test/time.cpp.i + +robot_time_build/CMakeFiles/robot_time_test.dir/test/time.cpp.s: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/robot_time_test.dir/test/time.cpp.s" + cd /home/duongtd/robotics_core/common_msgs/sensor_msgs/test/robot_time_build && /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /home/duongtd/robotics_core/robot_time/test/time.cpp -o CMakeFiles/robot_time_test.dir/test/time.cpp.s + +# Object files for target robot_time_test +robot_time_test_OBJECTS = \ +"CMakeFiles/robot_time_test.dir/test/time.cpp.o" + +# External object files for target robot_time_test +robot_time_test_EXTERNAL_OBJECTS = + +robot_time_build/robot_time_test: robot_time_build/CMakeFiles/robot_time_test.dir/test/time.cpp.o +robot_time_build/robot_time_test: robot_time_build/CMakeFiles/robot_time_test.dir/build.make +robot_time_build/robot_time_test: robot_time_build/librobot_time.a +robot_time_build/robot_time_test: /usr/local/lib/libgtest.a +robot_time_build/robot_time_test: /usr/local/lib/libgtest_main.a +robot_time_build/robot_time_test: /usr/local/lib/libgtest.a +robot_time_build/robot_time_test: robot_time_build/CMakeFiles/robot_time_test.dir/link.txt + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --bold --progress-dir=/home/duongtd/robotics_core/common_msgs/sensor_msgs/test/CMakeFiles --progress-num=$(CMAKE_PROGRESS_2) "Linking CXX executable robot_time_test" + cd /home/duongtd/robotics_core/common_msgs/sensor_msgs/test/robot_time_build && $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/robot_time_test.dir/link.txt --verbose=$(VERBOSE) + +# Rule to build all files generated by this target. +robot_time_build/CMakeFiles/robot_time_test.dir/build: robot_time_build/robot_time_test + +.PHONY : robot_time_build/CMakeFiles/robot_time_test.dir/build + +robot_time_build/CMakeFiles/robot_time_test.dir/clean: + cd /home/duongtd/robotics_core/common_msgs/sensor_msgs/test/robot_time_build && $(CMAKE_COMMAND) -P CMakeFiles/robot_time_test.dir/cmake_clean.cmake +.PHONY : robot_time_build/CMakeFiles/robot_time_test.dir/clean + +robot_time_build/CMakeFiles/robot_time_test.dir/depend: + cd /home/duongtd/robotics_core/common_msgs/sensor_msgs/test && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/duongtd/robotics_core/common_msgs/sensor_msgs /home/duongtd/robotics_core/robot_time /home/duongtd/robotics_core/common_msgs/sensor_msgs/test /home/duongtd/robotics_core/common_msgs/sensor_msgs/test/robot_time_build /home/duongtd/robotics_core/common_msgs/sensor_msgs/test/robot_time_build/CMakeFiles/robot_time_test.dir/DependInfo.cmake --color=$(COLOR) +.PHONY : robot_time_build/CMakeFiles/robot_time_test.dir/depend + diff --git a/sensor_msgs/test/robot_time_build/CMakeFiles/robot_time_test.dir/cmake_clean.cmake b/sensor_msgs/test/robot_time_build/CMakeFiles/robot_time_test.dir/cmake_clean.cmake new file mode 100644 index 0000000..ff0b956 --- /dev/null +++ b/sensor_msgs/test/robot_time_build/CMakeFiles/robot_time_test.dir/cmake_clean.cmake @@ -0,0 +1,10 @@ +file(REMOVE_RECURSE + "CMakeFiles/robot_time_test.dir/test/time.cpp.o" + "robot_time_test" + "robot_time_test.pdb" +) + +# Per-language clean rules from dependency scanning. +foreach(lang CXX) + include(CMakeFiles/robot_time_test.dir/cmake_clean_${lang}.cmake OPTIONAL) +endforeach() diff --git a/sensor_msgs/test/robot_time_build/CMakeFiles/robot_time_test.dir/depend.internal b/sensor_msgs/test/robot_time_build/CMakeFiles/robot_time_test.dir/depend.internal new file mode 100644 index 0000000..2f153f2 --- /dev/null +++ b/sensor_msgs/test/robot_time_build/CMakeFiles/robot_time_test.dir/depend.internal @@ -0,0 +1,12 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 3.16 + +robot_time_build/CMakeFiles/robot_time_test.dir/test/time.cpp.o + /home/duongtd/robotics_core/robot_time/include/robot/duration.h + /home/duongtd/robotics_core/robot_time/include/robot/exception.h + /home/duongtd/robotics_core/robot_time/include/robot/macros.h + /home/duongtd/robotics_core/robot_time/include/robot/platform.h + /home/duongtd/robotics_core/robot_time/include/robot/rate.h + /home/duongtd/robotics_core/robot_time/include/robot/robot_time_decl.h + /home/duongtd/robotics_core/robot_time/include/robot/time.h + /home/duongtd/robotics_core/robot_time/test/time.cpp diff --git a/sensor_msgs/test/robot_time_build/CMakeFiles/robot_time_test.dir/depend.make b/sensor_msgs/test/robot_time_build/CMakeFiles/robot_time_test.dir/depend.make new file mode 100644 index 0000000..cbc56de --- /dev/null +++ b/sensor_msgs/test/robot_time_build/CMakeFiles/robot_time_test.dir/depend.make @@ -0,0 +1,12 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 3.16 + +robot_time_build/CMakeFiles/robot_time_test.dir/test/time.cpp.o: /home/duongtd/robotics_core/robot_time/include/robot/duration.h +robot_time_build/CMakeFiles/robot_time_test.dir/test/time.cpp.o: /home/duongtd/robotics_core/robot_time/include/robot/exception.h +robot_time_build/CMakeFiles/robot_time_test.dir/test/time.cpp.o: /home/duongtd/robotics_core/robot_time/include/robot/macros.h +robot_time_build/CMakeFiles/robot_time_test.dir/test/time.cpp.o: /home/duongtd/robotics_core/robot_time/include/robot/platform.h +robot_time_build/CMakeFiles/robot_time_test.dir/test/time.cpp.o: /home/duongtd/robotics_core/robot_time/include/robot/rate.h +robot_time_build/CMakeFiles/robot_time_test.dir/test/time.cpp.o: /home/duongtd/robotics_core/robot_time/include/robot/robot_time_decl.h +robot_time_build/CMakeFiles/robot_time_test.dir/test/time.cpp.o: /home/duongtd/robotics_core/robot_time/include/robot/time.h +robot_time_build/CMakeFiles/robot_time_test.dir/test/time.cpp.o: /home/duongtd/robotics_core/robot_time/test/time.cpp + diff --git a/sensor_msgs/test/robot_time_build/CMakeFiles/robot_time_test.dir/flags.make b/sensor_msgs/test/robot_time_build/CMakeFiles/robot_time_test.dir/flags.make new file mode 100644 index 0000000..c8b80f8 --- /dev/null +++ b/sensor_msgs/test/robot_time_build/CMakeFiles/robot_time_test.dir/flags.make @@ -0,0 +1,10 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 3.16 + +# compile CXX with /usr/bin/c++ +CXX_FLAGS = -std=c++17 + +CXX_DEFINES = + +CXX_INCLUDES = -I/home/duongtd/robotics_core/robot_time/include + diff --git a/sensor_msgs/test/robot_time_build/CMakeFiles/robot_time_test.dir/link.txt b/sensor_msgs/test/robot_time_build/CMakeFiles/robot_time_test.dir/link.txt new file mode 100644 index 0000000..ec8f8e5 --- /dev/null +++ b/sensor_msgs/test/robot_time_build/CMakeFiles/robot_time_test.dir/link.txt @@ -0,0 +1 @@ +/usr/bin/c++ CMakeFiles/robot_time_test.dir/test/time.cpp.o -o robot_time_test librobot_time.a /usr/local/lib/libgtest.a /usr/local/lib/libgtest_main.a /usr/local/lib/libgtest.a -lpthread diff --git a/sensor_msgs/test/robot_time_build/CMakeFiles/robot_time_test.dir/progress.make b/sensor_msgs/test/robot_time_build/CMakeFiles/robot_time_test.dir/progress.make new file mode 100644 index 0000000..72bb7dd --- /dev/null +++ b/sensor_msgs/test/robot_time_build/CMakeFiles/robot_time_test.dir/progress.make @@ -0,0 +1,3 @@ +CMAKE_PROGRESS_1 = 7 +CMAKE_PROGRESS_2 = 8 + diff --git a/sensor_msgs/test/robot_time_build/CMakeFiles/robot_time_test.dir/test/time.cpp.o b/sensor_msgs/test/robot_time_build/CMakeFiles/robot_time_test.dir/test/time.cpp.o new file mode 100644 index 0000000..fc32ded Binary files /dev/null and b/sensor_msgs/test/robot_time_build/CMakeFiles/robot_time_test.dir/test/time.cpp.o differ diff --git a/sensor_msgs/test/robot_time_build/Makefile b/sensor_msgs/test/robot_time_build/Makefile new file mode 100644 index 0000000..eb22d2d --- /dev/null +++ b/sensor_msgs/test/robot_time_build/Makefile @@ -0,0 +1,382 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 3.16 + +# Default target executed when no arguments are given to make. +default_target: all + +.PHONY : default_target + +# Allow only one "make -f Makefile2" at a time, but pass parallelism. +.NOTPARALLEL: + + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + + +# Remove some rules from gmake that .SUFFIXES does not remove. +SUFFIXES = + +.SUFFIXES: .hpux_make_needs_suffix_list + + +# Suppress display of executed commands. +$(VERBOSE).SILENT: + + +# A target that is always out of date. +cmake_force: + +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /usr/bin/cmake + +# The command to remove a file. +RM = /usr/bin/cmake -E remove -f + +# Escaping for special characters. +EQUALS = = + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /home/duongtd/robotics_core/common_msgs/sensor_msgs + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /home/duongtd/robotics_core/common_msgs/sensor_msgs/test + +#============================================================================= +# Targets provided globally by CMake. + +# Special rule for the target install/strip +install/strip: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..." + /usr/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake +.PHONY : install/strip + +# Special rule for the target install/strip +install/strip/fast: preinstall/fast + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..." + /usr/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake +.PHONY : install/strip/fast + +# Special rule for the target install/local +install/local: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..." + /usr/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake +.PHONY : install/local + +# Special rule for the target install/local +install/local/fast: preinstall/fast + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..." + /usr/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake +.PHONY : install/local/fast + +# Special rule for the target install +install: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /usr/bin/cmake -P cmake_install.cmake +.PHONY : install + +# Special rule for the target install +install/fast: preinstall/fast + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /usr/bin/cmake -P cmake_install.cmake +.PHONY : install/fast + +# Special rule for the target list_install_components +list_install_components: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\"" +.PHONY : list_install_components + +# Special rule for the target list_install_components +list_install_components/fast: list_install_components + +.PHONY : list_install_components/fast + +# Special rule for the target rebuild_cache +rebuild_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." + /usr/bin/cmake -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : rebuild_cache + +# Special rule for the target rebuild_cache +rebuild_cache/fast: rebuild_cache + +.PHONY : rebuild_cache/fast + +# Special rule for the target edit_cache +edit_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "No interactive CMake dialog available..." + /usr/bin/cmake -E echo No\ interactive\ CMake\ dialog\ available. +.PHONY : edit_cache + +# Special rule for the target edit_cache +edit_cache/fast: edit_cache + +.PHONY : edit_cache/fast + +# The main all target +all: cmake_check_build_system + cd /home/duongtd/robotics_core/common_msgs/sensor_msgs/test && $(CMAKE_COMMAND) -E cmake_progress_start /home/duongtd/robotics_core/common_msgs/sensor_msgs/test/CMakeFiles /home/duongtd/robotics_core/common_msgs/sensor_msgs/test/robot_time_build/CMakeFiles/progress.marks + cd /home/duongtd/robotics_core/common_msgs/sensor_msgs/test && $(MAKE) -f CMakeFiles/Makefile2 robot_time_build/all + $(CMAKE_COMMAND) -E cmake_progress_start /home/duongtd/robotics_core/common_msgs/sensor_msgs/test/CMakeFiles 0 +.PHONY : all + +# The main clean target +clean: + cd /home/duongtd/robotics_core/common_msgs/sensor_msgs/test && $(MAKE) -f CMakeFiles/Makefile2 robot_time_build/clean +.PHONY : clean + +# The main clean target +clean/fast: clean + +.PHONY : clean/fast + +# Prepare targets for installation. +preinstall: all + cd /home/duongtd/robotics_core/common_msgs/sensor_msgs/test && $(MAKE) -f CMakeFiles/Makefile2 robot_time_build/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd /home/duongtd/robotics_core/common_msgs/sensor_msgs/test && $(MAKE) -f CMakeFiles/Makefile2 robot_time_build/preinstall +.PHONY : preinstall/fast + +# clear depends +depend: + cd /home/duongtd/robotics_core/common_msgs/sensor_msgs/test && $(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 +.PHONY : depend + +# Convenience name for target. +robot_time_build/CMakeFiles/robot_duration_test.dir/rule: + cd /home/duongtd/robotics_core/common_msgs/sensor_msgs/test && $(MAKE) -f CMakeFiles/Makefile2 robot_time_build/CMakeFiles/robot_duration_test.dir/rule +.PHONY : robot_time_build/CMakeFiles/robot_duration_test.dir/rule + +# Convenience name for target. +robot_duration_test: robot_time_build/CMakeFiles/robot_duration_test.dir/rule + +.PHONY : robot_duration_test + +# fast build rule for target. +robot_duration_test/fast: + cd /home/duongtd/robotics_core/common_msgs/sensor_msgs/test && $(MAKE) -f robot_time_build/CMakeFiles/robot_duration_test.dir/build.make robot_time_build/CMakeFiles/robot_duration_test.dir/build +.PHONY : robot_duration_test/fast + +# Convenience name for target. +robot_time_build/CMakeFiles/robot_time_test.dir/rule: + cd /home/duongtd/robotics_core/common_msgs/sensor_msgs/test && $(MAKE) -f CMakeFiles/Makefile2 robot_time_build/CMakeFiles/robot_time_test.dir/rule +.PHONY : robot_time_build/CMakeFiles/robot_time_test.dir/rule + +# Convenience name for target. +robot_time_test: robot_time_build/CMakeFiles/robot_time_test.dir/rule + +.PHONY : robot_time_test + +# fast build rule for target. +robot_time_test/fast: + cd /home/duongtd/robotics_core/common_msgs/sensor_msgs/test && $(MAKE) -f robot_time_build/CMakeFiles/robot_time_test.dir/build.make robot_time_build/CMakeFiles/robot_time_test.dir/build +.PHONY : robot_time_test/fast + +# Convenience name for target. +robot_time_build/CMakeFiles/robot_time.dir/rule: + cd /home/duongtd/robotics_core/common_msgs/sensor_msgs/test && $(MAKE) -f CMakeFiles/Makefile2 robot_time_build/CMakeFiles/robot_time.dir/rule +.PHONY : robot_time_build/CMakeFiles/robot_time.dir/rule + +# Convenience name for target. +robot_time: robot_time_build/CMakeFiles/robot_time.dir/rule + +.PHONY : robot_time + +# fast build rule for target. +robot_time/fast: + cd /home/duongtd/robotics_core/common_msgs/sensor_msgs/test && $(MAKE) -f robot_time_build/CMakeFiles/robot_time.dir/build.make robot_time_build/CMakeFiles/robot_time.dir/build +.PHONY : robot_time/fast + +src/duration.o: src/duration.cpp.o + +.PHONY : src/duration.o + +# target to build an object file +src/duration.cpp.o: + cd /home/duongtd/robotics_core/common_msgs/sensor_msgs/test && $(MAKE) -f robot_time_build/CMakeFiles/robot_time.dir/build.make robot_time_build/CMakeFiles/robot_time.dir/src/duration.cpp.o +.PHONY : src/duration.cpp.o + +src/duration.i: src/duration.cpp.i + +.PHONY : src/duration.i + +# target to preprocess a source file +src/duration.cpp.i: + cd /home/duongtd/robotics_core/common_msgs/sensor_msgs/test && $(MAKE) -f robot_time_build/CMakeFiles/robot_time.dir/build.make robot_time_build/CMakeFiles/robot_time.dir/src/duration.cpp.i +.PHONY : src/duration.cpp.i + +src/duration.s: src/duration.cpp.s + +.PHONY : src/duration.s + +# target to generate assembly for a file +src/duration.cpp.s: + cd /home/duongtd/robotics_core/common_msgs/sensor_msgs/test && $(MAKE) -f robot_time_build/CMakeFiles/robot_time.dir/build.make robot_time_build/CMakeFiles/robot_time.dir/src/duration.cpp.s +.PHONY : src/duration.cpp.s + +src/rate.o: src/rate.cpp.o + +.PHONY : src/rate.o + +# target to build an object file +src/rate.cpp.o: + cd /home/duongtd/robotics_core/common_msgs/sensor_msgs/test && $(MAKE) -f robot_time_build/CMakeFiles/robot_time.dir/build.make robot_time_build/CMakeFiles/robot_time.dir/src/rate.cpp.o +.PHONY : src/rate.cpp.o + +src/rate.i: src/rate.cpp.i + +.PHONY : src/rate.i + +# target to preprocess a source file +src/rate.cpp.i: + cd /home/duongtd/robotics_core/common_msgs/sensor_msgs/test && $(MAKE) -f robot_time_build/CMakeFiles/robot_time.dir/build.make robot_time_build/CMakeFiles/robot_time.dir/src/rate.cpp.i +.PHONY : src/rate.cpp.i + +src/rate.s: src/rate.cpp.s + +.PHONY : src/rate.s + +# target to generate assembly for a file +src/rate.cpp.s: + cd /home/duongtd/robotics_core/common_msgs/sensor_msgs/test && $(MAKE) -f robot_time_build/CMakeFiles/robot_time.dir/build.make robot_time_build/CMakeFiles/robot_time.dir/src/rate.cpp.s +.PHONY : src/rate.cpp.s + +src/time.o: src/time.cpp.o + +.PHONY : src/time.o + +# target to build an object file +src/time.cpp.o: + cd /home/duongtd/robotics_core/common_msgs/sensor_msgs/test && $(MAKE) -f robot_time_build/CMakeFiles/robot_time.dir/build.make robot_time_build/CMakeFiles/robot_time.dir/src/time.cpp.o +.PHONY : src/time.cpp.o + +src/time.i: src/time.cpp.i + +.PHONY : src/time.i + +# target to preprocess a source file +src/time.cpp.i: + cd /home/duongtd/robotics_core/common_msgs/sensor_msgs/test && $(MAKE) -f robot_time_build/CMakeFiles/robot_time.dir/build.make robot_time_build/CMakeFiles/robot_time.dir/src/time.cpp.i +.PHONY : src/time.cpp.i + +src/time.s: src/time.cpp.s + +.PHONY : src/time.s + +# target to generate assembly for a file +src/time.cpp.s: + cd /home/duongtd/robotics_core/common_msgs/sensor_msgs/test && $(MAKE) -f robot_time_build/CMakeFiles/robot_time.dir/build.make robot_time_build/CMakeFiles/robot_time.dir/src/time.cpp.s +.PHONY : src/time.cpp.s + +test/duration.o: test/duration.cpp.o + +.PHONY : test/duration.o + +# target to build an object file +test/duration.cpp.o: + cd /home/duongtd/robotics_core/common_msgs/sensor_msgs/test && $(MAKE) -f robot_time_build/CMakeFiles/robot_duration_test.dir/build.make robot_time_build/CMakeFiles/robot_duration_test.dir/test/duration.cpp.o +.PHONY : test/duration.cpp.o + +test/duration.i: test/duration.cpp.i + +.PHONY : test/duration.i + +# target to preprocess a source file +test/duration.cpp.i: + cd /home/duongtd/robotics_core/common_msgs/sensor_msgs/test && $(MAKE) -f robot_time_build/CMakeFiles/robot_duration_test.dir/build.make robot_time_build/CMakeFiles/robot_duration_test.dir/test/duration.cpp.i +.PHONY : test/duration.cpp.i + +test/duration.s: test/duration.cpp.s + +.PHONY : test/duration.s + +# target to generate assembly for a file +test/duration.cpp.s: + cd /home/duongtd/robotics_core/common_msgs/sensor_msgs/test && $(MAKE) -f robot_time_build/CMakeFiles/robot_duration_test.dir/build.make robot_time_build/CMakeFiles/robot_duration_test.dir/test/duration.cpp.s +.PHONY : test/duration.cpp.s + +test/time.o: test/time.cpp.o + +.PHONY : test/time.o + +# target to build an object file +test/time.cpp.o: + cd /home/duongtd/robotics_core/common_msgs/sensor_msgs/test && $(MAKE) -f robot_time_build/CMakeFiles/robot_time_test.dir/build.make robot_time_build/CMakeFiles/robot_time_test.dir/test/time.cpp.o +.PHONY : test/time.cpp.o + +test/time.i: test/time.cpp.i + +.PHONY : test/time.i + +# target to preprocess a source file +test/time.cpp.i: + cd /home/duongtd/robotics_core/common_msgs/sensor_msgs/test && $(MAKE) -f robot_time_build/CMakeFiles/robot_time_test.dir/build.make robot_time_build/CMakeFiles/robot_time_test.dir/test/time.cpp.i +.PHONY : test/time.cpp.i + +test/time.s: test/time.cpp.s + +.PHONY : test/time.s + +# target to generate assembly for a file +test/time.cpp.s: + cd /home/duongtd/robotics_core/common_msgs/sensor_msgs/test && $(MAKE) -f robot_time_build/CMakeFiles/robot_time_test.dir/build.make robot_time_build/CMakeFiles/robot_time_test.dir/test/time.cpp.s +.PHONY : test/time.cpp.s + +# Help Target +help: + @echo "The following are some of the valid targets for this Makefile:" + @echo "... all (the default if no target is provided)" + @echo "... clean" + @echo "... depend" + @echo "... install/strip" + @echo "... install/local" + @echo "... install" + @echo "... list_install_components" + @echo "... rebuild_cache" + @echo "... edit_cache" + @echo "... robot_duration_test" + @echo "... robot_time_test" + @echo "... robot_time" + @echo "... src/duration.o" + @echo "... src/duration.i" + @echo "... src/duration.s" + @echo "... src/rate.o" + @echo "... src/rate.i" + @echo "... src/rate.s" + @echo "... src/time.o" + @echo "... src/time.i" + @echo "... src/time.s" + @echo "... test/duration.o" + @echo "... test/duration.i" + @echo "... test/duration.s" + @echo "... test/time.o" + @echo "... test/time.i" + @echo "... test/time.s" +.PHONY : help + + + +#============================================================================= +# Special targets to cleanup operation of make. + +# Special rule to run CMake to check the build system integrity. +# No rule that depends on this can have commands that come from listfiles +# because they might be regenerated. +cmake_check_build_system: + cd /home/duongtd/robotics_core/common_msgs/sensor_msgs/test && $(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system + diff --git a/sensor_msgs/test/robot_time_build/cmake_install.cmake b/sensor_msgs/test/robot_time_build/cmake_install.cmake new file mode 100644 index 0000000..8c97ba7 --- /dev/null +++ b/sensor_msgs/test/robot_time_build/cmake_install.cmake @@ -0,0 +1,66 @@ +# Install script for directory: /home/duongtd/robotics_core/robot_time + +# Set the install prefix +if(NOT DEFINED CMAKE_INSTALL_PREFIX) + set(CMAKE_INSTALL_PREFIX "/usr/local") +endif() +string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") + +# Set the install configuration name. +if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) + if(BUILD_TYPE) + string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" + CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") + else() + set(CMAKE_INSTALL_CONFIG_NAME "") + endif() + message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") +endif() + +# Set the component getting installed. +if(NOT CMAKE_INSTALL_COMPONENT) + if(COMPONENT) + message(STATUS "Install component: \"${COMPONENT}\"") + set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") + else() + set(CMAKE_INSTALL_COMPONENT) + endif() +endif() + +# Install shared libraries without execute permission? +if(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE) + set(CMAKE_INSTALL_SO_NO_EXE "1") +endif() + +# Is this installation the result of a crosscompile? +if(NOT DEFINED CMAKE_CROSSCOMPILING) + set(CMAKE_CROSSCOMPILING "FALSE") +endif() + +if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT) + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/lib" TYPE STATIC_LIBRARY FILES "/home/duongtd/robotics_core/common_msgs/sensor_msgs/test/robot_time_build/librobot_time.a") +endif() + +if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT) + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/include" TYPE DIRECTORY FILES "/home/duongtd/robotics_core/robot_time/include/" FILES_MATCHING REGEX "/[^/]*\\.h$") +endif() + +if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT) + if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/lib/cmake/robot_time/robot_timeTargets.cmake") + file(DIFFERENT EXPORT_FILE_CHANGED FILES + "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/lib/cmake/robot_time/robot_timeTargets.cmake" + "/home/duongtd/robotics_core/common_msgs/sensor_msgs/test/robot_time_build/CMakeFiles/Export/lib/cmake/robot_time/robot_timeTargets.cmake") + if(EXPORT_FILE_CHANGED) + file(GLOB OLD_CONFIG_FILES "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/lib/cmake/robot_time/robot_timeTargets-*.cmake") + if(OLD_CONFIG_FILES) + message(STATUS "Old export file \"$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/lib/cmake/robot_time/robot_timeTargets.cmake\" will be replaced. Removing files [${OLD_CONFIG_FILES}].") + file(REMOVE ${OLD_CONFIG_FILES}) + endif() + endif() + endif() + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/lib/cmake/robot_time" TYPE FILE FILES "/home/duongtd/robotics_core/common_msgs/sensor_msgs/test/robot_time_build/CMakeFiles/Export/lib/cmake/robot_time/robot_timeTargets.cmake") + if("${CMAKE_INSTALL_CONFIG_NAME}" MATCHES "^()$") + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/lib/cmake/robot_time" TYPE FILE FILES "/home/duongtd/robotics_core/common_msgs/sensor_msgs/test/robot_time_build/CMakeFiles/Export/lib/cmake/robot_time/robot_timeTargets-noconfig.cmake") + endif() +endif() + diff --git a/sensor_msgs/test/robot_time_build/librobot_time.a b/sensor_msgs/test/robot_time_build/librobot_time.a new file mode 100644 index 0000000..f2dd6ad Binary files /dev/null and b/sensor_msgs/test/robot_time_build/librobot_time.a differ diff --git a/sensor_msgs/test/robot_time_build/robot_duration_test b/sensor_msgs/test/robot_time_build/robot_duration_test new file mode 100755 index 0000000..ce66586 Binary files /dev/null and b/sensor_msgs/test/robot_time_build/robot_duration_test differ diff --git a/sensor_msgs/test/robot_time_build/robot_time_test b/sensor_msgs/test/robot_time_build/robot_time_test new file mode 100755 index 0000000..eed7deb Binary files /dev/null and b/sensor_msgs/test/robot_time_build/robot_time_test differ diff --git a/sensor_msgs/test/std_msgs_build/CMakeFiles/progress.marks b/sensor_msgs/test/std_msgs_build/CMakeFiles/progress.marks index 573541a..45a4fb7 100644 --- a/sensor_msgs/test/std_msgs_build/CMakeFiles/progress.marks +++ b/sensor_msgs/test/std_msgs_build/CMakeFiles/progress.marks @@ -1 +1 @@ -0 +8 diff --git a/sensor_msgs/test/std_msgs_build/Makefile b/sensor_msgs/test/std_msgs_build/Makefile index 8fb495c..f524e51 100644 --- a/sensor_msgs/test/std_msgs_build/Makefile +++ b/sensor_msgs/test/std_msgs_build/Makefile @@ -56,6 +56,52 @@ CMAKE_BINARY_DIR = /home/duongtd/robotics_core/common_msgs/sensor_msgs/test #============================================================================= # Targets provided globally by CMake. +# Special rule for the target install/strip +install/strip: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..." + /usr/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake +.PHONY : install/strip + +# Special rule for the target install/strip +install/strip/fast: preinstall/fast + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..." + /usr/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake +.PHONY : install/strip/fast + +# Special rule for the target install/local +install/local: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..." + /usr/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake +.PHONY : install/local + +# Special rule for the target install/local +install/local/fast: preinstall/fast + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..." + /usr/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake +.PHONY : install/local/fast + +# Special rule for the target install +install: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /usr/bin/cmake -P cmake_install.cmake +.PHONY : install + +# Special rule for the target install +install/fast: preinstall/fast + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /usr/bin/cmake -P cmake_install.cmake +.PHONY : install/fast + +# Special rule for the target list_install_components +list_install_components: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\"" +.PHONY : list_install_components + +# Special rule for the target list_install_components +list_install_components/fast: list_install_components + +.PHONY : list_install_components/fast + # Special rule for the target rebuild_cache rebuild_cache: @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." @@ -116,6 +162,10 @@ help: @echo "... all (the default if no target is provided)" @echo "... clean" @echo "... depend" + @echo "... install/strip" + @echo "... install/local" + @echo "... install" + @echo "... list_install_components" @echo "... rebuild_cache" @echo "... edit_cache" .PHONY : help diff --git a/sensor_msgs/test/std_msgs_build/cmake_install.cmake b/sensor_msgs/test/std_msgs_build/cmake_install.cmake index da51daa..3cc2a29 100644 --- a/sensor_msgs/test/std_msgs_build/cmake_install.cmake +++ b/sensor_msgs/test/std_msgs_build/cmake_install.cmake @@ -37,3 +37,9 @@ if(NOT DEFINED CMAKE_CROSSCOMPILING) set(CMAKE_CROSSCOMPILING "FALSE") endif() +if(NOT CMAKE_INSTALL_LOCAL_ONLY) + # Include the install script for each subdirectory. + include("/home/duongtd/robotics_core/common_msgs/sensor_msgs/test/robot_time_build/cmake_install.cmake") + +endif() + diff --git a/sensor_msgs/test/test_battery_state b/sensor_msgs/test/test_battery_state index 530077a..e569d87 100755 Binary files a/sensor_msgs/test/test_battery_state and b/sensor_msgs/test/test_battery_state differ diff --git a/std_msgs/CMakeLists.txt b/std_msgs/CMakeLists.txt index 2171236..4286c0e 100644 --- a/std_msgs/CMakeLists.txt +++ b/std_msgs/CMakeLists.txt @@ -4,7 +4,8 @@ project(std_msgs) set(CMAKE_CXX_STANDARD 17) if (NOT TARGET robot_time) - add_subdirectory(${CMAKE_SOURCE_DIR}/../robot_time ${CMAKE_BINARY_DIR}/robot_time_build) + # add_subdirectory(${CMAKE_SOURCE_DIR}/../robot_time ${CMAKE_BINARY_DIR}/robot_time_build) + add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/../../robot_time ${CMAKE_BINARY_DIR}/robot_time_build) endif() add_library(std_msgs INTERFACE)