Changes between Version 8 and Version 9 of en/ProgrammingRobotsCourse/GettingWwwInfo2


Ignore:
Timestamp:
Mar 16, 2020, 5:04:51 PM (4 years ago)
Author:
Ales Horak
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • en/ProgrammingRobotsCourse/GettingWwwInfo2

    v8 v9  
    1 === Test service with virtual robot
     1=== Testing a service with virtual robot
    22
    33A service can be tested in the virtual robot settings.
     
    55* 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):
    66  {{{
     7ssh aurora
    78cd /nlp/projekty/pepper/web/robot-jumpstarter
    89python jumpstart.py python-service tweety-service TweetyService
    910cp -a output/tweety-service ~/pepper/
    1011}}}
    11   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.
     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.
    1214* start Choregraphe and [../Introduction#virtualrobot run the virtual robot]
    1315* find out the ''port number'' of your virtual robot: click [[Image(pepper_connect.png, valign=top)]] [[br]]