From 14315a80b3897142403e4143bee1190b1ada6a55 Mon Sep 17 00:00:00 2001 From: mattmcw Date: Thu, 16 Sep 2021 01:19:32 -0400 Subject: [PATCH] Add a zig zag motion to dodge the pegs on the peg bar --- position.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/position.sh b/position.sh index 8f1b5c0..0c8afb8 100644 --- a/position.sh +++ b/position.sh @@ -1,12 +1,15 @@ #!/bin/bash -X=4.2 +XZIG=1.0 +X=3.2 //4.2 - XZIG Y=1.25 if [ "${1}" == "set" ]; then + paxi move $XZIG 0 paxi move 0 $Y paxi move $X 0 elif [ "${1}" == "reset" ]; then paxi move -$X 0 paxi move 0 -$Y + paxi move -$XZIG 0 fi \ No newline at end of file