From 276710769670f32e97c83efc36f0a2639d3b3a83 Mon Sep 17 00:00:00 2001 From: zeisele <zeisele@iastate.edu> Date: Wed, 23 Mar 2022 04:16:48 +0100 Subject: [PATCH] serial change --- .../src/ccrazyflie/CCrazyflie_loggingFuncs.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/crazyflie_groundstation/src/ccrazyflie/CCrazyflie_loggingFuncs.cpp b/crazyflie_groundstation/src/ccrazyflie/CCrazyflie_loggingFuncs.cpp index a786c9f4e..621fee8e4 100644 --- a/crazyflie_groundstation/src/ccrazyflie/CCrazyflie_loggingFuncs.cpp +++ b/crazyflie_groundstation/src/ccrazyflie/CCrazyflie_loggingFuncs.cpp @@ -204,6 +204,7 @@ double CCrazyflie::readTestStand() { if(this->test_stand == NULL) { return std::numeric_limits<double>::quiet_NaN(); } + /* uint8_t buffer[8]; int nlNum = 0; std::string result = ""; @@ -235,6 +236,9 @@ double CCrazyflie::readTestStand() { } } } + */ + std::string result = ""; + result = this->test_stand->readline(); double value; try { value = std::stod(result); -- GitLab