Inertial Sensor help

So, I am trying to program the Inertial Sensor. I am confused what the Inertial1.rotation() reads, does it read the 0 to 360 degrees or something else?

Thank you in advance! :grin:
According to this, the value returned is a double (or a value that contains decimal places).
And if you’re confused, Rotation is explained here:

To simplify, if you rotate the robot 530.4 degrees to the right, Inertial.Heading() will return “530.4” and not “170.4”.


Thank you so much, this was very helpful!

1 Like