From e646abe77e0715839a947a743f4e8a52abf29271 Mon Sep 17 00:00:00 2001 From: mmattmcw Date: Thu, 5 Aug 2021 10:56:27 -0400 Subject: [PATCH] Add a position script --- position.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 position.sh diff --git a/position.sh b/position.sh new file mode 100644 index 0000000..d294f0a --- /dev/null +++ b/position.sh @@ -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 \ No newline at end of file