mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-06-30 19:12:07 +08:00
cd4b74e217
old-commit-hash: e23a25c3ae82e65b8adad47e799c588cc46bba0e
17 lines
394 B
Bash
Executable File
17 lines
394 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# NOTE: can only run inside limeGPS test box!
|
|
|
|
# run limeGPS with random static location
|
|
timeout 300 ./simulate_gps_signal.py 32.7518 -117.1962 &
|
|
gps_PID=$(ps -aux | grep -m 1 "timeout 300" | awk '{print $2}')
|
|
|
|
echo "starting limeGPS..."
|
|
sleep 10
|
|
|
|
# run unit tests (skipped when module not present)
|
|
python -m unittest test_gps.py
|
|
python -m unittest test_gps_qcom.py
|
|
|
|
kill $gps_PID
|