mirror of
https://github.com/SlimeVR/SlimeVR-Tracker-ESP.git
synced 2026-04-06 02:01:57 +02:00
Added more UART debug
This commit is contained in:
@@ -64,6 +64,16 @@ void BNO080Sensor::sendData() {
|
||||
if(newData) {
|
||||
newData = false;
|
||||
sendQuat(&quaternion, PACKET_ROTATION);
|
||||
#ifdef FULL_DEBUG
|
||||
Serial.print("Quaternion: ");
|
||||
Serial.print(quaternion.x);
|
||||
Serial.print(",");
|
||||
Serial.print(quaternion.y);
|
||||
Serial.print(",");
|
||||
Serial.print(quaternion.z);
|
||||
Serial.print(",");
|
||||
Serial.println(quaternion.w);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -21,6 +21,8 @@
|
||||
THE SOFTWARE.
|
||||
*/
|
||||
|
||||
#define FULL_DEBUG 1
|
||||
|
||||
#define IMU_MPU9250 1
|
||||
#define IMU_MPU6500 2
|
||||
#define IMU_BNO080 3
|
||||
|
||||
Reference in New Issue
Block a user