diff --git a/.gitmodules b/.gitmodules index ccc5272..70bf035 100644 --- a/.gitmodules +++ b/.gitmodules @@ -4,6 +4,7 @@ [submodule "src/Libraries/costmap_2d"] path = src/Libraries/costmap_2d url = https://git.pnkr.asia/DuongTD/costmap_2d.git + branch = dev_cam_intel [submodule "src/Libraries/geometry2"] path = src/Libraries/geometry2 url = https://git.pnkr.asia/DuongTD/geometry2.git diff --git a/src/Algorithms/Packages/global_planners/dock_planner b/src/Algorithms/Packages/global_planners/dock_planner index 539fc5d..a301987 160000 --- a/src/Algorithms/Packages/global_planners/dock_planner +++ b/src/Algorithms/Packages/global_planners/dock_planner @@ -1 +1 @@ -Subproject commit 539fc5da162c533bad2860105521f55995d6f56a +Subproject commit a301987808bcd413063407688b6966921b885a35 diff --git a/src/Algorithms/Packages/local_planners/stanley_local_planner b/src/Algorithms/Packages/local_planners/stanley_local_planner index 5eb4e06..dbc6701 160000 --- a/src/Algorithms/Packages/local_planners/stanley_local_planner +++ b/src/Algorithms/Packages/local_planners/stanley_local_planner @@ -1 +1 @@ -Subproject commit 5eb4e068d1cd71b451796adc3751dc1922aaed1f +Subproject commit dbc67019627b4fb0de3c399eba5fd63a16878b9a diff --git a/src/Libraries/common_msgs b/src/Libraries/common_msgs index 0313fe6..a07145a 160000 --- a/src/Libraries/common_msgs +++ b/src/Libraries/common_msgs @@ -1 +1 @@ -Subproject commit 0313fe6aa2c2fb87b5e792d9d804f0b0f4b60cb8 +Subproject commit a07145a8d6ef95ee7fb21ea8d2ce3db8f089c0f8 diff --git a/src/Libraries/costmap_2d b/src/Libraries/costmap_2d index 9f7e2f8..3196a19 160000 --- a/src/Libraries/costmap_2d +++ b/src/Libraries/costmap_2d @@ -1 +1 @@ -Subproject commit 9f7e2f82f11ac1401cc94ff831d9d3e18921a8a7 +Subproject commit 3196a1904046a0f53e8d56fad5393703365e9d06 diff --git a/src/Libraries/geometry2 b/src/Libraries/geometry2 index 8241714..c0406ef 160000 --- a/src/Libraries/geometry2 +++ b/src/Libraries/geometry2 @@ -1 +1 @@ -Subproject commit 82417149e868dc7c322bcff7109df8725da2eed5 +Subproject commit c0406efbda168c554bc5380b01a8539466fecd26 diff --git a/src/Libraries/laser_geometry b/src/Libraries/laser_geometry index 526c00a..5ba4f5a 160000 --- a/src/Libraries/laser_geometry +++ b/src/Libraries/laser_geometry @@ -1 +1 @@ -Subproject commit 526c00a8170398144babaca0101e767a3e1b806c +Subproject commit 5ba4f5a44b85a7172530791dcebb4b7f471d87a4 diff --git a/src/Libraries/robot_time b/src/Libraries/robot_time index 75075a3..8c1abce 160000 --- a/src/Libraries/robot_time +++ b/src/Libraries/robot_time @@ -1 +1 @@ -Subproject commit 75075a34983c358f56f3b91e64754b53850a8b9c +Subproject commit 8c1abcec640c24a2629567ba57e0de5afca586fe diff --git a/src/Libraries/voxel_grid b/src/Libraries/voxel_grid index 64983bc..081c520 160000 --- a/src/Libraries/voxel_grid +++ b/src/Libraries/voxel_grid @@ -1 +1 @@ -Subproject commit 64983bc6f748ba8a809cfa439882be73b93552e6 +Subproject commit 081c520b8a1a9d73e11c305d29b558ad1346d5ac diff --git a/src/Navigations/Libraries/nav_grid/CMakeLists.txt b/src/Navigations/Libraries/nav_grid/CMakeLists.txt index c1f3d05..6c75965 100755 --- a/src/Navigations/Libraries/nav_grid/CMakeLists.txt +++ b/src/Navigations/Libraries/nav_grid/CMakeLists.txt @@ -134,11 +134,17 @@ endif() # ======================================================== # Test executables # ======================================================== -if(GTest_FOUND OR GTEST_FOUND) +# Tests are a development-machine concern: a catkin workspace is where they run, +# while the standalone CMake build is the robot deployment path and must not +# produce test executables. Force with -DBUILD_NAV_GRID_TESTS=ON to build them +# from a standalone build. +option(BUILD_NAV_GRID_TESTS "Build the nav_grid unit tests" ${BUILDING_WITH_CATKIN}) + +if(BUILD_NAV_GRID_TESTS AND (GTest_FOUND OR GTEST_FOUND)) enable_testing() find_package(Threads REQUIRED) - if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/test/utest.cpp) + if(BUILD_NAV_GRID_TESTS AND EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/test/utest.cpp) add_executable(${PROJECT_NAME}_test test/utest.cpp) target_link_libraries(${PROJECT_NAME}_test PRIVATE ${PROJECT_NAME} diff --git a/src/Navigations/Packages/move_base2 b/src/Navigations/Packages/move_base2 index fd0249d..31c5b21 160000 --- a/src/Navigations/Packages/move_base2 +++ b/src/Navigations/Packages/move_base2 @@ -1 +1 @@ -Subproject commit fd0249d3d09bce12c4c692d4195854dddf7d9e7c +Subproject commit 31c5b218cbb5af9f6000215dd94da973e1000557