Skip to content
Snippets Groups Projects
Commit 3ab018a6 authored by Cole Hunt's avatar Cole Hunt
Browse files

Updates cflieCopter object with new TestStand

See Issue #145
parent bbbf68c9
No related branches found
No related tags found
2 merge requests!109Final sdmay24-32 merge to master,!102Adds TestStand class to r/w cmds for testStand
......@@ -203,10 +203,10 @@ int main(int argc, char** argv) {
if(selectedPort.compare("n/a")) {
serial::Serial * test_stand_ptr = new serial::Serial(selectedPort, 9600);
test_stand_ptr->setTimeout(0, 200, 0, 200, 0);
crazyflie_info[i].cflieCopter->setTestStand(test_stand_ptr);
crazyflie_info[i].cflieCopter->testStand.setSerialInterface(test_stand_ptr);
}
else {
crazyflie_info[i].cflieCopter->setTestStand(NULL);
crazyflie_info[i].cflieCopter->testStand.setSerialInterface(NULL);
}
// Check the controller type
......
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