i need urgent help for me to do a source code for sumo robot....
this robot will compete with other robots...robot able to push the other robot out of the line and if still inside the white line then it is counted as a winner.
i use line detector sensor, motor and other line detector for detect opponent.
Besides that, it is impossible to write fully working code without having the hardware at hand. I would not enter a competition with a code I copy-pasted from internet. That would be just stupid.
the robot will be in one area of a circle and can move forward, back, left and right.
It will try to push the other robot out of the line.
circuit available to hardware detection circuit that can be in a circle, the motor to move or push the enemy and the second detector circuit that can detect the presence of enemy