double2double / ardupilot-mega

Automatically exported from code.google.com/p/ardupilot-mega
0 stars 0 forks source link

IMU test display error #165

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. setup test menu > imu test

What is the expected output? What do you see instead?
expected 359
got -295
test_imu need yaw_sensor changed to long type from uint16
ie 
Serial.printf_P(PSTR("r: %d\tp: %d\t y: %d\n"), ((int)roll_sensor/100), 
((int)pitch_sensor/100), ((long)yaw_sensor/100));

Please use labels and text to provide additional information.

Original issue reported on code.google.com by Meee...@gmail.com on 3 Oct 2010 at 9:43

GoogleCodeExporter commented 8 years ago
Thanks!

Original comment by jasonshort on 5 Oct 2010 at 7:43

GoogleCodeExporter commented 8 years ago
Huh, I fixed that once before....  R1135 in the branch.  I guess it didn't get 
into the trunk....

Original comment by dewei...@gmail.com on 5 Oct 2010 at 10:49