Integrate image code into RobotMain