Having an Arduino just to CONTROL DC Motors in Robot

ZaidPirwani wrote 07/11/2016 at 19:51 0 points

So, I am working on a small robot for my MS research work, implementation of basic Mobile robot algorithms for lab use and student work - 

https://hackaday.io/project/12583-musafir-mobile-robot-for-academic-research

The approach i am wanting to go with is to have a separate Arduino Nano to control the 2 differential drive motors of the robot. The Nano will be sent commands, velocity/position/acceleration etc by serial from a main controller.

The motors have Encoders and are geared DC motors (12V) - so what would be the best approach here, this is so that the Arduino Nano runs its own PID loop or any other sort of feedback control mechanism and the main controller can just send commands to it to control the motors and to ask about current position.

WHATS YOUR ADVICE/SUGGESTION FOR THIS.???
any similar projects? links? ideas?