1. Made copyfiles a little saner 2. Implemented ball search when not in field of view
18 lines
307 B
Bash
Executable File
18 lines
307 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Exit immediately if something fails
|
|
set -e
|
|
|
|
if [ -z "$1" ]
|
|
then
|
|
nao_ip=192.168.0.11
|
|
else
|
|
nao_ip=$1
|
|
fi
|
|
|
|
destination="$nao_ip:/home/nao/kicker_scripts/"
|
|
|
|
# copy the files with scp
|
|
sshpass -p 'nao' scp ball_approach.py utils.py finders.py \
|
|
movements.py imagereaders.py $destination
|