CONTROL METHOD, CONTROL APPARATUS, AND INTELLIGENT DRIVING DEVICE
The present disclosure relates to intelligent driving methods, apparatuses, and devices. An example method includes receiving a first instruction, controlling, according to the first instruction, a first interface to display a first icon, where the first icon indicates a first boundary and a second boundary of a target area of an intelligent driving device, and controlling, based on the first icon, the intelligent driving device to travel from the first boundary or the second boundary to the target area.
1 . A method, comprising:
receiving a first instruction;
controlling, according to the first instruction, a first interface to display a first icon, wherein the first icon indicates a first boundary and a second boundary of a target area of an intelligent driving device; and
controlling, based on the first icon, the intelligent driving device to travel from the first boundary or the second boundary to the target area.
2 . The method according to claim 1 , wherein controlling the intelligent driving device to travel from the first boundary or the second boundary to the target area comprises:
when an obstacle exists on a first planned path, controlling the intelligent driving device to travel from the first boundary to the target area, wherein the first planned path indicates the intelligent driving device to travel from a current area to the target area through the second boundary; or
when an obstacle exists on a second planned path, controlling the intelligent driving device to travel from the second boundary to the target area, wherein the second planned path indicates the intelligent driving device to travel from a current area to the target area through the first boundary.
3 . The method according to claim 1 , wherein controlling, according to the first instruction, the first interface to display the first icon comprises:
controlling, according to the first instruction, the first icon to be displayed at a first location on the first interface; and
when an obstacle exists in an actual area indicated by the first location, or a distance between a boundary of the actual area and the obstacle is less than or equal to a preset distance threshold, controlling the first icon to be displayed at a second location on the first interface instead of the first location.
4 . The method according to claim 1 , wherein the method further comprises:
controlling, according to a second instruction, the first interface to display a virtual device image, wherein the virtual device image is located at a third location on the first interface, and the virtual device image indicates a current area of the intelligent driving device; and
wherein controlling, according to the first instruction, the first interface to display the first icon comprises:
controlling, according to the first instruction and based on the third location, the first icon to be displayed at a fourth location on the first interface.
5 . The method according to claim 4 , wherein the fourth location partially or completely coincides with the third location.
6 . The method according to claim 1 , wherein the target area comprises a parking area, the first interface further comprises a second icon, the second icon indicates a non-parking area, and controlling, according to the first instruction, the first interface to display the first icon comprises:
controlling, according to the first instruction, the first interface to display the first icon in a first color and to display the second icon in a second color.
7 . The method according to claim 1 , wherein the first icon indicates a first pose of the intelligent driving device in the target area, and controlling, according to the first instruction, the first interface to display the first icon comprises:
controlling, according to the first instruction, the first interface to switch from displaying a third icon to displaying the first icon, wherein the third icon indicates a second pose of the intelligent driving device in the target area.
8 . The method according to claim 7 , wherein a head orientation that is indicated by the first pose and that is of the intelligent driving device is opposite to a head orientation that is indicated by the second pose and that is of the intelligent driving device.
9 . The method according to claim 7 , wherein an included angle between a central axis that is indicated by the first pose and that is of the intelligent driving device and a central axis that is indicated by the second pose and that is of the intelligent driving device is greater than 0 degrees and less than 180 degrees.
10 . An apparatus, comprising:
at least one processor; and
at least one memory coupled to the at least one processor and storing programming instructions for execution by the at least one processor to cause the apparatus to:
receive a first instruction;
control, according to the first instruction, a first interface to display a first icon, wherein the first icon indicates a first boundary and a second boundary of a target area of an intelligent driving device; and
control, based on the first icon, the intelligent driving device to travel from the first boundary or the second boundary to the target area.
11 . The apparatus according to claim 10 , wherein the programming instructions are for execution by the at least one processor to cause the apparatus to:
when an obstacle exists on a first planned path, control the intelligent driving device to travel from the first boundary to the target area, wherein the first planned path indicates the intelligent driving device to travel from a current area to the target area through the second boundary; or
when an obstacle exists on a second planned path, control the intelligent driving device to travel from the second boundary to the target area, wherein the second planned path indicates the intelligent driving device to travel from a current area to the target area through the first boundary.
12 . The apparatus according to claim 10 , wherein the programming instructions are for execution by the at least one processor to cause the apparatus to:
control, according to the first instruction, the first icon to be displayed at a first location on the first interface; and
when an obstacle exists in an actual area indicated by the first location, or a distance between a boundary of the actual area and the obstacle is less than or equal to a preset distance threshold, control the first icon to be displayed at a second location on the first interface instead of the first location.
13 . The apparatus according to claim 10 , wherein the programming instructions are for execution by the at least one processor to cause the apparatus to:
control, according to a second instruction, the first interface to display a virtual device image, wherein the virtual device image is located at a third location on the first interface, and the virtual device image indicates a current area of the intelligent driving device; and
control, according to the first instruction and based on the third location, the first icon to be displayed at a fourth location on the first interface.
14 . The apparatus according to claim 13 , wherein the fourth location partially or completely coincides with the third location.
15 . The apparatus according to claim 10 , wherein the target area comprises a parking area, the first interface further comprises a second icon, the second icon indicates a non-parking area, and wherein the programming instructions are for execution by the at least one processor to cause the apparatus to:
control, according to the first instruction, the first interface to display the first icon in a first color and to display the second icon in a second color.
16 . The apparatus according to claim 10 , wherein the first icon indicates a first pose of the intelligent driving device in the target area, and wherein the programming instructions are for execution by the at least one processor to cause the apparatus to:
control, according to the first instruction, the first interface to switch from displaying a third icon to displaying the first icon, wherein the third icon indicates a second pose of the intelligent driving device in the target area.
17 . The apparatus according to claim 16 , wherein a head orientation that is indicated by the first pose and that is of the intelligent driving device is opposite to a head orientation that is indicated by the second pose and that is of the intelligent driving device.
18 . The apparatus according to claim 16 , wherein an included angle between a central axis that is indicated by the first pose and that is of the intelligent driving device and a central axis that is indicated by the second pose and that is of the intelligent driving device is greater than 0 degrees and less than 180 degrees.
19 . A non-transitory storage medium storing a program which, when executed by one or more processors, causes the one or more processors to perform operations comprising:
receiving a first instruction;
controlling, according to the first instruction, a first interface to display a first icon, wherein the first icon indicates a first boundary and a second boundary of a target area of an intelligent driving device; and
controlling, based on the first icon, the intelligent driving device to travel from the first boundary or the second boundary to the target area.
20 . The non-transitory storage medium according to claim 19 , wherein the operations further comprise:
when an obstacle exists on a first planned path, controlling the intelligent driving device to travel from the first boundary to the target area, wherein the first planned path indicates the intelligent driving device to travel from a current area to the target area through the second boundary; or
when an obstacle exists on a second planned path, controlling the intelligent driving device to travel from the second boundary to the target area, wherein the second planned path indicates the intelligent driving device to travel from a current area to the target area through the first boundary.