Commit 288cd22a authored by roangel's avatar roangel
Browse files

Prepared to merge branch, crazyfly support added

parent 721d79c7
......@@ -69,22 +69,7 @@ void MainGUIWindow::_init()
scene->setSceneRect(-100 * FROM_METERS_TO_UNITS, -100 * FROM_METERS_TO_UNITS, 200 * FROM_METERS_TO_UNITS, 200 * FROM_METERS_TO_UNITS);
ui->graphicsView->setScene(scene);
// QPixmap pixmap(":/images/drone.png");
// drone_image = new QGraphicsPixmapItem(pixmap);
// drone_image->setPos(-200,200);
// drone_image_svg->setTransformOriginPoint(b_rect.width()/2, b_rect.height()/2);
// // drone_image_svg->setScale(0.25);
// drone_image_svg->setRotation(20);
// scene->addItem(drone_image_svg);
// scene->addItem(drone_image);
crazyFly_1 = new crazyFly(QPointF(50,50));
// crazyFly_1->setRotation(45);
// crazyFly_1->setPos(0,0);
scene->addItem(crazyFly_1);
QObject::connect(ui->tabWidget, SIGNAL(tabCloseRequested(int)), scene, SLOT(removeCrazyFlyZone(int)));
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment