Skip to content

Commit

Permalink
Added includes
Browse files Browse the repository at this point in the history
  • Loading branch information
erinharrington-12 committed Apr 16, 2024
1 parent 0632bb9 commit 2a50bb8
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions src/Create3Widget.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#include "Create3Widget.h"
#include "ui_Create3Widget.h"
#include "Create3SensorListWidget.h"

#include "kj/exception.h"
#include "Create3SensorModel.h"
#include <kipr/create3/client/client.h>
#include <unistd.h>
Expand All @@ -17,7 +17,7 @@
#include <QPainter>
#include <QItemDelegate>
#include "RootController.h"

#include "kipr/create3/create3.capnp.h"
int exampleIndex;
QStringList programList;

Expand Down Expand Up @@ -372,6 +372,7 @@ void Create3Widget::indexChanged(int index)

void Create3Widget::run()
{

exampleIndex = ui->exampleComboBox->currentIndex();
switch (exampleIndex)
{
Expand Down Expand Up @@ -544,10 +545,13 @@ void Create3Widget::run()
create3_wait();

printf("Done!\n");


}
catch (const std::exception &e)
// catch (const std::exception &e)
catch (const kj::Exception &e)
{
std::cerr << e.what() << '\n';
std::cerr << e << '\n';
}

break;
Expand Down

0 comments on commit 2a50bb8

Please sign in to comment.