Skip to content

Commit 45377c7

Browse files
authored
build(franka): require system install poco to reduce compilation load (#260)
1 parent 1eb0da0 commit 45377c7

File tree

9 files changed

+9
-34
lines changed

9 files changed

+9
-34
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,7 @@ RCS supports various hardware extensions to seamlessly connect your policies to
152152
To install a specific robot extension (example for Franka FR3):
153153

154154
```shell
155+
sudo apt install $(cat extensions/rcs_fr3/debian_deps.txt)
155156
pip install -ve extensions/rcs_fr3
156157
```
157158

docs/extensions/rcs_fr3.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ This extension provides support for the Franka Research 3 (FR3) robot in RCS.
66

77
```shell
88
# from root directory
9+
sudo apt install $(cat extensions/rcs_fr3/debian_deps.txt)
910
pip install -ve extensions/rcs_fr3
1011
```
1112

docs/extensions/rcs_panda.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ This extension provides support for the Franka Emika Panda robot in RCS.
66

77
```shell
88
# from root directory
9+
sudo apt install $(cat extensions/rcs_fr3/debian_deps.txt)
910
pip install -ve extensions/rcs_panda
1011
```
1112

extensions/rcs_fr3/CMakeLists.txt

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -88,23 +88,7 @@ FetchContent_Declare(
8888
OVERRIDE_FIND_PACKAGE
8989
)
9090

91-
# --- POCO C++ Libraries ---
92-
set(ENABLE_TESTS OFF CACHE BOOL "Disable POCO tests" FORCE)
93-
set(ENABLE_DATA_MYSQL OFF CACHE BOOL "Disable POCO MySQL" FORCE)
94-
set(ENABLE_DATA_ODBC OFF CACHE BOOL "Disable POCO ODBC" FORCE)
95-
set(ENABLE_PAGECOMPILER OFF CACHE BOOL "Disable POCO PageCompiler" FORCE)
96-
set(ENABLE_PAGECOMPILER_FILE2PAGE OFF CACHE BOOL "" FORCE)
97-
98-
FetchContent_Declare(
99-
Poco
100-
GIT_REPOSITORY https://github.com/pocoproject/poco.git
101-
GIT_TAG poco-1.13.3-release
102-
GIT_PROGRESS TRUE
103-
EXCLUDE_FROM_ALL
104-
OVERRIDE_FIND_PACKAGE
105-
)
106-
107-
FetchContent_MakeAvailable(pybind11 Eigen3 tinyxml2 console_bridge Poco)
91+
FetchContent_MakeAvailable(pybind11 Eigen3 tinyxml2 console_bridge)
10892
if(NOT TARGET Eigen3::Eigen3)
10993
add_library(Eigen3::Eigen3 ALIAS eigen)
11094
endif()

extensions/rcs_fr3/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ Extension to control the fr3 with rcs.
44
## Installation
55
```shell
66
# go to this directory
7+
sudo apt install $(cat debian_deps.txt)
78
pip install -ve .
89
```
910

extensions/rcs_fr3/debian_deps.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
libpoco-dev

extensions/rcs_panda/CMakeLists.txt

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -75,23 +75,7 @@ FetchContent_Declare(
7575
OVERRIDE_FIND_PACKAGE
7676
)
7777

78-
# --- POCO C++ Libraries ---
79-
set(ENABLE_TESTS OFF CACHE BOOL "Disable POCO tests" FORCE)
80-
set(ENABLE_DATA_MYSQL OFF CACHE BOOL "Disable POCO MySQL" FORCE)
81-
set(ENABLE_DATA_ODBC OFF CACHE BOOL "Disable POCO ODBC" FORCE)
82-
set(ENABLE_PAGECOMPILER OFF CACHE BOOL "Disable POCO PageCompiler" FORCE)
83-
set(ENABLE_PAGECOMPILER_FILE2PAGE OFF CACHE BOOL "" FORCE)
84-
85-
FetchContent_Declare(
86-
Poco
87-
GIT_REPOSITORY https://github.com/pocoproject/poco.git
88-
GIT_TAG poco-1.13.3-release
89-
GIT_PROGRESS TRUE
90-
EXCLUDE_FROM_ALL
91-
OVERRIDE_FIND_PACKAGE
92-
)
93-
94-
FetchContent_MakeAvailable(pybind11 Eigen3 console_bridge Poco)
78+
FetchContent_MakeAvailable(pybind11 Eigen3 console_bridge)
9579
if(NOT TARGET Eigen3::Eigen3)
9680
add_library(Eigen3::Eigen3 ALIAS eigen)
9781
endif()

extensions/rcs_panda/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ Extension to control the panda with rcs.
44
## Installation
55
```shell
66
# go to this directory
7+
sudo apt install $(cat debian_deps.txt)
78
pip install -ve .
89
```
910

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
libpoco-dev

0 commit comments

Comments
 (0)