Hi all. Is there anyone who can please assist our team with our code issues? Our code is python and won’t let us download code as it says there is a “download error” with “26 problems”. Below are pictures of our main code and auton code. How do we remove these “26 problems” without changing what our code does? Please let me know if I need to provide more information or pictures of our code.
That seems to be C++ code.
Hi.
I don’t know if it is elsewhere in your code but I can’t see where you have declared you brain? In my code I have the following:
brain brain1; //Declare your robot’s brain
brain1.Screen.clearScreen(); //Use the declared brain when calling clearScreen method
Also, your code is C++, as shown by the file name having .cpp in the name.
Ahh yes, one of my most favorite problems.
The issue is that the autons.cpp has no declaration of
including vex.h
and
using namespace vex,
but they cannot be defined twice in the same program.
This is a common problem when using seperate .cpp or header files for different functions in the same program.
To be sure about my theory, can you send us a screenshot of the first twenty lines of code in each the main and autons?
Make sure you have the “#include example” line at the top of your code. It may be that you don’t have robot-config.c+ or something like that. Hope this helps ![]()





