I'm building a simple motorized vehicle that I wish to make autonomous through the use of neural networks. I am using Arduino as I am new to electronics but more experienced in programming. I'm sure there are much more powerful microcontrollers out there, but for my purposes (and funds) an Arduino Mega 2560 is what I would prefer to use (and I already have one). Now I suspect that the Mega, even though it is far more capable than an Uno or similarly small Arduino boards, is not capable of running a neural network that take inputs from a decently numbered array of sensors and generates several outputs (maybe 5?).
My idea, then, is to run the neural network on my phone if it is fast enough, or my desktop computer if not. Either way, I figured the best way to transmit the input and output data back and forth between the external processing unit (phone/desktop) and the Arduino will be WiFi. I saw a YouTube video of someone controlling an RC car with an android app they created, transmitting data through WiFi, and while a bit laggy for RC purposes, it seemed to be within 1 second of latency.
Does anyone know if WiFi would be fast/reliable enough to control a little autonomous vehicle? Assume that it will be traveling about the pace of an adult human walking, and reacting to its surroundings based on sonar sweeping. (Latency of data transmission will be important because the sonar data will have to be processed by the computer, but ideally the robot will keep moving without slowing down or stopping to wait for the data.)
1
if the sensor detects something or0
if it doesnt. The rest will have to be calculated based on the sensory data before it can be passed into the neural network. \$\endgroup\$