Skip to content

Commit 6842765

Browse files
committed
配置
1 parent bb09900 commit 6842765

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

catkin_wp/src/learning_topic/CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,12 +154,14 @@ include_directories(
154154

155155
# 解释add_executable(${PROJECT_NAME}_node src/learning_topic_node.cpp)
156156
add_executable(velocity_publisher src/velocity_publisher.cpp)
157-
# add_executable(velocity_publisher script/velocity_publisher.py) python文件不需要编译
158157

159158
# 可执行文件和ROS库进行连接的
160159
# target_link_libraries(${PROJECT_NAME}_node${catkin_LIBRARIES} )
161160
target_link_libraries(velocity_publisher ${catkin_LIBRARIES})
162161

162+
add_executable(pose_subscriber src/pose_subscriber.cpp)
163+
target_link_libraries(pose_subscriber ${catkin_LIBRARIES})
164+
163165
#############
164166
## Install ##
165167
#############

0 commit comments

Comments
 (0)