Revision 2b220edc
Adafruit_BNO055.cpp | ||
---|---|---|
304 | 304 |
xyz[2] = ((double)z)/16.0; |
305 | 305 |
break; |
306 | 306 |
case VECTOR_GYROSCOPE: |
307 |
/* 1rps = 900 LSB */
|
|
308 |
xyz[0] = ((double)x)/900.0;
|
|
309 |
xyz[1] = ((double)y)/900.0;
|
|
310 |
xyz[2] = ((double)z)/900.0;
|
|
307 |
/* 1dps = 16 LSB */
|
|
308 |
xyz[0] = ((double)x)/16.0;
|
|
309 |
xyz[1] = ((double)y)/16.0;
|
|
310 |
xyz[2] = ((double)z)/16.0;
|
|
311 | 311 |
break; |
312 | 312 |
case VECTOR_EULER: |
313 | 313 |
/* 1 degree = 16 LSB */ |
Also available in: Unified diff