From bbbf68c9c121bd1fa3457c4b8a7c2cc943304d58 Mon Sep 17 00:00:00 2001
From: crhunt <crhunt@iastate.edu>
Date: Mon, 6 Feb 2023 01:06:31 -0600
Subject: [PATCH] Adds testStand object to CCrazyflie class

See Issue #145
---
 crazyflie_groundstation/inc/CCrazyflie.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/crazyflie_groundstation/inc/CCrazyflie.h b/crazyflie_groundstation/inc/CCrazyflie.h
index 8530f364d..f8098107f 100644
--- a/crazyflie_groundstation/inc/CCrazyflie.h
+++ b/crazyflie_groundstation/inc/CCrazyflie.h
@@ -52,6 +52,7 @@
 #include "serial/serial.h"
 #include "vrpn_Connection.h"
 #include "vrpn_Tracker.h"
+#include "testStand.h"
 
 
 // Ports defined for the CRTP protocol
@@ -298,7 +299,7 @@ class CCrazyflie {
     CTOC *m_tocParameters;
     CTOC *m_tocLogs;
     int testStandError = 0;
-    serial::Serial * test_stand;
+    TestStand testStand;
     bool allowLogging = false;
 
   CCrazyflie(CCrazyRadio *crRadio, int radioChannel, XferRate dataRate, int quadNum, double startTime);
-- 
GitLab