124 | | * creating application [http://doc.aldebaran.com/2-5/dev/tutos/create_a_new_service.html outside Choregraphe] |
| 124 | * after the key is allowed, build the PKG package in Choregraphe |
| 125 | * install it |
| 126 | {{{ |
| 127 | /nlp/projekty/pepper/bin/install_pkg.py your_package.pkg |
| 128 | }}} |
| 129 | * face characteristics - [http://doc.aldebaran.com/2-5/software/choregraphe/tutos/get_age.html Get Age]/Get Egnder, [http://doc.aldebaran.com/2-5/software/choregraphe/tutos/get_expression.html Get Expression] |
| 130 | * creating application outside Choregraphe |
| 131 | * prepare your `pepper` directory unless you already have one |
| 132 | {{{ |
| 133 | mkdir $HOME/pepper |
| 134 | }}} |
| 135 | * copy `template` directory |
| 136 | {{{ |
| 137 | cp -r /nlp/projekty/pepper/course/template $HOME/pepper/ |
| 138 | }}} |
| 139 | * rename the `template` to `template_<xlogin>` (replace `<xlogin>` with your login) or something else: |
| 140 | {{{ |
| 141 | mv $HOME/pepper/template $HOME/pepper/template_<xlogin> |
| 142 | cd $HOME/pepper/template_<xlogin> |
| 143 | }}} |
| 144 | * go through all files, rename the application where necesarry |
| 145 | * build the PKG package (the version number will be increased): |
| 146 | {{{ |
| 147 | cd $HOME/pepper/template_<xlogin> |
| 148 | make pkg |
| 149 | }}} |
| 150 | * and install it |
| 151 | {{{ |
| 152 | cd $HOME/pepper/template_<xlogin> |
| 153 | make install |
| 154 | }}} |
| 155 | During the development this can be in one command |
| 156 | {{{ |
| 157 | make pkg install |
| 158 | }}} |