memo for rcll_status_board (2018/05/04 Version)
New version for memo for rcll_status_board.
- protobuf_comm
wataru@ubuntu:~/ros_catkin_ws/src/llsf_msgs$ git diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 66a1952..646feda 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -8,7 +8,7 @@ SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
include_directories(${PROTOBUF_INCLUDE_DIRS})
-set(REFBOX_ROOT_DIR /home/faps/llsf-refbox)
+set(REFBOX_ROOT_DIR /home/wataru/llsf-refbox)
set(LLSF_MSGS_DIR "${REFBOX_ROOT_DIR}/src/msgs")
IF(EXISTS "${REFBOX_ROOT_DIR}" AND IS_DIRECTORY "${REFBOX_ROOT_DIR}")
wataru@ubuntu:~/ros_catkin_ws/src/llsf_msgs$ cd ../protobuf_comm/
wataru@ubuntu:~/ros_catkin_ws/src/protobuf_comm$ git diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
index e052533..1a56cee 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -6,6 +6,7 @@ add_compile_options(-std=c++11)
find_package(Boost 1.46.1 REQUIRED thread system)
find_package(OpenSSL REQUIRED)
+find_package(catkin REQUIRED)
catkin_package(
INCLUDE_DIRS include
wataru@ubuntu:~/ros_catkin_ws/src/rcll_status_board$ git diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 6dff7b2..6ef5ea7 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -19,6 +19,7 @@ find_package(catkin REQUIRED COMPONENTS
## System dependencies are found with CMake's conventions
# find_package(Boost REQUIRED COMPONENTS system)
find_package(OpenCV REQUIRED)
+find_package(Protobuf REQUIRED)
## Uncomment this if the package has a setup.py. This macro ensures
## modules and global scripts declared therein get installed
@@ -120,6 +121,7 @@ include_directories(
include/elements
${catkin_INCLUDE_DIRS}
${OpenCV_INCLUDE_DIRS}
+ ${PROTOBUF_INCLUDE_DIRS}
)
## Declare a C++ library
@@ -191,7 +193,7 @@ add_dependencies(llsf_interface_node ${${PROJECT_NAME}_EXPOR
target_link_libraries(team_status_board_node ${catkin_LIBRARIES} ${OpenCV_LIBRA
target_link_libraries(field_status_board_node ${catkin_LIBRARIES} ${OpenCV_LIBR
target_link_libraries(static_values_node ${catkin_LIBRARIES})
-target_link_libraries(llsf_interface_node ${catkin_LIBRARIES})
+target_link_libraries(llsf_interface_node ${catkin_LIBRARIES} ${PROTOBUF_LIBRAR
#############
## Install ##
@@ -227,6 +229,10 @@ install(TARGETS rcll_draw
# # myfile2
# DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}
# )
+install(FILES
+ yaml/Gamefield.yaml
+ DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}/yaml
+)
#############
## Testing ##
コメントを残す