Skip to content

Commit

Permalink
fix: removed unnecessary dependencies (#214)
Browse files Browse the repository at this point in the history
* fix: removed unnecessary dependencies

Signed-off-by: Kenzo Lobos-Tsunekawa <[email protected]>

* chore: we actually needed opencv

Signed-off-by: Kenzo Lobos-Tsunekawa <[email protected]>

* fix: deleted boost from the cmakelist

Signed-off-by: Kenzo Lobos-Tsunekawa <[email protected]>

---------

Signed-off-by: Kenzo Lobos-Tsunekawa <[email protected]>
  • Loading branch information
knzo25 authored Dec 23, 2024
1 parent 154d8dd commit 8baa9e5
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 24 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,12 @@ find_package(pybind11 REQUIRED)

autoware_package()

# These need to be called after autoware_package to avoid being overwritten
find_package(Boost REQUIRED COMPONENTS system serialization filesystem)

# Optimizer as a library
ament_auto_add_library(${PROJECT_NAME} SHARED
src/ceres_camera_intrinsics_optimizer.cpp
)

target_link_libraries(${PROJECT_NAME}
${Boost_LIBRARIES}
${OpenCV_LIBS}
${CERES_LIBRARIES}
)
Expand All @@ -47,7 +43,6 @@ ament_auto_add_executable(${PROJECT_NAME}_test
)

target_link_libraries(${PROJECT_NAME}_test
${Boost_LIBRARIES}
${OpenCV_LIBS}
${CERES_LIBRARIES}
${PROJECT_NAME}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<name>ceres_intrinsic_camera_calibrator</name>
<version>0.0.1</version>
<description>The ceres_intrinsic_camera_calibrator package</description>
<maintainer email="[email protected]">Kenzo Lobos Tsunekawa</maintainer>
<maintainer email="[email protected]">Kenzo Lobos-Tsunekawa</maintainer>

<license>BSD</license>

Expand All @@ -13,29 +13,12 @@

<build_depend>autoware_cmake</build_depend>

<depend>autoware_universe_utils</depend>
<depend>cv_bridge</depend>
<depend>eigen</depend>
<depend>geometry_msgs</depend>
<depend>image_geometry</depend>
<depend>image_transport</depend>
<depend>libboost-filesystem</depend>
<depend>libboost-serialization</depend>
<depend>libceres-dev</depend>
<depend>libgoogle-glog-dev</depend>
<depend>lidartag_msgs</depend>
<depend>pybind11-dev</depend>
<depend>rclcpp</depend>
<depend>sensor_msgs</depend>
<depend>std_msgs</depend>
<depend>std_srvs</depend>
<depend>tf2</depend>
<depend>tf2_eigen</depend>
<depend>tf2_geometry_msgs</depend>
<depend>tf2_ros</depend>
<depend>tier4_calibration_msgs</depend>
<depend>tier4_tag_utils</depend>
<depend>visualization_msgs</depend>

<!-- The export tag contains other, unspecified, tags -->
<export>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@

#include <ceres/ceres.h>
#include <ceres/loss_function.h>
#include <cv_bridge/cv_bridge.h>

#include <algorithm>
#include <cstdio>
Expand Down

0 comments on commit 8baa9e5

Please sign in to comment.