pull/35/head
13195980010 3 years ago
parent d2a1fa26e3
commit 270b5519ae

@ -10,7 +10,11 @@ MainWindow::MainWindow(int argc, char **argv, QWidget *parent) :
qnode.init();
ui->setupUi(this);
initUis();
timer = new QTimer(this);
connections();
}
MainWindow::~MainWindow()
@ -151,6 +155,9 @@ void MainWindow::connections(){
ui->stackedWidget_ros_control->setCurrentIndex(0);
});
//label -> stream
connect(timer, SIGNAL(timeout()), this, SLOT(importFrame()));
/*
*
*/
@ -374,7 +381,7 @@ void MainWindow::importFrame()
void MainWindow::on_Open_receive_clicked()
{
capture.open(1);
capture.open(0);
//capture.open("udp://@0.0.0.0:11111");
timer->start(30);
}

Loading…
Cancel
Save