Hi. I've been playing around with the arduino nicla sense me and all the sensors. I have been able to read data from all of the sensors, but I haven't been able to read the quaternions. They just show up as zeros. Any suggestions? I'm using the code from the cheat sheet that looks like this:
#include "Arduino_BHY2.h"
SensorQuaternion quaternion(SENSOR_ID_RV);
void setup(){
Serial.begin(115200);
BHY2.begin();
quaternion.begin();
}
void loop(){
BHY2.update();
Serial.println(quaternion.w());
delay(500);
}