fixed graphics in experiments using subfig package

This commit is contained in:
toni
2020-01-28 14:52:31 +01:00
parent 1a2ccec00a
commit 89157b6683
7 changed files with 34 additions and 30 deletions

View File

@@ -50,9 +50,10 @@ FILE(GLOB SOURCES
main.cpp
mainTrilat.cpp
mainProb.cpp
mainPlotting.cpp
Eval.cpp
FtmKalman.cpp
trilateration.cpp
trilateration.cpp
)

View File

@@ -16,7 +16,7 @@ namespace Settings {
const bool PlotToPng = false;
const bool UseKalman = false;
const bool UseRSSI = false;
const bool UseRSSI = true;
/** describes one dataset (map, training, parameter-estimation, ...) */

View File

@@ -333,7 +333,6 @@ static CombinedStats<float> run(Settings::DataSetup setup, int walkIdx, std::str
{
plot.addCircle(10000 + nucConfig.second.ID, nucConfig.second.position.xy(), 0.1);
}
plot.plot();
// particle-filter
const int numParticles = 5000;
@@ -716,6 +715,11 @@ int main(int argc, char** argv)
std::cout << "Trilateration" << "\n";
return mainTrilat(argc, argv);
}
else if (args.hasFlag("plot"))
{
std::cout << "Plotting" << "\n";
return mainPlotting(argc, argv);
}
CombinedStats<float> statsAVG;
CombinedStats<float> statsMedian;

View File

@@ -3,3 +3,5 @@
int mainTrilat(int argc, char** argv);
int mainProp(int argc, char** argv);
int mainPlotting(int argc, char** argv);