Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
turn off roadway_objects as we don't use anymore
Browse files Browse the repository at this point in the history
MishkaMN committed Nov 27, 2024
1 parent c105afc commit 56f3417
Showing 3 changed files with 15 additions and 19 deletions.
12 changes: 6 additions & 6 deletions roadway_objects/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -60,14 +60,14 @@ ament_auto_add_executable(roadway_objects_node
rclcpp_components_register_nodes(roadway_objects
"roadway_objects::RoadwayObjectsNode"
)
# Turned off as we don't use this package actively anymore. Enable and fix when we use it again.
# if(roadway_objects_BUILD_TESTS)

if(roadway_objects_BUILD_TESTS)
# add_launch_test(test/roadway_objects_no_map_launch_test.py)
# add_launch_test(test/roadway_objects_empty_map_launch_test.py)
# add_launch_test(test/roadway_objects_regular_map_launch_test.py)

add_launch_test(test/roadway_objects_no_map_launch_test.py)
add_launch_test(test/roadway_objects_empty_map_launch_test.py)
add_launch_test(test/roadway_objects_regular_map_launch_test.py)

endif()
# endif()

ament_auto_package(
INSTALL_TO_SHARE
21 changes: 9 additions & 12 deletions roadway_objects/dependencies.cmake
Original file line number Diff line number Diff line change
@@ -17,19 +17,16 @@
# for each dependency.
ament_auto_find_build_dependencies()

if(roadway_objects_BUILD_TESTS)
# These CMake commands were added to ament_cmake_auto in ROS 2 Humble. Until
# CARMA supports ROS 2 Humble, we will use package-local copies.
include(cmake/ament_auto_find_test_dependencies.cmake)
include(cmake/ament_auto_add_gtest.cmake)
# Turned off as we don't use this package actively anymore. Enable and fix when we use it again.

ament_auto_find_test_dependencies()
# if(roadway_objects_BUILD_TESTS)
# ament_auto_find_test_dependencies()

list(APPEND AMENT_LINT_AUTO_EXCLUDE
ament_cmake_uncrustify # Using clang-format instead
)
# list(APPEND AMENT_LINT_AUTO_EXCLUDE
# ament_cmake_uncrustify # Using clang-format instead
# )

set(ament_cmake_clang_format_CONFIG_FILE ${PROJECT_SOURCE_DIR}/.clang-format)
# set(ament_cmake_clang_format_CONFIG_FILE ${PROJECT_SOURCE_DIR}/.clang-format)

ament_lint_auto_find_test_dependencies()
endif()
# ament_lint_auto_find_test_dependencies()
# endif()
1 change: 0 additions & 1 deletion roadway_objects/package.xml
Original file line number Diff line number Diff line change
@@ -40,7 +40,6 @@ limitations under the License.
<depend>tf2_geometry_msgs</depend>

<test_depend>ament_lint_auto</test_depend>
<test_depend>ament_lint_common</test_depend>
<test_depend>ament_cmake_clang_format</test_depend>
<test_depend>ament_cmake_gtest</test_depend>
<test_depend>launch_testing_ament_cmake</test_depend>

0 comments on commit 56f3417

Please sign in to comment.