Choppy panning and zooming working! Not the nicest, but it works.

This commit is contained in:
2018-07-28 15:11:32 -07:00
parent 9d3969f9e4
commit 6ff6068759
6 changed files with 101 additions and 29 deletions

View File

@@ -163,7 +163,7 @@ void send_imu_stream_line(JsonObject &root) {
JsonObject& imu_object = root.createNestedObject("imu");
quat = bno.getQuat();
linear_accel = bno.getVector(Adafruit_BNO055::VECTOR_LINEARACCEL);
linear_accel = bno.getVector(Adafruit_BNO055::VECTOR_ACCELEROMETER);
angular_vel = bno.getVector(Adafruit_BNO055::VECTOR_GYROSCOPE);
imu_object["ox"] = quat.x();