From ce686aae9fcd2411c85792635880fe4d91ea7c21 Mon Sep 17 00:00:00 2001
From: bitcraze <c-glick>
Date: Fri, 11 Mar 2022 03:07:22 +0100
Subject: [PATCH] Changed socket paths to relative

---
 groundStation/adapters/crazyflie/src/cf_adapter.c | 2 +-
 groundStation/src/backend/config.c                | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/groundStation/adapters/crazyflie/src/cf_adapter.c b/groundStation/adapters/crazyflie/src/cf_adapter.c
index eaf8f4287..84871e5b4 100644
--- a/groundStation/adapters/crazyflie/src/cf_adapter.c
+++ b/groundStation/adapters/crazyflie/src/cf_adapter.c
@@ -5,7 +5,7 @@
 
 //socket that the crazyflie groundstation will read from, check the README for information
 //on how to setup this path.
-#define DEFAULT_ADAPTER_SOCKET "/home/bitcraze/projects/crazyflie_groundstation.socket"
+#define DEFAULT_ADAPTER_SOCKET "../../../crazyflie_groundstation/crazyflie_groundstation.socket"
 //#define DEFAULT_ADAPTER_SOCKET "./crazyflie_groundstation.socket"
 #define SOCKET_ENV "ADAPTER_SOCKET"
 
diff --git a/groundStation/src/backend/config.c b/groundStation/src/backend/config.c
index a7287220f..444e15734 100644
--- a/groundStation/src/backend/config.c
+++ b/groundStation/src/backend/config.c
@@ -23,8 +23,8 @@ trackable_t trackables[] = {
         0,
         //Adapter Variables
         1,
-        "/home/bitcraze/projects/microCART/MicroCART/groundStation/adapters/crazyflie/", 
-        "/home/bitcraze/projects/microCART/MicroCART/groundStation/adapters/crazyflie/cf_adapter.socket", 
+        "./adapters/crazyflie/", 
+        "./adapters/crazyflie/cf_adapter.socket", 
         NULL,
         //Local Communication Variables
         0, //Set to 1 if Intending to use local Fifo
-- 
GitLab