-
Notifications
You must be signed in to change notification settings - Fork 0
Sending hz to repository
Home | Previous | Next - Running dynamic agent | Next - Adding new task to NAO commands
Now you are ready to copy generated hz package to Rapp Store, e.g helloworld-1.0.0.hz:
scp /home/nao/hz_packages/hz/helloworld-1.0.0.hz <RAPP_STORE_NAME>@<IP_ADDRESS>:<PATH>
If you can't copy a package from your virtual machine to your machine that launches virtual machine then type:
cd <YOUR_HZ_RAPP_STORE_PATH>
scp nao@<YOUR_VM_IP_ADDRESS>:/home/nao/hz_packages/hz/helloworld-1.0.0.hz .
In folder /home/nao/hz_packages/packages you can find dynamic agent packages ready to be archived in form of hz packages. If you forgot to edit run file, modify run script that is in the folder associated with your dynamic agent package. To archive it as hz package type manually:
tar czvf <name_of_your_package>-1.0.0.hz /home/nao/hz_packages/packages/<name_of_your_package>
Modify in script rappstore_generate_and_get_hz.sh value of PATH_TO_SCRIPTS. Script requires four parameters:
- usage: bash rappstore_generate_and_get_hz.sh VM_IP_ADDRESS PACKAGE_NAME FLAG1 FLAG2
- VM_IP_ADDRESS
- PACKAGE_NAME
- FLAG1
- 0 - without downloading repository from github
- 1 - downloading repository from github
- FLAG2
- 0 - without compilation
- 1 - with compilation
The following script remotely generates voicemail-1.0.0.hz and copies it into the rappstore machine:
bash ~/path_to_rappstore_scripts/rappstore_generate_and_get_hz.sh <VM_IP_ADDRESS> voicemail 0 0
ls
# You will get:
# voicemail-1.0.0.hz
Home | Previous | Next - Running dynamic agent | Next - Adding new task to NAO commands
##1. General structure of RAPP system
##2. Preparation of hardware for RAPP development
Structure of RAPP project repositories on github
Preparation of virtual machine
Preparation of NAO robot
- [Structure of directories on Nao robot] (https://github.com/rapp-project/rapp-robot-nao/wiki/Structure-of-directories-on-Nao-robot)
- Configuration and copying of libraries to NAO robot
##3. Running the RAPP system
Preparation of core agent
- Download and compilation of core agent on Virtual Machine
- Upload of core agent from Virtual Machine to NAO
Running core agent on NAO
##3. Testing dynamic agents on virtual machine