mirror of
https://github.com/OSURoboticsClub/Rover_2017_2018.git
synced 2025-11-08 18:21:15 +00:00
Choppy panning and zooming working! Not the nicest, but it works.
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user