mirror of
https://github.com/lubosz/overte.git
synced 2025-04-24 07:13:57 +02:00
Quick attpemt to fix logging code
This commit is contained in:
parent
8e19caf21c
commit
a834c52b40
2 changed files with 3 additions and 2 deletions
|
@ -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++;
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue