little parameter changes while testing performance

This commit is contained in:
toni
2016-10-01 17:08:21 +02:00
parent 5eb8486bff
commit a4a8593023
6 changed files with 13 additions and 6 deletions

View File

@@ -50,7 +50,9 @@ private:
#ifdef ANDROID
//Log::add("SLWA", "calling android with lon/lat/floor");
int res = QAndroidJniObject::callStaticMethod<int>("indoor/java/StepLoggerClient", "log", "(DDD)I", x, y, std::round(z));
double rounded_z = std::round(z);
int res = QAndroidJniObject::callStaticMethod<int>("indoor/java/StepLoggerClient", "log", "(DDD)I", x, y, rounded_z);
//if (res != 1337) {throw Exception("invalid return code while sending the current position to StepLogger.\nService Down?");}
#endif