ok thank you for all the info yes it does follow the rotation of the sensor exact its perfect now i lowered the baud rate and it didnt get anymore nan value i think it has something to do with the sensor itself is defaulted to be 9600 and i had it at 115200 i bumped it all back to 9600 and it only errored once and that happens sometimes with the board you just gotta reset the board itself. what im trying to do is follow its movement forward and backwards and then left and right and up and down. i want the sensor to be able to follow around and also rotation i dont know what the word im looking for id but i want it move not just rotate change positions is probably what i am trying to say but im not sure. it has an accelerometer a gyroscope and a magnetometer if that helps any