Hi so I have been working on making sure my interictal sensor can accurately turn but I have now ran into a slight issue with it. every time I run the code it turns the robot to the degree I want it to but can never move frontwards or backwards. So to sum it all up my issue is that after my robot turns using my code it stops and just wont move it wont turn and it wont drive forwards and backward. I have also tried adding the drive forwards block but when I do it just infinitely moves forwards so I have been wondering if anyone knows how to fix this issue and thank you.
This is the code