Skip to content
Snippets Groups Projects
Commit f25cc440 authored by Satoshi Kataoka's avatar Satoshi Kataoka
Browse files

Fix debug logs

Change-Id: Ie7dc32f28915df62a7c31bdaed38c0ad7a4b0f1c
parent 1ce96fec
No related branches found
No related tags found
No related merge requests found
...@@ -294,8 +294,9 @@ void ProximityInfoState::initInputParams(const int pointerId, const float maxPoi ...@@ -294,8 +294,9 @@ void ProximityInfoState::initInputParams(const int pointerId, const float maxPoi
sampledY << ";"; sampledY << ";";
} }
} }
AKLOGI("\n%s, %s,\n%s, %s,\n", originalX.str().c_str(), originalY.str().c_str(), AKLOGI("original points:\n%s, %s,\nsampled points:\n%s, %s,\n",
sampledX.str().c_str(), sampledY.str().c_str()); originalX.str().c_str(), originalY.str().c_str(), sampledX.str().c_str(),
sampledY.str().c_str());
} }
// end // end
/////////////////////// ///////////////////////
...@@ -925,8 +926,7 @@ void ProximityInfoState::updateAlignPointProbabilities(const int start) { ...@@ -925,8 +926,7 @@ void ProximityInfoState::updateAlignPointProbabilities(const int start) {
for (int i = 0; i < mInputSize; ++i) { for (int i = 0; i < mInputSize; ++i) {
std::stringstream sstream; std::stringstream sstream;
sstream << i << ", "; sstream << i << ", ";
sstream << "("<< mInputXs[i] << ", "; sstream << "(" << mInputXs[i] << ", " << mInputYs[i] << "), ";
sstream << ", "<< mInputYs[i] << "), ";
sstream << "Speed: "<< getRelativeSpeed(i) << ", "; sstream << "Speed: "<< getRelativeSpeed(i) << ", ";
sstream << "Angle: "<< getPointAngle(i) << ", \n"; sstream << "Angle: "<< getPointAngle(i) << ", \n";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment