Inertial rotation vs heading?

Hello forumers…
I’m currently coding a drive straight PID and currently I have the error equaling my target heading variable minus the inertial sensor’s rotation. What is the difference between using “rotation” in this instance vs using “heading”?

- Henry 344E

1 Like

Heading goes 0-360 in the clockwise direction while rotation goes negative counter clockwise and positive clockwise and (according to vex) does not have a limit. Rotation is probably the right answer as you want error to be negative.


Okay, makes sense now. Thank you!