From a7b7cf6d21e5daa52652c4b55541af0da2081f5b Mon Sep 17 00:00:00 2001 From: Ruixiang Du Date: Fri, 10 Jul 2020 09:34:18 +0800 Subject: [PATCH] updated readme --- CMakeLists.txt | 6 +++++- README.md | 13 +++++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 8c3d7f5..347c5e4 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -75,7 +75,11 @@ target_link_libraries(${PROJECT_NAME} pthread) target_include_directories(${PROJECT_NAME} PUBLIC $ $ - PRIVATE src) + PRIVATE src) + +if(NOT catkin_FOUND) + add_subdirectory(apps) +endif() # Add executables if(BUILD_TESTS) diff --git a/README.md b/README.md index 75e3ee4..452bb88 100755 --- a/README.md +++ b/README.md @@ -57,6 +57,17 @@ You need to re-login to get the change to take effect. ## Build SDK +### I. Use the package with ROS + +``` +$ cd /src +$ git clone https://github.com/westonrobot/wrp_sdk.git +$ cd .. +$ catkin_make +``` + +### II. Use the package without ROS + Install compile tools ``` @@ -111,6 +122,8 @@ or $./app_scout_monitor /dev/ttyUSB0 115200 ``` +Note: the monitor app is not built by default if you use this SDK with ROS. + ## Known Limitations