Quick attpemt to fix logging code

This commit is contained in:
Philip Rosedale 2013-04-18 07:48:57 -07:00
parent 8e19caf21c
commit a834c52b40
2 changed files with 3 additions and 2 deletions

View file

@ -19,6 +19,7 @@
#ifdef __APPLE__
#include <regex.h>
#include <sys/time.h>
#include <string>
#endif
int serialFd;
@ -208,7 +209,7 @@ void SerialInterface::readData() {
}
if (totalSamples == GRAVITY_SAMPLES) {
gravity = glm::normalize(gravity);
printLof("gravity: %f,%f,%f\n", gravity.x, gravity.y, gravity.z);
//printLof("gravity: %f,%f,%f\n", gravity.x, gravity.y, gravity.z);
}
totalSamples++;

View file

@ -229,4 +229,4 @@ std::ostream& operator<<(std::ostream& os, const Agent* agent) {
":" << ntohs(agentPublicSocket->sin_port) << " LA: " << inet_ntoa(agentLocalSocket->sin_addr) <<
":" << ntohs(agentLocalSocket->sin_port);
return os;
}
}