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:
29
Config.h
Normal file
29
Config.h
Normal file
@@ -0,0 +1,29 @@
|
||||
#ifndef CONFIG_H
|
||||
#define CONFIG_H
|
||||
|
||||
#include <string>
|
||||
#include <QDebug>
|
||||
|
||||
class Config {
|
||||
|
||||
public:
|
||||
|
||||
// notes
|
||||
// copy: scp -P 2222 /tmp/grid.dat kazu@192.168.24.11:/storage/sdcard1/YASMIN/maps/car/
|
||||
// all: scp -P 2222 -r /apps/android/workspace/YASMIN_DATA/* kazu@192.168.24.11:/storage/sdcard1/YASMIN/
|
||||
|
||||
/** get the directory where maps are stored */
|
||||
static inline std::string getMapDir() {
|
||||
#ifdef ANDROID
|
||||
// const std::string folder = getenv("EXTERNAL_STORAGE") + std::string("/YASMIN/maps/"); // this is NOT the sdcard?!
|
||||
// qDebug(folder.c_str());
|
||||
// return folder;
|
||||
return "/storage/sdcard1/YASMIN/maps/";
|
||||
#else
|
||||
return "/apps/android/workspace/YASMIN_DATA/maps/";
|
||||
#endif
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
#endif // CONFIG_H
|
||||
Reference in New Issue
Block a user