-
Notifications
You must be signed in to change notification settings - Fork 148
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- regenerating examples and cli interfaces - switching all text to sentence-per-line - adding scripts and documentation for regenerating examples - moving --locate-extra-shell-verbs to locate verb - adding details on linked develspace
- Loading branch information
Showing
22 changed files
with
345 additions
and
251 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
Linked Devel Space | ||
================== | ||
|
||
In addition to the ``merged`` and ``isolated`` **devel space** layouts provided by ``catkin_make`` and ``catkin_make_isolated``, respectively, ``catkin_tools`` provides a default ``linked`` layout which enables robust cleaning of individual packages from a workspace. | ||
It does this by building each package into its own hidden FHS tree, and then symbolically linking all products into the unified **devel space** which is specified in the workspace configuration. | ||
|
||
When building with a ``linked`` layout, Catkin packages are built into FHS trees stored in the ``.private`` hidden directory at the root of the **devel space**. | ||
Within this directory is a directory for each package in the workspace. | ||
|
||
Setup File Generation | ||
^^^^^^^^^^^^^^^^^^^^^ | ||
|
||
In the ``merged`` layout, every package writes and then over-writes the colliding setup files in the root of the **devel space**. | ||
This leads to race conditions and other problems when trying to parallelize building. | ||
With he ``linked`` layout, however, only one package generates these files, and this is either a built-in "prebuild" package, or if it exists in the workspace, the ``catkin`` CMake package, itself. | ||
|
||
.catkin File Generation | ||
^^^^^^^^^^^^^^^^^^^^^^^ | ||
|
||
When using the ``linked`` layout, ``catkin_tools`` is also responsible for managing the ``.catkin`` file in the root of the **devel space**. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
Documentation Examples | ||
====================== | ||
|
||
This document explains how to run examples and generate all static text and | ||
asciinema videos. | ||
|
||
## Prerequisites | ||
|
||
* [perl](http://perl.org) | ||
* [asciinema](http://asciinema.org) | ||
* [rosinstall\_generator](https://github.com/vcstools/wstool) | ||
* [wstool](https://github.com/vcstools/wstool) | ||
* [catkin](https://github.com/ros/catkin) | ||
|
||
## Generating All Examples | ||
|
||
All examples must be run from the examples directory. | ||
|
||
```bash | ||
./quickstart_ws/all.bash | ||
./failure_ws/all.bash | ||
./ros_tutorials_ws/all.bash | ||
``` | ||
|
||
## Scripts | ||
|
||
### slowrun | ||
|
||
The `slowrun` script executes a script line by line, echoing characters to the | ||
console with a delay, as if they were being typed. | ||
|
||
Optional arguments: | ||
|
||
* `--buffer` -- buffer and delay printing of each line from the output from subcommands | ||
|
||
### slowrecord | ||
|
||
The `slowrecord` script executes a script line by line with `slowrun`, but also | ||
spawns a `urxvt` terminal with a specific size, and records the commands with | ||
`asciinema`. | ||
|
||
Optional arguments: | ||
|
||
* `--check` -- check interactively before uploading | ||
* `--tall` -- use a taller window for recording |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#!/usr/bin/env bash | ||
|
||
SLOWRECORD=$(pwd)/slowrecord | ||
WS=/tmp/failure_ws | ||
|
||
pushd `dirname $0` | ||
|
||
rm -rf $WS | ||
|
||
source /opt/ros/indigo/setup.bash | ||
bash 0_init.bash | ||
$SLOWRECORD --check --tall --buffer 1_build_warning.bash | ||
$SLOWRECORD --check --tall --buffer 2_build_err.bash | ||
|
||
popd |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
. | ||
├── .catkin_tools | ||
│ ├── CATKIN_IGNORE | ||
│ ├── profiles | ||
│ ├── README | ||
│ └── VERSION | ||
└── src | ||
├── pkg_a | ||
├── pkg_b | ||
├── pkg_c | ||
└── pkg_d | ||
|
||
7 directories, 3 files |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.