Changes between Version 50 and Version 51 of en/ProgrammingRobotsCourse/PepperApi
- Timestamp:
- Mar 19, 2025, 10:00:28 PM (2 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
en/ProgrammingRobotsCourse/PepperApi
v50 v51 249 249 **Note:** There is quite a lot of course work here done using the [https://en.wikipedia.org/wiki/Command-line_interface command line interface] usually via a [https://en.wikipedia.org/wiki/Terminal_emulator terminal window]. We suggest to study a **[https://ubuntu.com/tutorials/command-line-for-beginners#3-opening-a-terminal tutorial for working in terminal]**. 250 250 }}} 251 * go to `aurora.fi.muni.cz`, build and copy your SSH keys for the robot access (replace ` <xlogin>` with your login):252 {{{ 253 ssh <xlogin>@aurora.fi.muni.cz254 }}} 255 * make a ssh key (again replace ` <xlogin>` with your login, we may use `$LOGNAME`, which is set by the system, here):251 * go to `aurora.fi.muni.cz`, build and copy your SSH keys for the robot access (replace `xlogin` with your login): 252 {{{ 253 ssh xlogin@aurora.fi.muni.cz 254 }}} 255 * make a ssh key (again replace `xlogin` with your login, we may use `$LOGNAME`, which is set by the system, here): 256 256 {{{ 257 257 echo LOGNAME=$LOGNAME … … 262 262 cp ~/.ssh/pepper_$LOGNAME.pub /nlp/projekty/pepper/course/keys/ 263 263 }}} 264 * add host `karel` to your `$HOME/.ssh/config` (replace ` <xlogin>` manually):264 * add host `karel` to your `$HOME/.ssh/config` (replace `xlogin` manually). Use your favourite text editor, e.g. `nano $HOME/.ssh/config`: 265 265 {{{ 266 266 Host karel … … 268 268 HostName 192.168.88.10 269 269 # IdentityFile is important for install_pkg.py 270 IdentityFile ~/.ssh/pepper_ <xlogin>270 IdentityFile ~/.ssh/pepper_xlogin 271 271 StrictHostKeyChecking no 272 272 PubkeyAuthentication yes 273 273 }}} 274 * build the PKG package in Choregraphe275 274 * test [https://nlp.fi.muni.cz/trac/pepper/wiki/LogView logview] 276 275 {{{ … … 278 277 /nlp/projekty/pepper/bin/logview 279 278 }}} 279 * build the PKG package in Choregraphe (''File''->''Build Application Package''). When entering NAOqi requirements choose NAOqi version `2.5-2.5` and Robot requirements `Pepper Y20`. 280 280 * after the key is allowed, install it to the robot 281 281 {{{ … … 305 305 ^wait(animations/Stand/Gestures/ShowTablet_3) 306 306 }}} 307 * application specific content can be displayed when stored in the subdirectory `html` and (after installation on the real robot) referred from the tablet as `http://198.18.0.1/apps/ <application_name>/...`. This way not only images, but also HTML pages with !JavaScript content can be presented. The !JavaScript can also communicate with robot variables in real time, see [https://gitlab.fi.muni.cz/nlp/dialog_presentation_nlp dialog_presentation_nlp] for an example.307 * application specific content can be displayed when stored in the subdirectory `html` and (after installation on the real robot) referred from the tablet as `http://198.18.0.1/apps/application_name/...`. This way not only images, but also HTML pages with !JavaScript content can be presented. The !JavaScript can also communicate with robot variables in real time, see [https://gitlab.fi.muni.cz/nlp/dialog_presentation_nlp dialog_presentation_nlp] for an example. 308 308 * [http://doc.aldebaran.com/2-5/getting_started/creating_applications/using_peppers_tablet.html Using Pepper’s Tablet] 309 309 … … 323 323 cp -r /nlp/projekty/pepper/course/template $HOME/pepper/ 324 324 }}} 325 * rename the `template` to `template_ <xlogin>` (replace `<xlogin>` with your login, e.g. with `$LOGNAME`) or something else:325 * rename the `template` to `template_xlogin` (replace `xlogin` with your login, e.g. with `$LOGNAME`) or something else: 326 326 {{{ 327 327 mv $HOME/pepper/template $HOME/pepper/template_$LOGNAME