I am trying to make a function that moves the robot forward until a rotation sensor reaches a certain angle, but all the function to get the position returns is zero. I am not using LemLib or anything, and this is in C.
what does the ODOM in the arguments for all your rotation sensor stuff do? Looks like in the pros C api you just put the port number there?
the ODOM is just a macro for the port that the rotation sensor is plugged in to.
1 Like