Managing communications between robots and controllers