diff --git a/data_collection_model_and_results/rover/rover_v3.1/drone_run.sh b/data_collection_model_and_results/rover/rover_v3.1/drone_run.sh index 0063746..ba7d8af 100755 --- a/data_collection_model_and_results/rover/rover_v3.1/drone_run.sh +++ b/data_collection_model_and_results/rover/rover_v3.1/drone_run.sh @@ -79,8 +79,13 @@ else exit fi -python3 ${repo_root}/spf/mavlink_radio_collection.py \ - -c ${config} -m /home/pi/device_mapping -r ${routine} -t "RO${rover_id}" -n $n +if [ $# -eq 0 ]; then + python3 ${repo_root}/spf/mavlink_radio_collection.py \ + -c ${config} -m /home/pi/device_mapping -r ${routine} -t "RO${rover_id}" -n $n +else + python3 ${repo_root}/spf/mavlink_radio_collection.py \ + -c ${config} -m /home/pi/device_mapping -r ${routine} -t "RO${rover_id}" -n 40 --drone-uri tcp:192.168.1.141:14590 --no-ultrasonic +fi #python spf/spf/mavlink_radio_collection.py -c spf/spf/rover_configs/rover_receiver_config_pi.yaml -m /home/pi/device_mapping -r bounce -t "RO1" -n 40000 --drone-uri tcp:192.168.1.136:14591 #python spf/spf/mavlink_radio_collection.py -c spf/spf/rover_configs/rover_receiver_config_pi.yaml -m /home/pi/device_mapping -r bounce -t "RO3" -n 40 --drone-uri tcp:192.168.1.136:14590 --no-ultrasonic