Can someone tell what I did wrong here

1 Like

Bad indentation. It doesn’t see degR for those motor commands because they are not in the function.

2 Likes

all the lines in the function need to be indented, and if the functions don’t run then, try removing the pass

1 Like