Skip to content

Commit b32609d

Browse files
committed
streamlining
1 parent 7028905 commit b32609d

File tree

1 file changed

+16
-18
lines changed

1 file changed

+16
-18
lines changed

.github/local-workflow-tech.md

Lines changed: 16 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -43,55 +43,53 @@ Technicalities underlying the fast-pace local workflow
4343
git config --local core.hooksPath .githooks/
4444
```
4545
46-
Use an external robots-configuration separately from the robotology-superbuild
47-
==================================================================
46+
# 🔘 Use an external robots-configuration separately from `robotology-superbuild`
4847

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`),
5049
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.
5352

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:
5554

5655
## 🔲 Disable robots-configuration from the superbuild
5756

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`.
5958

6059
If the `robotology-superbuild` was already built once, remember to first uninstall and then delete the existing robots-configuration repository to avoid confusion.
6160

6261
In particular uninstall with:
6362

64-
~~~
63+
```console
6564
cd /usr/local/src/robot/robotology-superbuild/build/src/robots-configuration
6665
make uninstall
67-
~~~
66+
```
6867

6968
and delete any `robots-configuration` folder with:
7069

71-
~~~
70+
```console
7271
cd /usr/local/src/robot/robotology-superbuild
7372
rm -rf /usr/local/src/robot/robotology-superbuild/src/robots-configuration
7473
rm -rf /usr/local/src/robot/robotology-superbuild/build/src/robots-configuration
75-
~~~
74+
```
7675

7776
## 🔲 Clone, install and ensure that external robots-configuration is visible
7877

79-
80-
~~~
78+
```console
8179
cd /usr/local/src/robot
8280
git clone https://github.com/robots-configuration/robots-configuration.git
8381
cd robots-configuration
84-
~~~
82+
```
8583

8684
At this point, follow the configuration steps documented in the earlier section. Then, install the repo without dependencies, using the `nodeps` CMake preset:
8785

88-
~~~
86+
```console
8987
cmake --preset nodeps
9088
cmake --install build
91-
~~~
89+
```
9290

9391
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:
9492

95-
~~~
93+
```console
9694
export YARP_DATA_DIRS=$YARP_DATA_DIRS:/usr/local/src/robot/robots-configuration/build/install/share/ICUBcontrib
97-
~~~
95+
```

0 commit comments

Comments
 (0)