A moving robot has a body and at least one wheel for moving the main body. The moving robot has a transceiver to communicate with a plurality of location information transmitters located within an area. The moving robot also has a memory storing coordinate information regarding positions of the location information transmitters. Further, the moving robot has a controller that sets a virtual boundary based on location information determined using signals transmitted by the location information transmitters. The controller controls the wheel so that the main body is prevented from traveling outside the virtual boundary. The controller sets a reference location information transmitter and corrects the stored coordinate information by correcting height errors based on height differences between the reference location information transmitter and the other location information transmitters. The controller also corrects a current position of the main body based on the corrected stored coordinate information.