From 3427600ddd99e76bb512502e89bdce2365075784 Mon Sep 17 00:00:00 2001
From: C-Glick <colton.glick@gmail.com>
Date: Fri, 25 Mar 2022 19:17:18 -0500
Subject: [PATCH] Added nogui option to crazyCART.sh

---
 crazyCART.sh | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/crazyCART.sh b/crazyCART.sh
index c8499d6cd..8267fa759 100755
--- a/crazyCART.sh
+++ b/crazyCART.sh
@@ -57,8 +57,14 @@ BPID=$!
 #     exit
 # fi
 
-./GroundStation &
-GPID=$!
+if [ "$2" = "nogui" ]
+then
+    x-terminal-emulator .
+    GPID=$!
+else
+    ./GroundStation &
+    GPID=$!
+fi
 
 trap handler INT
 
-- 
GitLab