As part of a school project i plan creating a remote controlled vehicle which does some general environment sensing. The issue im having is that i want to fully understand how to program the wifi part before i purchase any parts. There are two parts of this i don't currently understand, firstly, is the wifi shield able to communicate with the Arduino so ii can then control a motor driver and how would i go about sending the information to the wifi shield (directions etc.) over wifi so that the shield will tell the Arduino what to do.
Just for clarification: Arduino Mega2560 Rev3 Arduino Wifi Shield Arduino Motor Shield Rev3 (Just for context)