a lot!!! of changes
added main menu added debug display many debug widgets for plotting live data worked on android live sensors added offline-data sensor feeding some dummy data sensors worked on the map display added ui debug for grid-points, particles and weights added a cool dude to display the estimation added real filtering based on the Indoor components c++11 fixes for android compilation online and offline filtering support new resampling technique for testing map loading via dialog
This commit is contained in:
37
ui/debug/plot/PlottWidget.cpp
Normal file
37
ui/debug/plot/PlottWidget.cpp
Normal file
@@ -0,0 +1,37 @@
|
||||
#include "PlottWidget.h"
|
||||
|
||||
#include <QResizeEvent>
|
||||
#include <QPaintEvent>
|
||||
#include <QPainter>
|
||||
|
||||
PlotWidget::PlotWidget(QWidget *parent) : QWidget(parent) {
|
||||
|
||||
setMinimumSize(100, 100);
|
||||
|
||||
// LinePlot* lp = new LinePlot();
|
||||
// pc.addPlot(lp);
|
||||
|
||||
// lp->getData().add(1, 1);
|
||||
// lp->getData().add(2, 2);
|
||||
// lp->getData().add(3, 3);
|
||||
// lp->getData().add(4, 1);
|
||||
// lp->getData().add(5, 2);
|
||||
// lp->getData().add(6, 3);
|
||||
// lp->getData().add(7, 1);
|
||||
// lp->getData().add(8, 2);
|
||||
// lp->getData().add(9, 3);
|
||||
|
||||
|
||||
}
|
||||
|
||||
void PlotWidget::resizeEvent(QResizeEvent* evt) {
|
||||
(void) evt;
|
||||
pc.resize(width(), height());
|
||||
}
|
||||
|
||||
void PlotWidget::paintEvent(QPaintEvent* evt) {
|
||||
(void) evt;
|
||||
QPainter p(this);
|
||||
pc.render(p);
|
||||
p.end();
|
||||
}
|
||||
Reference in New Issue
Block a user