My team is currently working on an autonomous heavyweight sumo robot for the National Robotics Challenge. We are making a custom built robot using the Vex micro, 4 vex ultrasonic sensors and 3 vex line sensors. I have a few questions regarding the ability of the controller and some coding.
First of all, does anyone know if the vex controller can be used for that purpose; that is, running an autonomous robot without any use of rx transmission.
Secondly, I downloaded a trail copy of EasyC Pro and wrote a rather long piece of code that basically incorporated all 4 vex ultras and 3 line sensors. The basic flow of the program was that I would take a reading with the first, if nothing comes up, then take a reading with the second, and if nothing comes up then take a reading with the other one and so on. All of that is in a “While” loop that takes a reading from the line sensors. If the line sensors trip, then it jumps to another piece of code.
What I wanted to know was if there was someone experienced in coding who could look over my code and see if it makes sense, since I wrote the code without having the actual robot. And also if there was any way of simplifying my code.
Please respond and I will send you the code if you want to help
I would really appreciate all the help I can get on this,
Thanks in advance Sumo code.zip (20.7 KB)