First things first, I have made this line of code:
By itself, it works fine, turning left automatically.
However, when applied as a function in this code:
(the reason why it is defined as a “turn right” code is because those values are then reversed by the velocity function)
If tested in this function, the robot simply goes forward but does not turn. What’s going on?