Skip to content

Commit

Permalink
Also log accel_z
Browse files Browse the repository at this point in the history
  • Loading branch information
kierdavis committed Mar 13, 2017
1 parent fb090f2 commit a34f75b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/imu.c
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@ void imu_read(measured_state_t *destination){
}
prev_time = curr_time;

printf("gx=%f gy=%f ax=%f ay=%f\n", gyro_x, gyro_y, accel_x, accel_y);
printf("gx=%f gy=%f ax=%f ay=%f az=%f\n", gyro_x, gyro_y, accel_x, accel_y, accel_z);

MadgwickAHRSupdateIMU(gyro_x, gyro_y, gyro_z, accel_x, accel_y, accel_z, dt);

Expand Down

0 comments on commit a34f75b

Please sign in to comment.