Robot spinning right for no reason

Robot start to spin automatically without touching controller at the start of program and continues to spin until it stopped for a second and continues spinning to the right side. What is the problem, I have no clue

Would be helpful to see the code that’s causing this


I have the same issue with mechnum wheels

Remove the part that makes to spin the motors before the forever loop, and also there are 2 forever loops, you might want to put all of the code into 1 forever loop.