c++ controls for the robot (c++ version of client/server)