History

Fixed includes.

Andrzej Kapolka committed 13 years ago

Commit 8cffaf71 parent 7e34bef1 file · +11 −6Browse files

Showing the changes to interface/src/SerialInterface.cpp (1 of 1 file). Show all

Unified · Split

interface/src/SerialInterface.cpp+11−6
@@ -5,18 +5,23 @@ · 4 unmodified lines
5// Read interface data from the gyros/accelerometer Invensense board using the SerialUSB5// Read interface data from the gyros/accelerometer Invensense board using the SerialUSB
6//6//
7 7
8#include "SerialInterface.h"
9#include "SharedUtil.h"
10#include "Util.h"
11#include <glm/gtx/vector_angle.hpp>
12#include <math.h>
13
14#ifdef __APPLE__8#ifdef __APPLE__
15#include <regex.h>9#include <regex.h>
16#include <sys/time.h>10#include <sys/time.h>
17#include <string>11#include <string>
18#endif12#endif
19 13
14#include <math.h>
15
16#include <glm/gtx/vector_angle.hpp>
17
18#include <SharedUtil.h>
19
20#include "Application.h"
21#include "SerialInterface.h"
22#include "Util.h"
23#include "Webcam.h"
24
20const short NO_READ_MAXIMUM_MSECS = 3000;25const short NO_READ_MAXIMUM_MSECS = 3000;
21const int GRAVITY_SAMPLES = 60; // Use the first few samples to baseline values26const int GRAVITY_SAMPLES = 60; // Use the first few samples to baseline values
22const int SENSOR_FUSION_SAMPLES = 20;27const int SENSOR_FUSION_SAMPLES = 20;