Changes between Version 8 and Version 9 of en/ProgrammingRobotsCourse/GettingWwwInfo2
- Timestamp:
- Mar 16, 2020, 5:04:51 PM (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
en/ProgrammingRobotsCourse/GettingWwwInfo2
v8 v9 1 === Test service with virtual robot1 === Testing a service with virtual robot 2 2 3 3 A service can be tested in the virtual robot settings. … … 5 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 6 {{{ 7 ssh aurora 7 8 cd /nlp/projekty/pepper/web/robot-jumpstarter 8 9 python jumpstart.py python-service tweety-service TweetyService 9 10 cp -a output/tweety-service ~/pepper/ 10 11 }}} 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. 12 14 * start Choregraphe and [../Introduction#virtualrobot run the virtual robot] 13 15 * find out the ''port number'' of your virtual robot: click [[Image(pepper_connect.png, valign=top)]] [[br]]