Skip to content

Commit

Permalink
Add visualization_msgs as dependency, solves TixiaoShan#157
Browse files Browse the repository at this point in the history
  • Loading branch information
Timple committed Jan 6, 2021
1 parent c4952e1 commit e040db4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
8 changes: 5 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ find_package(catkin REQUIRED COMPONENTS
geometry_msgs
nav_msgs
message_generation
visualization_msgs
)

find_package(OpenMP REQUIRED)
Expand All @@ -43,13 +44,14 @@ catkin_package(
INCLUDE_DIRS include
DEPENDS PCL GTSAM

CATKIN_DEPENDS
CATKIN_DEPENDS
std_msgs
nav_msgs
geometry_msgs
sensor_msgs
message_runtime
message_runtime
message_generation
visualization_msgs
)

# include directories
Expand Down Expand Up @@ -91,4 +93,4 @@ target_link_libraries(${PROJECT_NAME}_mapOptmization ${catkin_LIBRARIES} ${PCL_L

# IMU Preintegration
add_executable(${PROJECT_NAME}_imuPreintegration src/imuPreintegration.cpp)
target_link_libraries(${PROJECT_NAME}_imuPreintegration ${catkin_LIBRARIES} ${PCL_LIBRARIES} ${OpenCV_LIBRARIES} gtsam)
target_link_libraries(${PROJECT_NAME}_imuPreintegration ${catkin_LIBRARIES} ${PCL_LIBRARIES} ${OpenCV_LIBRARIES} gtsam)
4 changes: 3 additions & 1 deletion package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<run_depend>roscpp</run_depend>
<build_depend>rospy</build_depend>
<run_depend>rospy</run_depend>

<build_depend>tf</build_depend>
<run_depend>tf</run_depend>

Expand All @@ -34,6 +34,8 @@
<run_depend>geometry_msgs</run_depend>
<build_depend>nav_msgs</build_depend>
<run_depend>nav_msgs</run_depend>
<build_depend>visualization_msgs</build_depend>
<run_depend>visualization_msgs</run_depend>

<build_depend>message_generation</build_depend>
<run_depend>message_generation</run_depend>
Expand Down

0 comments on commit e040db4

Please sign in to comment.