| 21 | 2. **SSL Connection to Maestros** Since this project requires us to first connect to the testbed and then to the RaspberryPi (Maestros), we had to familiarize ourself with SSH (Secure Shell Protocol) to securely send instructions to the Maestros. We first created ORBIT accounts to access testbed, and then followed instructions to connect: |
| 22 | {{{#!python |
| 23 | #have two command prompts open, and complete the following in both |
| 24 | ssh testbed@10.61.1.235 -L 5000:localhost:5000 #after, type in the password |
| 25 | #in one of the windows, run the following: |
| 26 | conda activate smart-box #activating a specific environment with dependencies |
| 27 | cd maestro #access directory |
| 28 | ./testbed.sh |
| 29 | #in the other, run the following |
| 30 | cd /home/testbed/maestro/Maestro-Testbed/app |
| 31 | python start_experiment.py --ids 1 --video_model None --sensor_model None --chunk_size 10 --frequency 10 --directory storage #id can be changed based on running maestro |
| 32 | #to end, run the following in the same tab: |
| 33 | python end_experiment.py |
| 34 | }}} |
| 35 | After familiarizing ourselves with this, we were more prepared to run experiments ourselves and respond to connection and backend issues in the Github. |
| 36 | |
| 37 | |
| 38 | |
| 39 | |
| 40 | |