Add a position script

This commit is contained in:
Matt McWilliams 2021-08-05 10:56:27 -04:00
parent c34c2e3b6d
commit e646abe77e
1 changed files with 12 additions and 0 deletions

12
position.sh Normal file
View File

@ -0,0 +1,12 @@
#!/bin/bash
X=4.2
Y=1.25
if [ "${1}" == "set" ]; then
paxi move $X 0
paxi move 0 $Y
else if [ "${1}" == "reset" ]; then
paxi move -$X 0
paxi move 0 -$Y
fi