Skip to content
Snippets Groups Projects
Commit 27671076 authored by Zach Eisele's avatar Zach Eisele
Browse files

serial change

parent 120d7f89
No related branches found
No related tags found
3 merge requests!76lots of gui updates,!75Lost of gui updates,!74lots of gui updates among others
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment