projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add test-easymini-v1.0 script
[fw/altos]
/
ao-bringup
/
test-easymini
diff --git
a/ao-bringup/test-easymini
b/ao-bringup/test-easymini
index e9948da90d4607aa90c8710cac6269007b59dc47..3268f44cdb0ddedacad98555d4624b98b3f143e6 100755
(executable)
--- a/
ao-bringup/test-easymini
+++ b/
ao-bringup/test-easymini
@@
-1,6
+1,6
@@
#!/bin/bash
#!/bin/bash
-VERSION=
1
.0
+VERSION=
2
.0
PRODUCT=EasyMini
BASE=`echo $PRODUCT | tr 'A-Z' 'a-z'`
PRODUCT=EasyMini
BASE=`echo $PRODUCT | tr 'A-Z' 'a-z'`
@@
-21,7
+21,9
@@
while [ $found -eq 0 ]; do
echo -e '\e[34m'Testing $product $serial $dev'\e[39m'
echo ""
echo -e '\e[34m'Testing $product $serial $dev'\e[39m'
echo ""
- ./test-igniters "$dev" drogue main
+ sleep 0.25
+
+ ./test-igniters-nowait "$dev" --rplus=100 --rminus=27 --adcmax=32767 drogue main
echo ""
echo "Testing baro sensor"
echo ""
echo "Testing baro sensor"
@@
-42,7
+44,6
@@
while [ $found -eq 0 ]; do
echo -e '\e[31m'"$PRODUCT-$VERSION serial $serial failed"'\e[39m'
exit 1
fi
echo -e '\e[31m'"$PRODUCT-$VERSION serial $serial failed"'\e[39m'
exit 1
fi
-
echo ""
echo -e '\e[32m'"$PRODUCT-v$VERSION" serial "$serial" is ready to ship'\e[39m'
echo ""
echo -e '\e[32m'"$PRODUCT-v$VERSION" serial "$serial" is ready to ship'\e[39m'
@@
-57,6
+58,5
@@
while [ $found -eq 0 ]; do
if [ $result -ne 2 ]; then
exit $result
fi
if [ $result -ne 2 ]; then
exit $result
fi
- echo 'No device, sleeping...'
- sleep 1
+ sleep 0.25
done
done