Add a zig zag motion to dodge the pegs on the peg bar
This commit is contained in:
parent
a08078fee0
commit
14315a80b3
|
@ -1,12 +1,15 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
X=4.2
|
XZIG=1.0
|
||||||
|
X=3.2 //4.2 - XZIG
|
||||||
Y=1.25
|
Y=1.25
|
||||||
|
|
||||||
if [ "${1}" == "set" ]; then
|
if [ "${1}" == "set" ]; then
|
||||||
|
paxi move $XZIG 0
|
||||||
paxi move 0 $Y
|
paxi move 0 $Y
|
||||||
paxi move $X 0
|
paxi move $X 0
|
||||||
elif [ "${1}" == "reset" ]; then
|
elif [ "${1}" == "reset" ]; then
|
||||||
paxi move -$X 0
|
paxi move -$X 0
|
||||||
paxi move 0 -$Y
|
paxi move 0 -$Y
|
||||||
|
paxi move -$XZIG 0
|
||||||
fi
|
fi
|
Loading…
Reference in New Issue