Fetching codes Control codes are fetched from the RF modem hadware. Move robot Issue movement commands, if any, to the robot mechanics hardware. Checking proximity Check wall proximity sensor and send info back to the server via the RF modem. Check robot proximity Check to see if another robot is in proximity. If so, send a trouble code to the server and wait for it to be cleared before re-initializing the system.
Low battery Check the battery power.
If it is low, send a trouble code to the server and wait for it to be cleared before re-initializing the system. If it is fine, loop back to fetch more codes.