Changes between Version 11 and Version 12 of en/ProgrammingRobotsCourse/GettingWwwInfo2


Ignore:
Timestamp:
Mar 16, 2020, 6:55:16 PM (21 months ago)
Author:
Ales Horak
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • en/ProgrammingRobotsCourse/GettingWwwInfo2

    v11 v12  
    33A service can be tested in the virtual robot settings.
    44
     5* prepare an app with the service to test - you may start with the examples below or use the ''templater'' tool [https://github.com/pepperhacking/robot-jumpstarter#template-python-service robot-jumpstarter] (use a ''new name'' for your service):
     6  {{{
     7ssh aurora
     8cd /nlp/projekty/pepper/web/robot-jumpstarter
     9python jumpstart.py python-service tweety-service TweetyService
     10cp -a output/tweety-service ~/pepper/
     11}}}
     12  Here `tweety-service` is the directory name of the application (and the app name), `TweetyService` is the API name of your service as it will be called from Python.[[br]]
     13* copy the directory with the service app (e.g. `~/pepper/tweety-service`) to your computer, where you run Choregraphe. All the following steps are done on this computer, ''not remotely'' via SSH.
     14* start Choregraphe and [../Introduction#virtualrobot run the virtual robot]
     15* find out the ''port number'' of your virtual robot: click [[Image(pepper_connect.png, valign=top)]] [[br]]
     16  and remember the `IP` and `port` from the table:[[br]]
     17  [[Image(pepper_virtual_port.png)]][[br]]
     18  Here the virtual robot's address is `localhost:34121`