When I do a system rest (at any place in the program) both sensors return wrong values.
Then something is wrong with the code. In my autonomous robot, a BNO055 "system reset" is performed at bootup and the pre-calculated calibration vectors for the installation are written. After that, put the BNO055 into the appropriate run mode, and it works quite well.