ESP32 is one of the best robot controllers for small projects because Wi-Fi makes debugging easy. You can expose a browser UI, log sensor values and tune behavior without extra hardware.
The main mistake is powering motors from the board. Keep motor power separate, use a buck converter for logic and connect grounds correctly.