I have built this repository for Robotex sumo competition 2026 using an Arduino based motor driver xmotion.
This project uses both: a manually written algorithm by me in C++ and a neural networks algorithm written with Python. You can activate which algorithm you want to use by changing the mode variable in main.ino.
If you want to use the neural networks and if you have different sensors then in my code to be able to use the neural network feature you need to first change the parameters defined in valuetransmitter.h as your PINs.
You can train your own model however you like by changing variables in neural_network.py => neuralNetwork class. You can also change the amount of layers you use and biases if you need to.