Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/SparkFun_BNO080_Arduino_Library.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ float BNO080::getQuatReal()
//Return the rotation vector accuracy
float BNO080::getQuatRadianAccuracy()
{
float quat = qToFloat(rawQuatRadianAccuracy, rotationVector_Q1);
float quat = qToFloat(rawQuatRadianAccuracy, rotationVectorAccuracy_Q1);
return (quat);
}

Expand Down
1 change: 1 addition & 0 deletions src/SparkFun_BNO080_Arduino_Library.h
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,7 @@ class BNO080
//These Q values are defined in the datasheet but can also be obtained by querying the meta data records
//See the read metadata example for more info
int16_t rotationVector_Q1 = 14;
int16_t rotationVectorAccuracy_Q1 = 12; //Heading accuracy estimate in radians. The Q point is 12.
int16_t accelerometer_Q1 = 8;
int16_t linear_accelerometer_Q1 = 8;
int16_t gyro_Q1 = 9;
Expand Down