Modify some constants for third robot.
- Fix drivetrain_translate.
- Fix crio build.sh.
- Add some snazzy new regexes (as per Brian's suggestion), to
aos/build/build.sh, in order to shorten one of the conditionals.
- Get rid of some old, useless files.
diff --git a/aos/build/build.sh b/aos/build/build.sh
index df7e2fb..e0ff434 100755
--- a/aos/build/build.sh
+++ b/aos/build/build.sh
@@ -13,7 +13,7 @@
ACTION=$5
shift 4
-shift || true # We might not have a 4th argument if ACTION is empty.
+shift || true # We might not have a 5th argument if ACTION is empty.
export WIND_BASE=${WIND_BASE:-"/usr/local/powerpc-wrs-vxworks/wind_base"}
@@ -72,7 +72,7 @@
fi
${NINJA} -C ${OUTDIR}/Default ${NINJA_ACTION} "$@"
if [[ ${ACTION} == deploy || ${ACTION} == redeploy ]]; then
- [ ${PLATFORM} == atom ] || [ ${PLATFORM} == bot3_atom] && \
+ [[ ${PLATFORM} =~ .*atom ]] && \
rsync --progress -c -r \
${OUTDIR}/Default/outputs/* \
driver@`${AOS}/build/get_ip fitpc`:/home/driver/robot_code/bin