Looking for help with my python coding

I recently coded my robot using the vex v5 python platform. When I download my code none of the controls do anything. I’ve had numerous people with python experience ready my code and they cannot find anything wrong. Any suggestions on how to fix this problem?

1 Like

The most common cause for unresponsive controls in VEX V5 Python is that the controller needs to be configured in your program initialization. Make sure you have:

controller = Controller(PRIMARY)

Make sure you have this at the start of your program and verify that your controller is properly paired with the brain. Also double-check that your motor port assignments match your physical robot configuration.

Is everything plugged in to the right port?

Is “PRIMARY” necessary?

We can’t help you if you don’t post your code. Use backticks (```) to format it as code.