Inertial sensor doesnt set heading properly

dashboard shows roll, pitch and yaw in addition to raw gyro and accelerometer data. Which angle are you having trouble with ?