updated readme

This commit is contained in:
Ruixiang Du
2020-07-10 09:34:18 +08:00
parent 11bf3e3ad7
commit a7b7cf6d21
2 changed files with 18 additions and 1 deletions

View File

@@ -75,7 +75,11 @@ target_link_libraries(${PROJECT_NAME} pthread)
target_include_directories(${PROJECT_NAME} PUBLIC
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
$<INSTALL_INTERFACE:include>
PRIVATE src)
PRIVATE src)
if(NOT catkin_FOUND)
add_subdirectory(apps)
endif()
# Add executables
if(BUILD_TESTS)

View File

@@ -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 <your-catkin-ws>/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
<!--