CPC G05D 1/0234 (2013.01) [G05D 1/0016 (2013.01); G06F 3/04847 (2013.01); G06T 7/70 (2017.01); G06T 19/006 (2013.01); G06T 2207/30204 (2013.01)] | 17 Claims |
1. An electronic device for controlling a robot, the electronic device comprising:
a wireless communication unit;
a camera;
a touch display;
a memory; and
a processor operatively connected to the wireless communication unit, the camera, the touch display, and the memory,
wherein the processor is configured to:
recognize a marker of the robot photographed using the camera,
generate a grid-shaped indicator of a space around the recognized robot with respect to coordinates at which the robot is located, wherein the grid-shaped indicator divides the space into a plurality of cells including a first cell where the robot is recognized to be located,
generate, based on receiving a touch input on a second cell among the plurality of cells on the touch display, a virtual robot on the grid-shaped indicator,
acquire location information for moving the robot from the first cell to the second cell,
display a predicted movement path through which the robot is moved to a location corresponding to the acquired location information, and
transmit the acquired location information to the robot to move the robot to the location corresponding to the acquired location information.
|