Showing the changes to interface/src/SerialInterface.cpp (1 of 1 file). Show all
Unified · Split
| @@ -5,18 +5,23 @@ · 4 unmodified lines | ||
| 5 | 5 | // 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 | 8 | #ifdef __APPLE__ |
| 15 | 9 | #include <regex.h> |
| 16 | 10 | #include <sys/time.h> |
| 17 | 11 | #include <string> |
| 18 | 12 | #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 | + | |
| 20 | 25 | const short NO_READ_MAXIMUM_MSECS = 3000; |
| 21 | 26 | const int GRAVITY_SAMPLES = 60; // Use the first few samples to baseline values |
| 22 | 27 | const int SENSOR_FUSION_SAMPLES = 20; |