Use teamviewer to access to a raspberry inside the robot, then put this arduino software inside one Arduino Mega, the 5V programs is for an Arduino Nano that control the energy to activate all the arduino MEGA:
Arduinos & Processing (interface): https://drive.google.com/open?id=1zId_XQZSNPrwj1SUHOaThPm-0SuYFzya