README.md 2.34 KB
Newer Older
1
2
# Scripts for Gepetto

Guilhem Saurel's avatar
Guilhem Saurel committed
3
4
5
6
7
8
9
## `doc.py` & `doc.sh`

Gets the projects / namespaces / branches to process from the [Gepetto Dashboard](http://rainboard.laas.fr)
(activate `keep_doc` on the branches you need)
Run them in this order in a cron job to put the last generated doxygen HTML from gepgitlab on
`/net/cetus/data/gepetto/Doc`.

10
11
12
13
14
15
16
## `release.sh`

`./release.sh <tag> [<package name>]`

Creates a signed tag named `v<tag>` and push it.
Also creates `<package name>-<tag>.tar.gz{,.sig}` including submodules.

Guilhem Saurel's avatar
Guilhem Saurel committed
17
18
Can be usefull if you don't have the JRL cmake submodule, otherwise just use `make release VERSION=x.y.z && make dist`

19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
## `video.py`

```
usage: video.py [-h] [--image IMAGE] [-ss START_TIME] [-to END_TIME] [-n N]
                [-fs FS] [--no-magic] [-c]
                rush author title

Append a title slide to a video. Optionnaly cut it and crop it.

positional arguments:
  rush                  filename of the rush
  author                speaker's name
  title                 talk's title

optional arguments:
  -h, --help            show this help message and exit
  --image IMAGE         title image
  -ss START_TIME, --start-time START_TIME
                        start of the video
  -to END_TIME, --end-time END_TIME
                        end of the video
  -n N                  number of the video in a playlist (0 for no playlist)
  -fs FS                font size
  --no-magic
  -c, --crop            Crop the speaker only from the video
```
Guilhem Saurel's avatar
Guilhem Saurel committed
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60

## `parse_muscod_logs.py`

```
usage: parse_muscod_logs.py [-h] [-v] filename

Parse muscod's logs to get NDIS, the number of iterations & total computation
time

positional arguments:
  filename

optional arguments:
  -h, --help     show this help message and exit
  -v, --verbose
```
Guilhem Saurel's avatar
Guilhem Saurel committed
61
62
63
64

## `axis_play.sh` & `axis_record.sh`

The first allows to check that the camera is configured correctly.
Guilhem Saurel's avatar
Guilhem Saurel committed
65
If you are not satisfied, you have to use the [web interface](http://axis-ptz1).
Guilhem Saurel's avatar
Guilhem Saurel committed
66
67

The second records the current view. It is meant to be run in `eur0c:/local/axis`
68
69
70


## `robotpkg-test3-wipuser.sh`
Olivier Stasse's avatar
Olivier Stasse committed
71

72
73
74
75
76
Creates a directory ${HOME}/devel-src/robotpkg-test3 in which robotpkg and ${USER} wip from gepgitlab
are cloned.
Then the script bootstrap robotpkg and add the file ./etc/addrobotpkg.conf to the default 
${HOME}/devel-src/robotpkg-test3/install/etc/robotpkg.conf.
From this the script tries to compile talos-simulation and talos-dev.
Olivier Stasse's avatar
Olivier Stasse committed
77