You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# 🔘 Use an external robots-configuration separately from `robotology-superbuild`
48
47
49
-
In some `ergoCubSN???` setups, the `robots-configuration` used by the robot is not the one downloaded by the robotology-superbuild (that would be found at `/usr/local/src/robot/robotology-superbuild/src/robots-configuration`),
48
+
In some `ergoCubSN???` setups, the `robots-configuration` used by the robot is not the one downloaded by the `robotology-superbuild` (that would be found at `/usr/local/src/robot/robotology-superbuild/src/robots-configuration`),
50
49
but rather a separate `robots-configuration` available at `/usr/local/src/robot/robots-configuration`. This is done for two reasons:
51
-
* To permit to clone a fresh new robotology-superbuild, without the need to manually perform the local repository configuration as described in the previous section,
52
-
* To permit to easily share the used `robots-configuration` to other `robotology-superbuild`, that for example are part of a different environment or a different container.
50
+
- To permit to clone a fresh new `robotology-superbuild`, without the need to manually perform the local repository configuration as described in the previous section,
51
+
- To permit to easily share the used `robots-configuration` to other `robotology-superbuild`, that for example are part of a different environment or a different container.
53
52
54
-
The steps necessary to switch to use an external robots-configuration given an existing robotology-superbuild setup are the following:
53
+
The steps necessary to switch to use an external robots-configuration given an existing `robotology-superbuild` setup are the following:
55
54
56
55
## 🔲 Disable robots-configuration from the superbuild
57
56
58
-
First of all, pass the [`-ROBOTOLOGY_SKIP_ROBOTS_CONFIGURATION:BOOL=ON`](https://github.com/robotology/robotology-superbuild/pull/1775) CMake option to all the robotology-superbuild that should use the external `robots-configuration`.
57
+
First of all, pass the [`-ROBOTOLOGY_SKIP_ROBOTS_CONFIGURATION:BOOL=ON`](https://github.com/robotology/robotology-superbuild/pull/1775) CMake option to all the `robotology-superbuild` that should use the external `robots-configuration`.
59
58
60
59
If the `robotology-superbuild` was already built once, remember to first uninstall and then delete the existing robots-configuration repository to avoid confusion.
61
60
62
61
In particular uninstall with:
63
62
64
-
~~~
63
+
```console
65
64
cd /usr/local/src/robot/robotology-superbuild/build/src/robots-configuration
66
65
make uninstall
67
-
~~~
66
+
```
68
67
69
68
and delete any `robots-configuration` folder with:
At this point, follow the configuration steps documented in the earlier section. Then, install the repo without dependencies, using the `nodeps` CMake preset:
87
85
88
-
~~~
86
+
```console
89
87
cmake --preset nodeps
90
88
cmake --install build
91
-
~~~
89
+
```
92
90
93
91
After you did all of this, to ensure that the installed files are found by YARP, add the following line to the `.bashrc_iCub` of the robot:
0 commit comments