WO2021027966A1 - Traveling method, traveling device, and storage medium - Google Patents

Traveling method, traveling device, and storage medium Download PDF

Info

Publication number
WO2021027966A1
WO2021027966A1 PCT/CN2020/109612 CN2020109612W WO2021027966A1 WO 2021027966 A1 WO2021027966 A1 WO 2021027966A1 CN 2020109612 W CN2020109612 W CN 2020109612W WO 2021027966 A1 WO2021027966 A1 WO 2021027966A1
Authority
WO
WIPO (PCT)
Prior art keywords
target position
distance
target
traveling
travel
Prior art date
Application number
PCT/CN2020/109612
Other languages
French (fr)
Chinese (zh)
Inventor
王游
陈子冲
Original Assignee
纳恩博(常州)科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 纳恩博(常州)科技有限公司 filed Critical 纳恩博(常州)科技有限公司
Publication of WO2021027966A1 publication Critical patent/WO2021027966A1/en

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D1/00Control of position, course or altitude of land, water, air, or space vehicles, e.g. automatic pilot
    • G05D1/02Control of position or course in two dimensions
    • G05D1/021Control of position or course in two dimensions specially adapted to land vehicles
    • G05D1/0212Control of position or course in two dimensions specially adapted to land vehicles with means for defining a desired trajectory

Definitions

  • This application relates to traveling technology, and specifically to a traveling method, feasible traveling equipment and storage medium.
  • mobile devices such as robots, balance carts, and balance wheels can realize travel through autonomous navigation, or they can be controlled by control devices to realize travel.
  • the feasible advancement equipment performs route planning and control of forward, backward, turning and other travel actions according to the actual travel environment. It is necessary to constantly call computing resources and/or storage resources to maintain the feasible advancement equipment along the navigation route. Marching is a heavy burden for resources.
  • the embodiments of the present application provide a traveling method, a feasible device and a storage medium, which can at least solve the problem of a large number of resources used for autonomous navigation of a feasible device and a large resource burden in related technologies.
  • the embodiment of the present application provides a traveling method, the method includes:
  • control command at least being used to indicate the to-be-traveled distance of the accessible device
  • the obtaining at least one target location on the first route includes:
  • the sequentially traveling to each of the at least one target position to complete the to-be-traveled distance includes:
  • the distance between each of the at least two target positions and the end position corresponding to the to-be-traveled distance is changed from large to small, and the target positions are sequentially advanced.
  • the method includes:
  • the first target position and the second target position are any two adjacent target positions among the at least two target positions, and the second target position is between the end position corresponding to the distance to be traveled The distance of is smaller than the distance between the first target position and the end position corresponding to the distance to be traveled.
  • the method includes:
  • the method further includes:
  • a first route is obtained, where the first route is a target route traveled by the accessible device to complete the to-be-traveled distance, and traveling environment data of the target route Meet the predetermined condition.
  • the method before the obtaining the control command, the method further includes:
  • the obtaining control command includes:
  • the method further includes:
  • the feasible travel device is controlled to travel from the first target position to the corrected second target position.
  • the method further includes:
  • the traveling environment data meets a predetermined condition, the second target position is obtained.
  • the embodiment of the present application provides a feasible equipment, including:
  • the first obtaining unit is configured to obtain a control command, where the control command is at least used to indicate the to-be-traveled distance of the accessible device;
  • the second obtaining unit is configured to obtain a first route according to the to-be-traveled distance, wherein the first route is a route that the accessible device walks after completing the to-be-traveled distance;
  • the third obtaining unit is configured to obtain at least one target position on the first route
  • the traveling unit is configured to sequentially travel to each of the at least one target position to complete the to-be-traveled distance.
  • the third obtaining unit is configured to obtain at least two target positions on the first route
  • the traveling unit is configured to sequentially travel to the respective target positions according to the distance between each of the at least two target positions and the end position corresponding to the distance to be traveled.
  • the third obtaining unit is further configured to obtain the first target position of the first route
  • the traveling unit is further configured to control the feasible traveling equipment to travel to the first target position
  • the third obtaining unit is further configured to obtain a second target position of the first route
  • the traveling unit is further configured to control the feasible traveling device to travel from a first target position to a second target position; wherein the first target position and the second target position are among the at least two target positions The distance between any two adjacent target positions and the second target position and the end position corresponding to the distance to be traveled is smaller than the distance between the first target position and the end position corresponding to the distance to travel.
  • the third obtaining unit is further configured to obtain the first target position and the second target position;
  • the traveling unit is further configured to control the feasible traveling equipment to travel to the first target position and control the feasible traveling equipment to travel from the first target position to a second target position; wherein, the first target The position and the second target position are any two adjacent target positions of the at least two target positions, and the distance between the second target position and the end position corresponding to the distance to be traveled is smaller than the first The distance between the target position and the end position corresponding to the distance to be traveled.
  • the above scheme also includes:
  • a collection unit configured to collect travel environment data where the feasible equipment is located
  • the second obtaining unit is configured to obtain a first route when the traveling environment data collected by the collecting device satisfies a predetermined condition, wherein the first route is for the feasible traveling equipment to complete the pending travel A target route traveled by distance, and travel environment data of the target route meets the predetermined condition.
  • the device further includes:
  • the sending unit is configured to send a notification message to the remote server when the collecting unit collects traveling environment data that meets predetermined conditions;
  • the first obtaining unit is configured to receive the control command for the notification message from the remote server.
  • the above scheme also includes:
  • a correction unit configured to correct the second target position
  • the traveling unit is configured to control the feasible traveling device to travel from the first target position to the corrected second target position.
  • the above scheme also includes:
  • the third obtaining unit is configured to obtain the second target position when the traveling environment data of the accessible device is collected by the collecting unit and meets a predetermined condition.
  • the embodiment of the present application provides a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, the steps of the foregoing method are implemented.
  • the embodiment of the present application provides a feasible device including a memory, a processor, and a computer program stored on the memory and capable of running on the processor, and the processor implements the steps of the foregoing method when the program is executed.
  • the embodiments of the present application provide a traveling method, a feasible traveling device, and a storage medium.
  • the method includes: obtaining a control command, the control command being used to at least indicate the to-be-traveled distance of the accessible device; and obtaining according to the to-be-traveling distance A first route, wherein the first route is a route that the feasible travel device walks while completing the to-be-traveled distance; obtains at least one target position on the first route; sequentially travels to the at least one target position To complete the distance to be traveled.
  • the distance to be traveled indicated by the control command is completed by sequentially traveling to each target position on the first route, which is equivalent to the travel of the distance to be traveled in sections.
  • the calculation and/or storage resources that are called locally are less, which can greatly reduce the resource burden and thereby improve the travel efficiency.
  • FIG. 1 is a schematic diagram of the implementation process of the first embodiment of the traveling method provided by this application;
  • FIG. 2 is a schematic diagram of the implementation process of the second embodiment of the traveling method provided by this application.
  • FIG. 3 is a schematic diagram of the implementation process of the third embodiment of the traveling method provided by this application.
  • FIG. 4 is a schematic diagram of an embodiment of collected traveling images provided by this application.
  • FIG. 5 is a schematic diagram 1 of obtaining a target location embodiment provided in this application:
  • Fig. 6(a) and (b) are schematic diagrams for obtaining the target location embodiment provided by this application:
  • FIG. 7 is a schematic diagram of the composition structure of an embodiment of a feasible equipment provided by this application.
  • FIG. 8 is a schematic diagram of the hardware structure of an embodiment of a feasible device provided by this application.
  • the accessible equipment involved in the following embodiments of the present application may be any reasonable equipment capable of traveling, such as a robot, a balance car, a balance wheel, a scooter, etc.
  • the preferred accessible equipment is a robot.
  • the embodiments of the present application can at least solve the problem of high resource burden and low traveling efficiency caused by the need for continuous call of computing resources and storage resources for autonomous navigation of feasible devices in related technologies. In addition, it can at least solve the problem of how to efficiently and quickly realize the driving of accessible equipment when the road is straight and long.
  • the first embodiment of the traveling method provided in this application is applied to a viable device. As shown in FIG. 1, the method includes:
  • Step 101 Obtain a control command, where the control command is at least used to indicate the to-be-traveled distance of the accessible device;
  • Step 102 Obtain a first route according to the to-be-traveled distance, where the first route is a route that the viable device walks after completing the to-be-traveled distance;
  • Step 103 Obtain at least one target location on the first route
  • Step 104 Go to each of the at least one target position in sequence to complete the to-be-traveled distance.
  • the entity performing steps 101-104 is a viable device.
  • the number of the aforementioned target positions may be one, or two or more.
  • the aforementioned solution is equivalent to that the viable device travels to the end position through the target position obtained.
  • the feasible approach equipment regards the target position as an intermediate position between traveling from the current position to the end position, and the feasible approach equipment can travel from the current position to the intermediate position, and then travel from the intermediate position to the end position. position.
  • the distance between each target position in the two target positions and the end position corresponding to the distance to be traveled is determined by Larger becomes smaller, and then proceed to each target position in sequence.
  • the segmented traveling solution in the embodiment of the present application realizes the arrival of the terminal position by sequentially traveling to a target position getting closer and closer to the terminal position.
  • the solution of sequentially traveling to each of the target positions can be implemented by the following method
  • the solutions described in Example 2 and Example 3 are implemented.
  • This application provides a second embodiment of a traveling method, which is applied to a feasible traveling device. As shown in FIG. 2, the method includes:
  • Step 201 Obtain a control command, where the control command is at least used to indicate the to-be-traveled distance of the accessible device;
  • Step 202 Obtain a first target position of the first route, where the first route is a route traveled by the accessible device to complete the distance to be traveled;
  • Step 203 Control the feasible device to travel to the first target position
  • Step 204 Obtain a second target position of the first route
  • Step 205 Control the viable device to travel from the first target position to the second target position;
  • Step 206 Determine whether the second target position is a position reached by the feasible traveling device traveling to the to-be-traveled distance;
  • step 207 If it is determined to be no, go to step 207;
  • Step 207 Determine that the second target position is the first target position, and return to step 203 to continue execution until the second target position is the position reached by the feasible traveling device traveling to the to-be-traveled distance.
  • first target position and the second target position in steps 201 to 207 are any two adjacent target positions on the first route, and the end position of the second target position corresponding to the distance to be traveled is smaller than the The distance between the first target position and the end position corresponding to the distance to be traveled.
  • each target position is obtained sequentially, that is, the next target position that is closer to the end position is obtained after the travel of one of the segments is completed, which is equivalent to proceeding to the current target position.
  • a solution for obtaining a target position, and the next target position is closer to the end position than the current target position. This method of obtaining the target position is more flexible and has a wide range of applications. Routes with various complex road conditions such as long straight sections and curved sections.
  • the aforementioned solution is equivalent to the solution of obtaining the next target position while traveling.
  • This obtaining solution can obtain the next target position according to the actual traveling environment of the feasible traveling equipment, which can ensure the accuracy of obtaining the target position, and further Ensure the travel accuracy of feasible equipment.
  • This application provides a third embodiment of a traveling method, which is applied to a feasible traveling device. As shown in FIG. 3, the method includes:
  • Step 301 Obtain a control command, the control command at least being used to indicate the distance to be traveled by the accessible device;
  • Step 302 Obtain each target position of the first route, where the first route is a route that the accessible device walks after completing the distance to be traveled;
  • Step 303 Control the feasible device to travel to the first target position among the target positions;
  • Step 304 Control the viable device to travel from the first target position to a second target position adjacent to the first target position among the target positions;
  • Step 305 Determine whether the second target position is a position reached by the feasible travel equipment traveling to the to-be traveled distance;
  • step 306 If it is determined to be no, go to step 306;
  • Step 306 Determine that the second target position is the first target position, and return to step 304 to continue execution until the second target position is the feasible travel equipment to travel to the end position.
  • steps 301 to 306 the end position corresponding to the second target position and the distance to be traveled is smaller than the distance between the first target position and the end position corresponding to the distance to travel.
  • the method of sequentially traveling to each target position on the first route to the position reached by the feasible traveling device travels to the to-be-traveled distance.
  • This solution of segmenting the to-be-traveled distance is further to pass It is a plan to proceed to the target position getting closer and closer to the end position in order to achieve the end position.
  • the navigation call used in segmented travel requires less calculation and/or storage resources, which can greatly reduce resource burden and improve travel efficiency.
  • different from the method of sequentially acquiring the target positions in the foregoing method embodiment 2 in the embodiment of the present application, each target position is acquired together, and the target position is reached by driving one by one to the target position getting closer and closer to the end destination. This scheme of acquiring each target position together is more suitable for long straight sections, and can realize the efficient travel of feasible equipment on long straight sections.
  • the aforementioned solution of acquiring each target position together is more suitable for driving on a long straight road section because the target position on a long straight road section is easy to obtain, for example, the distance to be traveled by the feasible equipment indicated by the control command is at least two
  • the position (the initial position of the accessible device) when the accessible device obtains the control command is also used as the target position, then the distance between every two adjacent target positions is equal to the divided lengths
  • the distance between the starting point position and the first target position is equal to the first divided length
  • the distance between the first target position and the second target position is equal to the second divided length
  • the distance between the penultimate target location and the destination location is equal to the last length divided. It can be understood that the distance between every two adjacent target positions may be the same or different, depending on the specific situation.
  • the method further includes:
  • a first route is obtained, where the first route is a target route traveled by the accessible device to complete the distance to be traveled, and the travel environment of the target route The data meets the predetermined condition.
  • the feasible approach device is controlled to travel to the first target position according to the target route, and the feasible approach device is controlled to travel from the first target position to the second target position according to the target route.
  • the travel environment data that meets the predetermined condition may be environmental data characterized by a straight and long travel route of the device that can travel.
  • the accessible equipment can travel along the straight long road, or along a certain line of the straight long road, such as the central line of the straight long road.
  • the implementation of the scheme described in any one of the foregoing embodiments 1 to 3 is equivalent to a plan of segmented travel on a long straight section, and each segment (long straight section) is traveled separately according to the target route.
  • traveling along the target route can efficiently travel to the destination.
  • the solution of obtaining control commands as described above in the embodiments of the present application may be a control command generated by the feasible equipment in the case of collecting traveling environment data that meets predetermined conditions, and the control commands generated by each segment The autonomous navigation realizes travel to the destination.
  • the viable device may also send a notification message to a remote server and receive the control command for the notification message from the remote server when the travel environment data that meets a predetermined condition is collected.
  • the notification message is used to prompt collection of traveling environment data that meets a predetermined condition, the remote server generates and sends a control command when the notification message is received, and the feasible device receives the control command returned in response to the notification message.
  • the feasible travel device travels in segments based on the to-be-traveled distance information sent by the remote server, and the remote server only needs to send a control command once.
  • This kind of remote server only needs to send a control command once, and the device can travel to the destination in segments.
  • the remote server sends a control command to complete one part of the journey, there is no need for more remote servers. Sending the control instructions once can complete the travel of each segment, reducing the burden on the remote server.
  • the second target position may also be obtained when traveling environment data meeting a predetermined condition is collected. That is, the accessible device in the embodiment of the application collects environmental data while traveling to the current target position, and then determines the next target position when the traveling environmental data that meets the predetermined conditions is collected, so that at least the target position can be guaranteed The accuracy of the determination.
  • the method further includes: correcting the second target position; correspondingly, controlling the accessible device to travel from the first target position to the corrected second target position. Further, the second target position is corrected based on the collected traveling environment data that meets the predetermined conditions. The accuracy of the second target position can be ensured, and thus the traveling accuracy of feasible equipment can be ensured.
  • At least one image acquisition device is provided on the robot, and the image acquisition device may be any reasonable Cameras such as vision cameras, depth cameras, fisheye cameras, etc.
  • the robot collects its traveling environment through the image acquisition device, and obtains the traveling image as shown in FIG. 4.
  • the robot can analyze the road features of the traveling image. If the analysis finds that the road ahead is a straight and long road, it generates a notification message and sends the notification message and the traveling image to the server.
  • the server displays the traveling image.
  • the operator can observe the traveling environment of the robot based on the traveling image displayed on the server, and perform operations on the server. For example, the operator inputs information indicating that the robot advances 50m.
  • the server detects this input information, generates a control command, and It is sent to the robot.
  • the robot receives a control command for instructing the robot to advance 50m.
  • the robot receives the control command when it detects that there is a straight long road in the current travel environment of the robot, the robot can consider the received control command to instruct it to follow the detected straight road.
  • the control command for the long road (the road between the two road lines in the figure) to move forward 50m may further be a control command for moving forward 50m according to the center line of the detected straight long road.
  • the robot divides the arithmetic sequence with a difference of 5m for the forward distance of 50m indicated by the remote server. For example, it is divided into four lengths of 5m, 10m, 15m, and 20m.
  • the position on the center line of the road is the initial position, and the position that travels 50m along the center line of the road from the initial position is the end position. These two positions are used as special target positions. From the initial position to the end position, The distance between two adjacent target positions is 5m, 10m, 15m, and 20m. In this way, the position of each target position can be determined on the center line of the straight long road, as shown in Figure 5.
  • the robot needs to relocate three (middle) target positions between the initial position and the end position, as shown in Fig. 5, target position 1, target position 2, and target position 3. It can be understood that the located target position 1 is located at a distance of 5m from the initial position of the robot on the central line of the road, and target position 2 is located at a distance of 10m from the target location 1 on the central line of the road.
  • the upper, target position 3 is located at a distance of 15 m from the target position 2 on the center line of the road, and the distance of the target position 3 from the end position on the center line of the road is 20 m.
  • the robot is in the initial position, takes the target position 1 as the current destination, and travels to the target position 1 at the speed obtained by autonomous navigation along the center line of the road.
  • the front target position 2 is regarded as the next destination in the case that the robot has already traveled to the target position 1, and travels along the center line of the road. Go to the target position 2 at the speed obtained by the navigation, and proceed to the end position in turn.
  • This solution of locating the target location together is more suitable for straight and long road sections.
  • the final destination can be reached by segmenting on the straight and long roads, and efficient travel on the long straight road sections can be realized.
  • the robot can also use the following scheme for segmented travel: Due to the limitation of the acquisition accuracy and range of the image acquisition device itself, the travel environment data located in the far distance of the robot may be ambiguous and unclear. In order to avoid the collection environment Road feature recognition error caused by fuzzy data.
  • the robot can recognize the road features and determine the current target position while collecting images. Specifically, the image acquisition device collects environmental data when the robot is in the initial position, and analyzes the road features of the traveling image. If the analysis shows that the road ahead is a straight and long road, a notification message is sent to the server. The server generates a control command, and the robot receives a control command used to instruct the robot to advance 50m along the center line of the road.
  • the robot can locate the current destination as the distance from the robot
  • the initial position at 20m is shown in Figure 6(a).
  • the robot is at the initial position, takes the current target position such as target position 1 as the current destination, and travels to the current destination along the center line of the road at a speed obtained by autonomous navigation.
  • the robot Based on the traveling image collected from the target position 1, the robot obtains the analysis result that the road ahead is still a straight and long road, and determines that the target position 1 is not the end position, then the target position 1 is used as the initial position of the robot at this time, and the front is positioned Target position 2 which is 10 m away from target position 1 is the current destination.
  • any position within 20m or less can be positioned as the next target position.
  • the speed of each segment may be the same or different depending on the specific situation.
  • This solution of sequentially positioning target positions based on road conditions can ensure the accuracy of target position positioning on the one hand, and on the other hand, it is more suitable for different road conditions in practical applications and has a wider range of applications.
  • the distance between two adjacent target positions may be the same or different, and the target position to be positioned shall be subject to a clear collection of the traveling image.
  • each segment is independently navigated, and the distance between the segments is less than 50m.
  • the autonomous navigation is performed at a distance of less than 50m.
  • Less computing and/or storage resources can greatly reduce the burden of resources, making resources more inclined to respond to the robot's traveling actions, such as forward actions, thereby improving traveling efficiency.
  • the notification message is sent to the remote server and the control command is received, so that the robot can travel along the target route-the center line of the road, and can travel on the road with good road conditions. .
  • the operator only needs to send the control command once through the remote server, and the travel of each segment can be completed without the operator having to send the control command multiple times, which reduces the burden on the operator.
  • the display of the image of the near environment in the image acquisition device is more accurate, and the display of the image of the distant environment may not be accurate enough.
  • the target position of the robot can be accurately located, and the positioning of the target position far away from the robot position may deviate from the target route such as the center line of the road by 1m.
  • the next target position of the robot to be traveled is corrected, for example, the target position 2 that deviates from the center line of the road is deviated from The position of the central line of the road is moved to the central line of the road to ensure that the robot can travel on the target route and ensure the accuracy of travel.
  • the robot can stop traveling after traveling to the final destination and notify the remote server.
  • the robot encounters an abnormal situation that cannot be handled, such as an obstacle that cannot be avoided, it also sends a notification message to the remote server.
  • the notification message is used to inform the robot to stop traveling and the reason that caused it to stop traveling, such as having traveled to the final destination or encountered an abnormal situation that cannot be handled.
  • It can also receive a stop travel instruction from a remote server, and the robot responds to the travel instruction and responds.
  • the operator observes the traveling environment of the robot through the image transmitted by the robot, such as knowing that there is an obstacle in front of the robot through the image, and generates an instruction for controlling the robot to stop traveling.
  • the present application also provides an embodiment of a feasible device, as shown in FIG. 7, including: a first obtaining unit 701, a second obtaining unit 702, a third obtaining unit 703, and a traveling unit 704; wherein,
  • the first obtaining unit 701 is configured to obtain a control command, where the control command is at least used to indicate the to-be-traveled distance of the accessible device;
  • the second obtaining unit 702 is configured to obtain a first route according to the to-be-traveled distance, where the first route is a route that the accessible device walks after completing the to-be-traveled distance;
  • the third obtaining unit 703 is configured to obtain at least one target position on the first route
  • the traveling unit 704 is configured to sequentially travel to each of the at least one target position to complete the to-be-traveled distance.
  • the third obtaining unit 703 is configured to obtain at least two target positions on the first route; correspondingly, the traveling unit 704 is configured to obtain at least two target positions according to The distance between each target position and the end position corresponding to the to-be-traveled distance is changed from large to small, and the target positions are sequentially advanced.
  • the third obtaining unit 703 is further configured to obtain the first target position of the first route; the traveling unit 704 is further configured to control the feasible traveling device to travel to the first Target position; the third obtaining unit 703 is further configured to obtain a second target position of the first route; the traveling unit 704 is further configured to control the feasible traveling device to travel from the first target position to the second Target position; wherein the first target position and the second target position are any two adjacent target positions of the at least two target positions, and the second target position corresponds to the end point of the distance to be traveled The distance between the positions is smaller than the distance between the first target position and the end position corresponding to the distance to be traveled.
  • the third obtaining unit 703 is further configured to obtain a first target position and a second target position; the traveling unit 704 is further configured to control the feasible traveling device to travel to the first target Position and control the viable device to travel from the first target position to the second target position; wherein the first target position and the second target position are any adjacent ones of the at least two target positions The distance between the two target positions and the second target position and the end position corresponding to the distance to be traveled is smaller than the distance between the first target position and the end position corresponding to the distance to travel.
  • the device also includes:
  • the acquisition unit (image acquisition device) is configured to collect travel environment data where the accessible device is located; in the case of collecting travel environment data that meets predetermined conditions, trigger the second obtaining unit 702 to obtain the first route,
  • the first route is a target route that the viable device walks after completing the to-be-traveled distance.
  • the device also includes:
  • the sending unit is configured to send a notification message to a remote server when the collecting unit collects traveling environment data that meets predetermined conditions; correspondingly, the first obtaining unit 701 is configured to receive the data from the remote server for The control command of the notification message.
  • the device also includes:
  • a correction unit configured to correct the second target position
  • the traveling unit 704 is configured to control the feasible traveling device to travel from the first target position to the corrected second target position.
  • the third obtaining unit 703 is configured to obtain the second target position when the traveling environment data of the accessible device collected by the collecting unit meets a predetermined condition.
  • the feasible travel equipment provided in the foregoing embodiment belongs to the same concept as the foregoing travel method embodiment, and its specific implementation process is detailed in the method embodiment, which will not be repeated here.
  • the aforementioned first obtaining unit 701, second obtaining unit 702, third obtaining unit 703, and traveling unit 704 can all be composed of digital signal processing (DSP), central processing unit (CPU), logic programming array (FPGA), controller (MCU) ) And so on.
  • the acquisition unit is implemented by the aforementioned image acquisition unit such as a vision camera, a depth camera, and a fisheye camera.
  • the sending unit is implemented by the subsequent communication component 83.
  • the embodiment of the present application also provides a computer-readable storage medium on which a computer program is stored.
  • a computer program When the program is executed by the processor, it is at least used to execute any one of the methods shown in FIGS. 1 to 6(a) and (b). step.
  • the computer-readable storage medium may specifically be a memory.
  • the memory may be the memory 82 shown in FIG. 8.
  • FIG. 8 is a schematic diagram of the hardware structure of a viable device according to an embodiment of the application. As shown in FIG. 8, it includes: a communication component 83 for data transmission, at least one processor 81, and storage capable of running on the processor 81 The memory 82 of the computer program. The various components in the terminal are coupled together through the bus system 84. It can be understood that the bus system 84 is used to realize the connection and communication between these components. In addition to the data bus, the bus system 84 also includes a power bus, a control bus, and a status signal bus. However, for clarity of description, various buses are marked as the bus system 84 in FIG. 8.
  • the processor 81 executes at least the steps of any one of the methods shown in FIGS. 1 to 6 (a) and (b) when executing the computer program.
  • the memory 82 may be a volatile memory or a non-volatile memory, and may also include both volatile and non-volatile memory.
  • the non-volatile memory can be a read only memory (ROM, Read Only Memory), a programmable read only memory (PROM, Programmable Read-Only Memory), an erasable programmable read only memory (EPROM, Erasable Programmable Read- Only Memory, Electrically Erasable Programmable Read-Only Memory (EEPROM, Electrically Erasable Programmable Read-Only Memory), magnetic random access memory (FRAM, ferromagnetic random access memory), flash memory (Flash Memory), magnetic surface memory , CD-ROM, or CD-ROM (Compact Disc Read-Only Memory); magnetic surface memory can be magnetic disk storage or tape storage.
  • the volatile memory may be random access memory (RAM, Random Access Memory), which is used as an external cache.
  • RAM random access memory
  • SRAM static random access memory
  • SSRAM synchronous static random access memory
  • DRAM Dynamic Random Access Memory
  • SDRAM Synchronous Dynamic Random Access Memory
  • DDRSDRAM Double Data Rate Synchronous Dynamic Random Access Memory
  • ESDRAM enhanced -Type synchronous dynamic random access memory
  • SLDRAM SyncLink Dynamic Random Access Memory
  • direct memory bus random access memory DRRAM, Direct Rambus Random Access Memory
  • DRRAM Direct Rambus Random Access Memory
  • the memory 82 described in the embodiment of the present application is intended to include, but is not limited to, these and any other suitable types of memory.
  • the method disclosed in the foregoing embodiment of the present application may be applied to the processor 81 or implemented by the processor 81.
  • the processor 81 may be an integrated circuit chip with signal processing capability. In the implementation process, the steps of the foregoing method can be completed by an integrated logic circuit of hardware in the processor 81 or instructions in the form of software.
  • the aforementioned processor 81 may be a general-purpose processor, a DSP, or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, and the like.
  • the processor 81 may implement or execute various methods, steps, and logical block diagrams disclosed in the embodiments of the present application.
  • the general-purpose processor may be a microprocessor or any conventional processor.
  • the steps of the method disclosed in the embodiments of the present application may be directly embodied as being executed and completed by a hardware decoding processor, or executed by a combination of hardware and software modules in the decoding processor.
  • the software module may be located in a storage medium, and the storage medium is located in the memory 82.
  • the processor 81 reads the information in the memory 82 and completes the steps of the foregoing method in combination with its hardware.
  • the accessible device may be implemented by one or more application specific integrated circuits (ASIC, Application Specific Integrated Circuit), DSP, programmable logic device (PLD, Programmable Logic Device), and complex programmable logic device (CPLD). , Complex Programmable Logic Device), FPGA, general-purpose processor, controller, MCU, microprocessor (Microprocessor), or other electronic components are used to implement the aforementioned travel method.
  • ASIC Application Specific Integrated Circuit
  • DSP programmable logic device
  • PLD programmable logic device
  • CPLD complex programmable logic device
  • FPGA field-programmable Logic Device
  • controller MCU
  • microprocessor microprocessor
  • the disclosed device and method may be implemented in other ways.
  • the device embodiments described above are merely illustrative.
  • the division of the units is only a logical function division, and there may be other divisions in actual implementation, such as: multiple units or components can be combined, or It can be integrated into another system, or some features can be ignored or not implemented.
  • the coupling, or direct coupling, or communication connection between the components shown or discussed may be indirect coupling or communication connection through some interfaces, devices or units, and may be electrical, mechanical or other forms of.
  • the units described above as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units; Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • the functional units in the embodiments of the present application can all be integrated into one processing unit, or each unit can be individually used as a unit, or two or more units can be integrated into one unit;
  • the unit can be implemented in the form of hardware, or in the form of hardware plus software functional units.
  • a person of ordinary skill in the art can understand that all or part of the steps in the above method embodiments can be implemented by a program instructing relevant hardware.
  • the foregoing program can be stored in a computer readable storage medium. When the program is executed, it is executed. Including the steps of the foregoing method embodiment; and the foregoing storage medium includes: removable storage devices, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disks or optical disks, etc.
  • ROM read-only memory
  • RAM Random Access Memory
  • magnetic disks or optical disks etc.
  • the above-mentioned integrated unit of this application is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer readable storage medium.
  • the computer software product is stored in a storage medium and includes several instructions for A computer device (which may be a personal computer, a server, or a network device, etc.) executes all or part of the methods described in the various embodiments of the present application.
  • the aforementioned storage media include: removable storage devices, ROM, RAM, magnetic disks, or optical disks and other media that can store program codes.
  • the distance to be traveled indicated by the control command is completed by sequentially traveling to each target position on the first route, which is equivalent to the travel of the distance to be traveled in sections.
  • the calculation and/or storage resources that are called locally are less, which can greatly reduce the resource burden and thereby improve the travel efficiency.

Abstract

A traveling method, a traveling device, and a storage medium. The method comprises: obtaining a control command, wherein the control command is at least used for indicating a distance to be traveled of a traveling device (101); obtaining a first route according to said distance, wherein the first route is a route along which the traveling device travels to complete said distance (102); obtaining at least one target position on the first route (103); and sequentially traveling to each of the at least one target position to complete said distance (104).

Description

行进方法、可行进设备和存储介质Travel method, feasible equipment and storage medium
相关申请的交叉引用Cross references to related applications
本申请基于申请号为201910755559.8、申请日为2019年8月15日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的内容在此以引入方式并入本申请。This application is filed based on a Chinese patent application with an application number of 201910755559.8 and an application date of August 15, 2019, and claims the priority of the Chinese patent application. The content of the Chinese patent application is hereby incorporated into this application by way of introduction.
技术领域Technical field
本申请涉及行进技术,具体涉及到一种行进方法、可行进设备和存储介质。This application relates to traveling technology, and specifically to a traveling method, feasible traveling equipment and storage medium.
背景技术Background technique
相关技术中,诸如机器人、平衡车、平衡轮等可行进设备可通过自主导航实现行进,也可以通过控制设备对其进行控制而实现行进。其中,自主导航场景,可行进设备根据实际的行进环境进行路线规划以及前进、后退、转弯等行进动作的控制,需要不断的调用运算资源和/或存储资源以维持可行进设备沿着导航路线进行行进,对于资源来说负重较大。In related technologies, mobile devices such as robots, balance carts, and balance wheels can realize travel through autonomous navigation, or they can be controlled by control devices to realize travel. Among them, in autonomous navigation scenarios, the feasible advancement equipment performs route planning and control of forward, backward, turning and other travel actions according to the actual travel environment. It is necessary to constantly call computing resources and/or storage resources to maintain the feasible advancement equipment along the navigation route. Marching is a heavy burden for resources.
发明内容Summary of the invention
为解决现有存在的技术问题,本申请实施例提供一种行进方法、可行进设备和存储介质,至少能够解决相关技术中可行进设备自主导航使用的资源较多、资源负重较大的问题。In order to solve the existing technical problems, the embodiments of the present application provide a traveling method, a feasible device and a storage medium, which can at least solve the problem of a large number of resources used for autonomous navigation of a feasible device and a large resource burden in related technologies.
本申请实施例的技术方案是这样实现的:The technical solutions of the embodiments of the present application are implemented as follows:
本申请实施例提供一种行进方法,所述方法包括:The embodiment of the present application provides a traveling method, the method includes:
获得控制命令,所述控制命令至少用于指示可行进设备的待行进距离;Obtain a control command, the control command at least being used to indicate the to-be-traveled distance of the accessible device;
依据所述待行进距离,获得第一路线,其中所述第一路线为所述可行进设备完成所述待行进距离而行走的路线;Obtaining a first route according to the to-be-traveled distance, where the first route is a route that the accessible device travels to complete the to-be-traveled distance;
获得所述第一路线上的至少一个目标位置;Obtain at least one target location on the first route;
依次行进至所述至少一个目标位置中的各个目标位置,以完成所述待行进距离。Traveling sequentially to each of the at least one target position to complete the to-be-traveled distance.
上述方案中,所述获得所述第一路线上的至少一个目标位置,包括:In the above solution, the obtaining at least one target location on the first route includes:
获得所述第一路线上的至少两个目标位置;Obtain at least two target positions on the first route;
相应的,所述依次行进至所述至少一个目标位置中的各个目标位置,以完成所述待行进距离,包括:Correspondingly, the sequentially traveling to each of the at least one target position to complete the to-be-traveled distance includes:
按照所述至少两个目标位置中各个目标位置与所述待行进距离对应的终点位置之间的距离由大变小,依次行进至所述各个目标位置。According to the distance between each of the at least two target positions and the end position corresponding to the to-be-traveled distance, the distance between each target position and the to-be-traveled distance is changed from large to small, and the target positions are sequentially advanced.
上述方案中,所述方法包括:In the above solution, the method includes:
获得第一目标位置;Get the first target position;
控制所述可行进设备行进至所述第一目标位置;Controlling the feasible device to travel to the first target position;
获得第二目标位置;Obtain the second target position;
控制所述可行进设备从第一目标位置行进至第二目标位置;Controlling the viable device to travel from the first target position to the second target position;
其中,所述第一目标位置与所述第二目标位置为所述至少两个目标位置中任意相邻的两个目标位置、且第二目标位置与所述待行进距离对应的终点位置之间的距离小于所述第一目标位置与所述待行进距离对应的终点位置之间的距离。Wherein, the first target position and the second target position are any two adjacent target positions among the at least two target positions, and the second target position is between the end position corresponding to the distance to be traveled The distance of is smaller than the distance between the first target position and the end position corresponding to the distance to be traveled.
上述方案中,所述方法包括:In the above solution, the method includes:
获得第一目标位置和第二目标位置;Obtain the first target position and the second target position;
控制所述可行进设备行进至所述第一目标位置;Controlling the feasible device to travel to the first target position;
控制所述可行进设备从所述第一目标位置行进至与第二目标位置;其中,所述第一目标位置与所述第二目标位置为所述至少两个目标位置中任 意相邻的两个目标位置、且第二目标位置与所述待行进距离对应的终点位置之间的距离小于所述第一目标位置与所述待行进距离对应的终点位置之间的距离。Control the viable device to travel from the first target position to the second target position; wherein the first target position and the second target position are any two adjacent ones of the at least two target positions. There are two target positions, and the distance between the second target position and the end position corresponding to the distance to be traveled is smaller than the distance between the first target position and the end position corresponding to the distance to travel.
上述方案中,所述方法还包括:In the above solution, the method further includes:
采集所述可行进设备所处的行进环境数据;Collect travel environment data where the feasible equipment is located;
当所述行进环境数据满足预定条件的情况下,获得第一路线,其中所述第一路线为所述可行进设备完成所述待行进距离而行走的目标路线,所述目标路线的行进环境数据满足所述预定条件。When the traveling environment data satisfies a predetermined condition, a first route is obtained, where the first route is a target route traveled by the accessible device to complete the to-be-traveled distance, and traveling environment data of the target route Meet the predetermined condition.
上述方案中,所述获得控制命令之前,所述方法还包括:In the above solution, before the obtaining the control command, the method further includes:
在采集到满足预设条件的行进环境数据的情况下,向远程服务器发送通知消息;In the case of collecting travel environment data that meets the preset conditions, send a notification message to the remote server;
相应的,所述获得控制命令,包括:Correspondingly, the obtaining control command includes:
接收来自所述远程服务器的针对所述通知消息的所述控制命令。Receiving the control command for the notification message from the remote server.
上述方案中,所述方法还包括:In the above solution, the method further includes:
对所述第二目标位置进行校正;Correcting the second target position;
相应的,控制所述可行进设备从第一目标位置行进至经校正的第二目标位置。Correspondingly, the feasible travel device is controlled to travel from the first target position to the corrected second target position.
上述方案中,所述方法还包括:In the above solution, the method further includes:
采集所述可行进设备所处的行进环境数据;Collect travel environment data where the feasible equipment is located;
当所述行进环境数据满足预定条件的情况下,获得所述第二目标位置。When the traveling environment data meets a predetermined condition, the second target position is obtained.
本申请实施例提供一种可行进设备,包括:The embodiment of the present application provides a feasible equipment, including:
第一获得单元,配置为获得控制命令,所述控制命令至少用于指示可行进设备的待行进距离;The first obtaining unit is configured to obtain a control command, where the control command is at least used to indicate the to-be-traveled distance of the accessible device;
第二获得单元,配置为依据所述待行进距离,获得第一路线,其中所述第一路线为所述可行进设备完成所述待行进距离而行走的路线;The second obtaining unit is configured to obtain a first route according to the to-be-traveled distance, wherein the first route is a route that the accessible device walks after completing the to-be-traveled distance;
第三获得单元,配置为获得所述第一路线上的至少一个目标位置;The third obtaining unit is configured to obtain at least one target position on the first route;
行进单元,配置为依次行进至所述至少一个目标位置中的各个目标位置,以完成所述待行进距离。The traveling unit is configured to sequentially travel to each of the at least one target position to complete the to-be-traveled distance.
上述方案中,In the above scheme,
所述第三获得单元,配置为获得所述第一路线上的至少两个目标位置;The third obtaining unit is configured to obtain at least two target positions on the first route;
相应的,所述行进单元,配置为按照所述至少两个目标位置中各个目标位置与所述待行进距离对应的终点位置之间的距离由大变小,依次行进至所述各个目标位置。Correspondingly, the traveling unit is configured to sequentially travel to the respective target positions according to the distance between each of the at least two target positions and the end position corresponding to the distance to be traveled.
上述方案中,In the above scheme,
所述第三获得单元,还配置为获得所述第一路线的第一目标位置;The third obtaining unit is further configured to obtain the first target position of the first route;
所述行进单元,还配置为控制所述可行进设备行进至所述第一目标位置;The traveling unit is further configured to control the feasible traveling equipment to travel to the first target position;
所述第三获得单元,还配置为获得所述第一路线的第二目标位置;The third obtaining unit is further configured to obtain a second target position of the first route;
所述行进单元,还配置为控制所述可行进设备从第一目标位置行进至第二目标位置;其中,所述第一目标位置与所述第二目标位置为所述至少两个目标位置中任意相邻的两个目标位置、且第二目标位置与所述待行进距离对应的终点位置之间的距离小于所述第一目标位置与所述待行进距离对应的终点位置之间的距离。The traveling unit is further configured to control the feasible traveling device to travel from a first target position to a second target position; wherein the first target position and the second target position are among the at least two target positions The distance between any two adjacent target positions and the second target position and the end position corresponding to the distance to be traveled is smaller than the distance between the first target position and the end position corresponding to the distance to travel.
上述方案中,In the above scheme,
所述第三获得单元,还配置为获得第一目标位置和第二目标位置;The third obtaining unit is further configured to obtain the first target position and the second target position;
所述行进单元,还配置为控制所述可行进设备行进至所述第一目标位置以及控制所述可行进设备从所述第一目标位置行进至第二目标位置;其中,所述第一目标位置与所述第二目标位置为所述至少两个目标位置中任意相邻的两个目标位置、且第二目标位置与所述待行进距离对应的终点位置之间的距离小于所述第一目标位置与所述待行进距离对应的终点位置之 间的距离。The traveling unit is further configured to control the feasible traveling equipment to travel to the first target position and control the feasible traveling equipment to travel from the first target position to a second target position; wherein, the first target The position and the second target position are any two adjacent target positions of the at least two target positions, and the distance between the second target position and the end position corresponding to the distance to be traveled is smaller than the first The distance between the target position and the end position corresponding to the distance to be traveled.
上述方案中,还包括:The above scheme also includes:
采集单元,配置为采集所述可行进设备所处的行进环境数据;A collection unit configured to collect travel environment data where the feasible equipment is located;
相应的,所述第二获得单元,配置为当采集装置采集到的行进环境数据满足预定条件的情况下,获得第一路线,其中所述第一路线为所述可行进设备完成所述待行进距离而行走的目标路线,所述目标路线的行进环境数据满足所述预定条件。Correspondingly, the second obtaining unit is configured to obtain a first route when the traveling environment data collected by the collecting device satisfies a predetermined condition, wherein the first route is for the feasible traveling equipment to complete the pending travel A target route traveled by distance, and travel environment data of the target route meets the predetermined condition.
上述方案中,所述设备还包括:In the above solution, the device further includes:
发送单元,配置为在采集单元采集到满足预定条件的行进环境数据的情况下,向远程服务器发送通知消息;The sending unit is configured to send a notification message to the remote server when the collecting unit collects traveling environment data that meets predetermined conditions;
相应的,所述第一获得单元,配置为接收来自所述远程服务器的针对所述通知消息的所述控制命令。Correspondingly, the first obtaining unit is configured to receive the control command for the notification message from the remote server.
上述方案中,还包括:The above scheme also includes:
校正单元,配置为对所述第二目标位置进行校正;A correction unit configured to correct the second target position;
相应的,所述行进单元,配置为控制所述可行进设备从第一目标位置行进至经校正的第二目标位置。Correspondingly, the traveling unit is configured to control the feasible traveling device to travel from the first target position to the corrected second target position.
上述方案中,还包括:The above scheme also includes:
所述第三获得单元,配置为在采集单元采集到可行进设备所处的行进环境数据满足预定条件的情况下,获得所述第二目标位置。The third obtaining unit is configured to obtain the second target position when the traveling environment data of the accessible device is collected by the collecting unit and meets a predetermined condition.
本申请实施例提供一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现前述方法的步骤。The embodiment of the present application provides a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, the steps of the foregoing method are implemented.
本申请实施例提供一种可行进设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现前述方法的步骤。The embodiment of the present application provides a feasible device including a memory, a processor, and a computer program stored on the memory and capable of running on the processor, and the processor implements the steps of the foregoing method when the program is executed.
本申请实施例提供一种行进方法、可行进设备和存储介质,所述方法 包括:获得控制命令,所述控制命令至少用于指示可行进设备的待行进距离;依据所述待行进距离,获得第一路线,其中所述第一路线为所述可行进设备完成所述待行进距离而行走的路线;获得所述第一路线上的至少一个目标位置;依次行进至所述至少一个目标位置中的各个目标位置,以完成所述待行进距离。The embodiments of the present application provide a traveling method, a feasible traveling device, and a storage medium. The method includes: obtaining a control command, the control command being used to at least indicate the to-be-traveled distance of the accessible device; and obtaining according to the to-be-traveling distance A first route, wherein the first route is a route that the feasible travel device walks while completing the to-be-traveled distance; obtains at least one target position on the first route; sequentially travels to the at least one target position To complete the distance to be traveled.
本申请实施例中,通过依次行进至第一路线上的各个目标位置的方式完成控制命令指示的待行进距离,相当于分段进行待行进距离的行进,分段行进的方案与直接导航到目的地而调用的运算和/或存储资源要少,可大大减轻资源负担,进而提高行进效率。In the embodiment of the present application, the distance to be traveled indicated by the control command is completed by sequentially traveling to each target position on the first route, which is equivalent to the travel of the distance to be traveled in sections. The calculation and/or storage resources that are called locally are less, which can greatly reduce the resource burden and thereby improve the travel efficiency.
附图说明Description of the drawings
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据提供的附图获得其他的附图。In order to more clearly describe the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the drawings in the following description are only It is an embodiment of the present application. For those of ordinary skill in the art, other drawings can be obtained according to the provided drawings without creative work.
图1为本申请提供的行进方法的第一实施例的实现流程示意图;FIG. 1 is a schematic diagram of the implementation process of the first embodiment of the traveling method provided by this application;
图2为本申请提供的行进方法的第二实施例的实现流程示意图;2 is a schematic diagram of the implementation process of the second embodiment of the traveling method provided by this application;
图3为本申请提供的行进方法的第三实施例的实现流程示意图;3 is a schematic diagram of the implementation process of the third embodiment of the traveling method provided by this application;
图4为本申请提供的采集的行进图像实施例的示意图;FIG. 4 is a schematic diagram of an embodiment of collected traveling images provided by this application;
图5为本申请提供的目标位置实施例的获取示意图一:FIG. 5 is a schematic diagram 1 of obtaining a target location embodiment provided in this application:
图6(a)、(b)为本申请提供的目标位置实施例的获取示意图二:Fig. 6(a) and (b) are schematic diagrams for obtaining the target location embodiment provided by this application:
图7为本申请提供的可行进设备实施例的组成结构示意图;FIG. 7 is a schematic diagram of the composition structure of an embodiment of a feasible equipment provided by this application;
图8为本申请提供的可行进设备实施例的硬件构成示意图。FIG. 8 is a schematic diagram of the hardware structure of an embodiment of a feasible device provided by this application.
具体实施方式detailed description
为使本申请的目的、技术方案和优点更加清楚明白,下面将结合本申 请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互任意组合。在附图的流程图示出的步骤可以在诸如一组计算机可执行指令的计算机系统中执行。并且,虽然在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤。In order to make the purpose, technical solutions, and advantages of this application clearer, the following will clearly and completely describe the technical solutions in the embodiments of this application with reference to the drawings in the embodiments of this application. Obviously, the described embodiments are only It is a part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of this application. In the case of no conflict, the embodiments in the application and the features in the embodiments can be combined with each other arbitrarily. The steps shown in the flowchart of the drawings may be executed in a computer system such as a set of computer-executable instructions. And, although a logical sequence is shown in the flowchart, in some cases, the steps shown or described may be performed in a different order than here.
本申请以下各实施例涉及的可行进设备可以是任何能够行进的合理的设备,如机器人、平衡车、平衡轮、滑板车等。优选的可行进设备为机器人。The accessible equipment involved in the following embodiments of the present application may be any reasonable equipment capable of traveling, such as a robot, a balance car, a balance wheel, a scooter, etc. The preferred accessible equipment is a robot.
本申请实施例至少能够解决相关技术中的可行进设备由于自主导航而需要不断的调用运算资源和存储资源而导致的资源负重大、行进效率不高的问题。此外,至少还能够解决在路面直长的情况下如何高效、快速地实现可行进设备的行驶问题。The embodiments of the present application can at least solve the problem of high resource burden and low traveling efficiency caused by the need for continuous call of computing resources and storage resources for autonomous navigation of feasible devices in related technologies. In addition, it can at least solve the problem of how to efficiently and quickly realize the driving of accessible equipment when the road is straight and long.
本申请提供的行进方法的第一实施例,应用于可行进设备中,如图1所示,所述方法包括:The first embodiment of the traveling method provided in this application is applied to a viable device. As shown in FIG. 1, the method includes:
步骤101:获得控制命令,所述控制命令至少用于指示可行进设备的待行进距离;Step 101: Obtain a control command, where the control command is at least used to indicate the to-be-traveled distance of the accessible device;
步骤102:依据所述待行进距离,获得第一路线,其中所述第一路线为所述可行进设备完成所述待行进距离而行走的路线;Step 102: Obtain a first route according to the to-be-traveled distance, where the first route is a route that the viable device walks after completing the to-be-traveled distance;
步骤103:获得所述第一路线上的至少一个目标位置;Step 103: Obtain at least one target location on the first route;
步骤104:依次行进至所述至少一个目标位置中的各个目标位置,以完成所述待行进距离。Step 104: Go to each of the at least one target position in sequence to complete the to-be-traveled distance.
执行步骤101-104的实体为可行进设备。The entity performing steps 101-104 is a viable device.
在前述方案中,针对控制命令指示的待行进距离,与相关技术中的直接进行所述待行进距离行进的方案相比,通过依次行进至第一路线上的各个目标位置的方式行进至所述可行进设备行进至所述待行进距离对应的终点位置。这种方案相当于分段进行待行进距离的行进,对各个分段分别进行行进的方案是必要比直接导航到目的地而调用的运算和/或存储资源要少,可大大减轻资源负担,进而提高行进效率。In the foregoing solution, for the distance to be traveled indicated by the control command, compared with the solution in the related art that directly performs the distance to be traveled, travel to the target position on the first route in sequence. The feasible travel equipment travels to the end position corresponding to the distance to be traveled. This kind of scheme is equivalent to the travel of the to-be-traveled distance in segments. The scheme of traveling separately for each segment must require less calculation and/or storage resources than directly navigating to the destination, which can greatly reduce the resource burden, and then Improve travel efficiency.
本领域技术人员应该理解,前述的目标位置的数量可以为一个,也可以为两个及以上。在目标位置的数量为一个的情况下,前述的方案相当于可行进设备通过获得的该目标位置行进至终点位置。具体的,可行进设备将该目标位置视为从当前所处位置行进至终点位置之间的一个中间位置,可行进设备可从当前所处位置行进至该中间位置,再从中间位置行进至终点位置。在目标位置的数量为二个或二个以上的情况下,对于其中任意两个目标位置,按照所述两个目标位置中各个目标位置与所述待行进距离对应的终点位置之间的距离由大变小,依次行进至所述各个目标位置。通俗地讲,本申请实施例中的分段行进方案是通过依次行进至距离终点位置越来越近的目标位置而实现对终点位置的到达。Those skilled in the art should understand that the number of the aforementioned target positions may be one, or two or more. In the case where the number of target positions is one, the aforementioned solution is equivalent to that the viable device travels to the end position through the target position obtained. Specifically, the feasible approach equipment regards the target position as an intermediate position between traveling from the current position to the end position, and the feasible approach equipment can travel from the current position to the intermediate position, and then travel from the intermediate position to the end position. position. In the case where the number of target positions is two or more, for any two target positions, the distance between each target position in the two target positions and the end position corresponding to the distance to be traveled is determined by Larger becomes smaller, and then proceed to each target position in sequence. In layman's terms, the segmented traveling solution in the embodiment of the present application realizes the arrival of the terminal position by sequentially traveling to a target position getting closer and closer to the terminal position.
具体的,实现如上按照所述两个目标位置中各个目标位置与所述待行进距离对应的终点位置之间的距离由大变小,依次行进至所述各个目标位置的方案可通过如下方法实施例二和实施例三所述的方案来实现。Specifically, as described above, according to the distance between each of the two target positions and the end position corresponding to the distance to be traveled from large to small, the solution of sequentially traveling to each of the target positions can be implemented by the following method The solutions described in Example 2 and Example 3 are implemented.
本申请提供行进方法的第二实施例,应用于可行进设备,如图2所示,所述方法包括:This application provides a second embodiment of a traveling method, which is applied to a feasible traveling device. As shown in FIG. 2, the method includes:
步骤201:获得控制命令,所述控制命令至少用于指示可行进设备的待行进距离;Step 201: Obtain a control command, where the control command is at least used to indicate the to-be-traveled distance of the accessible device;
步骤202:获得所述第一路线的第一目标位置,其中所述第一路线为所述可行进设备完成所述待行进距离而行走的路线;Step 202: Obtain a first target position of the first route, where the first route is a route traveled by the accessible device to complete the distance to be traveled;
步骤203:控制所述可行进设备行进至所述第一目标位置;Step 203: Control the feasible device to travel to the first target position;
步骤204:获得所述第一路线的第二目标位置;Step 204: Obtain a second target position of the first route;
步骤205:控制所述可行进设备从第一目标位置行进至第二目标位置;Step 205: Control the viable device to travel from the first target position to the second target position;
步骤206:确定第二目标位置是否为所述可行进设备行进至所述待行进距离而到达的位置;Step 206: Determine whether the second target position is a position reached by the feasible traveling device traveling to the to-be-traveled distance;
确定为不是的情况下,执行步骤207;If it is determined to be no, go to step 207;
确定为是的情况下,流程结束,可行进设备已经行进至终点位置;If it is determined to be yes, the process ends and the feasible equipment has traveled to the end position;
步骤207:确定第二目标位置为第一目标位置,返回步骤203继续执行直至第二目标位置为所述可行进设备行进至所述待行进距离而到达的位置。Step 207: Determine that the second target position is the first target position, and return to step 203 to continue execution until the second target position is the position reached by the feasible traveling device traveling to the to-be-traveled distance.
可以理解,步骤201~207中的第一目标位置和第二目标位置为第一路线上任意相邻的两个目标位置,且第二目标位置与所述待行进距离对应的终点位置小于所述第一目标位置与所述待行进距离对应的终点位置之间的距离。It can be understood that the first target position and the second target position in steps 201 to 207 are any two adjacent target positions on the first route, and the end position of the second target position corresponding to the distance to be traveled is smaller than the The distance between the first target position and the end position corresponding to the distance to be traveled.
前述方案中,通过依次行进至第一路线上的各个目标位置的方式行进至终点位置,这种分段进行待行进距离的行进的方案,可行进设备进行分段导航调用的运算和/或存储资源少,可大大减轻资源负担,提高行进效率。且前述方案中,进行各个目标位置的依次获取,也即在完成其中一个分段的行进之后才获得距离终点位置更近的下一个目标位置,相当于行进至当前目标位置的情况下再进行下一个目标位置获取的方案,且下一目标位置与该当前目标位置相比,下一目标位置距离终点位置更近,这种目标位置的获取方式灵活性较好,适用范围广、如适用于包括长直路段和弯曲路段等各种复杂路况条件的路线。In the foregoing solution, travel to the end position by sequentially traveling to each target location on the first route. This solution for segmented travel of the to-be-traveled distance allows the advancement device to perform segmented navigation call calculation and/or storage Fewer resources can greatly reduce the burden of resources and improve travel efficiency. Moreover, in the aforementioned scheme, each target position is obtained sequentially, that is, the next target position that is closer to the end position is obtained after the travel of one of the segments is completed, which is equivalent to proceeding to the current target position. A solution for obtaining a target position, and the next target position is closer to the end position than the current target position. This method of obtaining the target position is more flexible and has a wide range of applications. Routes with various complex road conditions such as long straight sections and curved sections.
可以理解,前述方案相当于边行进边获取下一个目标位置的方案,这种获取方案可依据可行进设备的实际行进环境对下一个目标位置进行获 取,可保证目标位置获取的准确性,进而可保证可行进设备的行进准确性。It can be understood that the aforementioned solution is equivalent to the solution of obtaining the next target position while traveling. This obtaining solution can obtain the next target position according to the actual traveling environment of the feasible traveling equipment, which can ensure the accuracy of obtaining the target position, and further Ensure the travel accuracy of feasible equipment.
本申请提供行进方法的第三实施例,应用于可行进设备,如图3所示,所述方法包括:This application provides a third embodiment of a traveling method, which is applied to a feasible traveling device. As shown in FIG. 3, the method includes:
步骤301:获得控制命令,所述控制命令至少用于指示可行进设备的待行进距离;Step 301: Obtain a control command, the control command at least being used to indicate the distance to be traveled by the accessible device;
步骤302:获得所述第一路线的各个目标位置,其中所述第一路线为所述可行进设备完成所述待行进距离而行走的路线;Step 302: Obtain each target position of the first route, where the first route is a route that the accessible device walks after completing the distance to be traveled;
步骤303:控制所述可行进设备行进至所述各个目标位置中的第一目标位置;Step 303: Control the feasible device to travel to the first target position among the target positions;
步骤304:控制所述可行进设备从所述第一目标位置行进至所述各个目标位置中与所述第一目标位置相邻的第二目标位置;Step 304: Control the viable device to travel from the first target position to a second target position adjacent to the first target position among the target positions;
步骤305:确定所述第二目标位置是否为所述可行进设备行进至所述待行进距离而到达的位置;Step 305: Determine whether the second target position is a position reached by the feasible travel equipment traveling to the to-be traveled distance;
确定为不是的情况下,执行步骤306;If it is determined to be no, go to step 306;
确定为是的情况下,流程结束,可行进设备已经行进至终点位置;If it is determined to be yes, the process ends and the feasible equipment has traveled to the end position;
步骤306:确定第二目标位置为第一目标位置,返回步骤304继续执行直至第二目标位置为所述可行进设备行进至终点位置。Step 306: Determine that the second target position is the first target position, and return to step 304 to continue execution until the second target position is the feasible travel equipment to travel to the end position.
可以理解,步骤301~306中,第二目标位置与所述待行进距离对应的终点位置小于所述第一目标位置与所述待行进距离对应的终点位置之间的距离。It can be understood that in steps 301 to 306, the end position corresponding to the second target position and the distance to be traveled is smaller than the distance between the first target position and the end position corresponding to the distance to travel.
前述方案中,通过依次行进至第一路线上的各个目标位置的方式行进至所述可行进设备行进至待行进距离而到达的位置,这种分段进行待行进距离的行进的方案进一步为通过依次行进至距离终点位置越来越近的目标位置而实现对终点位置的到达的方案。可以理解,分段行进使用的导航调用的运算和/或存储资源少,可大大减轻资源负担,提高行进效率。且前述 方案中,与前述方法实施例二的依次获取目标位置的方式不同,本申请实施例中将各个目标位置进行一并获取,并通过逐个行驶至距离终点越来越近的目标位置而到达目的地。这种一并获取各个目标位置的方案,更适用于长直路段,可实现可行进设备在长直路段上的高效行进。In the foregoing solution, the method of sequentially traveling to each target position on the first route to the position reached by the feasible traveling device travels to the to-be-traveled distance. This solution of segmenting the to-be-traveled distance is further to pass It is a plan to proceed to the target position getting closer and closer to the end position in order to achieve the end position. It can be understood that the navigation call used in segmented travel requires less calculation and/or storage resources, which can greatly reduce resource burden and improve travel efficiency. And in the foregoing solution, different from the method of sequentially acquiring the target positions in the foregoing method embodiment 2, in the embodiment of the present application, each target position is acquired together, and the target position is reached by driving one by one to the target position getting closer and closer to the end destination. This scheme of acquiring each target position together is more suitable for long straight sections, and can realize the efficient travel of feasible equipment on long straight sections.
可以理解,前述一并获取各个目标位置的方案更适用于长直路段的行驶是因为:长直路段上目标位置容易进行获取、如将控制命令指示的可行进设备的待行进距离进行至少两个长度的划分,如果将可行进设备获得控制命令时所处的位置(可行进设备的初始位置)也作为目标位置的话,那么每两个相邻目标位置之间的距离等于所划分的各个长度中的对应长度,如起始点位置与第一目标位置之间的距离等于所划分的第一长度,第一目标位置与第二目标位置之间的距离等于所划分的第二长度,以此类推,倒数第二个目标位置与目的地位置之间的距离等于所划分的最后一个长度。可以理解,每相邻两个目标位置间的距离可以相同、也可以不相同,视具体情况而定。It can be understood that the aforementioned solution of acquiring each target position together is more suitable for driving on a long straight road section because the target position on a long straight road section is easy to obtain, for example, the distance to be traveled by the feasible equipment indicated by the control command is at least two For the division of length, if the position (the initial position of the accessible device) when the accessible device obtains the control command is also used as the target position, then the distance between every two adjacent target positions is equal to the divided lengths For example, the distance between the starting point position and the first target position is equal to the first divided length, the distance between the first target position and the second target position is equal to the second divided length, and so on, The distance between the penultimate target location and the destination location is equal to the last length divided. It can be understood that the distance between every two adjacent target positions may be the same or different, depending on the specific situation.
在前述实施例一至三任一所示实施例中,作为一种实现方式,所述方法还包括:In any one of the foregoing embodiments 1 to 3, as an implementation manner, the method further includes:
采集所述可行进设备所处的行进环境数据;Collect travel environment data where the feasible equipment is located;
在采集到满足预定条件的行进环境数据的情况下,获得第一路线,其中所述第一路线为所述可行进设备完成所述待行进距离而行走的目标路线,所述目标路线的行进环境数据满足所述预定条件。相应的,控制可行进设备按照所述目标路线行进至第一目标位置、以及控制可行进设备按照目标路线从第一目标位置行进到第二目标位置。In the case of collecting travel environment data that satisfies predetermined conditions, a first route is obtained, where the first route is a target route traveled by the accessible device to complete the distance to be traveled, and the travel environment of the target route The data meets the predetermined condition. Correspondingly, the feasible approach device is controlled to travel to the first target position according to the target route, and the feasible approach device is controlled to travel from the first target position to the second target position according to the target route.
可以理解,所述满足预定条件的行进环境数据可以是表征为可行进设备的行进路线为直长的环境数据。可行进设备可沿着该直长路进行行进,还可以沿着直长路的某条线如直长路的中央线进行行进。这种情况下执行 前述实施例一至三中任一所述的方案,相当于在直长路段上进行分段行进,按照目标路线对各个分段(直长路段)分别进行行进的方案,一方面比直接导航到目的地而调用的运算和/或存储资源要少,可大大减轻资源负担,进而提高行进效率;另一方面按照目标路线行进可高效地行进至目的地。It can be understood that the travel environment data that meets the predetermined condition may be environmental data characterized by a straight and long travel route of the device that can travel. The accessible equipment can travel along the straight long road, or along a certain line of the straight long road, such as the central line of the straight long road. In this case, the implementation of the scheme described in any one of the foregoing embodiments 1 to 3 is equivalent to a plan of segmented travel on a long straight section, and each segment (long straight section) is traveled separately according to the target route. On the one hand, Compared with navigating directly to the destination, it requires less computing and/or storage resources, which can greatly reduce the burden of resources and improve travel efficiency; on the other hand, traveling along the target route can efficiently travel to the destination.
本领域技术人员可以理解,本申请实施例的如上获得控制命令的方案可以是可行进设备在采集到满足预定条件的行进环境数据的情况下,由自身生成的控制命令,并通过对各个分段的自主导航实现行进至目的地。此外,可行进设备还可以在采集到满足预定条件的行进环境数据的情况下,向远程服务器发送通知消息,接收来自所述远程服务器的针对所述通知消息的所述控制命令。所述通知消息用于提示采集到满足预定条件的行进环境数据,由远程服务器在接收到该通知消息的情况下产生控制命令并发送,可行进设备接收针对所述通知消息而返回的控制命令。这种方式下,相当于由远程服务器进行控制、可行进设备基于远程服务器发送的待行进距离信息进行分段行进,且远程服务器仅需要发送一次控制命令。这种远程服务器仅需要发送一次控制命令可行进设备即分段行进至目的地的方案,与相关技术中的远程服务器每发送一次控制命令完成其中一段路程的行进的方案相比,无需远程服务器多次发送控制指令即可完成各个分段路程的行进,减轻了远程服务器的负担。Those skilled in the art can understand that the solution of obtaining control commands as described above in the embodiments of the present application may be a control command generated by the feasible equipment in the case of collecting traveling environment data that meets predetermined conditions, and the control commands generated by each segment The autonomous navigation realizes travel to the destination. In addition, the viable device may also send a notification message to a remote server and receive the control command for the notification message from the remote server when the travel environment data that meets a predetermined condition is collected. The notification message is used to prompt collection of traveling environment data that meets a predetermined condition, the remote server generates and sends a control command when the notification message is received, and the feasible device receives the control command returned in response to the notification message. In this way, it is equivalent to being controlled by the remote server, and the feasible travel device travels in segments based on the to-be-traveled distance information sent by the remote server, and the remote server only needs to send a control command once. This kind of remote server only needs to send a control command once, and the device can travel to the destination in segments. Compared with the solution in the related technology that the remote server sends a control command to complete one part of the journey, there is no need for more remote servers. Sending the control instructions once can complete the travel of each segment, reducing the burden on the remote server.
作为一种实现方式,在前述实施例二中,也即在依次获取各个目标位置的方案中,还可以在在采集到满足预定条件的行进环境数据的情况下,获得所述第二目标位置。也即本申请实施例中的可行进设备边向当前目标位置行进、边进行环境数据的采集,在采集到满足预定条件的行进环境数据的情况下再确定下一个目标位置,至少可保证目标位置的确定准确性。As an implementation manner, in the foregoing second embodiment, that is, in the solution of acquiring each target position in sequence, the second target position may also be obtained when traveling environment data meeting a predetermined condition is collected. That is, the accessible device in the embodiment of the application collects environmental data while traveling to the current target position, and then determines the next target position when the traveling environmental data that meets the predetermined conditions is collected, so that at least the target position can be guaranteed The accuracy of the determination.
作为一种实现方式,所述方法还包括:对第二目标位置进行校正;相应的,控制可行进设备从第一目标位置行进至经校正的第二目标位置。进 一步的,根据采集到满足预定条件的行进环境数据,对第二目标位置进行校正。可保证第二目标位置的准确性,进而可保证可行进设备的行进准确性。As an implementation manner, the method further includes: correcting the second target position; correspondingly, controlling the accessible device to travel from the first target position to the corrected second target position. Further, the second target position is corrected based on the collected traveling environment data that meets the predetermined conditions. The accuracy of the second target position can be ensured, and thus the traveling accuracy of feasible equipment can be ensured.
下面结合附图4、图5以及图6(a)、(b)对本申请实施例的方案做详细说明。Hereinafter, the solution of the embodiment of the present application will be described in detail with reference to FIG. 4, FIG. 5 and FIG. 6(a), (b).
以可行进设备为机器人、控制命令由用于控制机器人的远程服务器产生并发送至机器人为例,本申请实施例中在机器人上设置至少一个图像采集装置,所述图像采集装置可以是任何合理的相机如视觉相机、深度相机、鱼眼相机等。机器人通过图像采集装置进行其所处的行进环境的采集,得到如图4所示的行进图像。机器人可对行进图像的道路特征进行分析,如果分析得到前方道路为直长道路,则产生通知消息,并发送通知消息和行进图像至服务器。服务器显示行进图像,操作人员可基于服务器显示的行进图像观看到机器人的行进环境,并对服务器产生操作如操作人员输入指示机器人前进50m的信息,服务器检测到这一输入信息,产生控制命令并将其发送至机器人。Taking the feasible equipment as a robot and the control command being generated by a remote server for controlling the robot and sent to the robot as an example, in this embodiment of the present application, at least one image acquisition device is provided on the robot, and the image acquisition device may be any reasonable Cameras such as vision cameras, depth cameras, fisheye cameras, etc. The robot collects its traveling environment through the image acquisition device, and obtains the traveling image as shown in FIG. 4. The robot can analyze the road features of the traveling image. If the analysis finds that the road ahead is a straight and long road, it generates a notification message and sends the notification message and the traveling image to the server. The server displays the traveling image. The operator can observe the traveling environment of the robot based on the traveling image displayed on the server, and perform operations on the server. For example, the operator inputs information indicating that the robot advances 50m. The server detects this input information, generates a control command, and It is sent to the robot.
机器人接收用于指示该机器人前进50m的控制命令。考虑到本应用场景下,机器人是在检测到机器人当前所处的行进环境存在直长道路的情况下接收到的该控制命令,则机器人可认为接收到的控制命令是指示其按照检测到的直长道路(图中两条道路线之间为道路)前进50m的控制命令,进一步可以是按照检测的直长道路的中央线前进50m的控制命令。机器人根据预先设置好的分段规则,如对远程服务器指示的前进距离50m进行差值为5m的等差数列的划分如划分为5m、10m、15m、20m四个长度,如果将机器人采集到行进图像时其在道路中央线上的位置为初始位置、将从初始位置沿着道路中央线行驶50m的位置为终点位置,这两个位置作为特殊的目标位置,则从初始位置到终点位置,相邻两个目标位置之间的距离依 次为5m、10m、15m、20m。如此,便可在直长道路中央线上将各个目标位置所处的位置确定出来,如图5所示。如果将机器人采集到行进图像时其在道路中央线上的位置为初始位置、将从初始位置沿着道路中央线行驶50m的位置为终点位置,这两个位置作为特殊的目标位置之外,还需要机器人再定位出3个处于初始位置和终点位置之间的(中间)目标位置,如图5所示的目标位置1、目标位置2和目标位置3。可以理解,定位出的目标位置1在道路中央线上处于与机器人初始位置之间的距离为5m的位置上、目标位置2在道路中央线上处于与目标位置1之间的距离为10m的位置上、目标位置3在道路中央线上处于与目标位置2之间的距离为15m的位置上,目标位置3在道路中央线上距离终点位置的距离为20m。机器人处于初始位置上,将目标位置1作为当前的目的地,沿着道路中央线经自主导航得到的速度行进至目标位置1。在到达目标位置1的情况下,判断为目标位置1不是最终目的地,将前方的目标位置2作为机器人已经行进至目标位置1的情况下的下一个目的地,并沿着道路中央线经自主导航得到的速度行进至目标位置2,依次类推行进至终点位置。这种一并定位出目标位置的方案,更适用于直长路段,通过在直长路线上的分段前行而达到最终目的地,可实现在长直路段上的高效行进。The robot receives a control command for instructing the robot to advance 50m. Considering that in this application scenario, the robot receives the control command when it detects that there is a straight long road in the current travel environment of the robot, the robot can consider the received control command to instruct it to follow the detected straight road. The control command for the long road (the road between the two road lines in the figure) to move forward 50m may further be a control command for moving forward 50m according to the center line of the detected straight long road. According to the pre-set segmentation rules, the robot divides the arithmetic sequence with a difference of 5m for the forward distance of 50m indicated by the remote server. For example, it is divided into four lengths of 5m, 10m, 15m, and 20m. In the image, the position on the center line of the road is the initial position, and the position that travels 50m along the center line of the road from the initial position is the end position. These two positions are used as special target positions. From the initial position to the end position, The distance between two adjacent target positions is 5m, 10m, 15m, and 20m. In this way, the position of each target position can be determined on the center line of the straight long road, as shown in Figure 5. If the robot’s position on the center line of the road is the initial position when the traveling image is collected by the robot, and the 50m position along the center line of the road from the initial position is the end position, these two positions are not only special target positions, but also The robot needs to relocate three (middle) target positions between the initial position and the end position, as shown in Fig. 5, target position 1, target position 2, and target position 3. It can be understood that the located target position 1 is located at a distance of 5m from the initial position of the robot on the central line of the road, and target position 2 is located at a distance of 10m from the target location 1 on the central line of the road. The upper, target position 3 is located at a distance of 15 m from the target position 2 on the center line of the road, and the distance of the target position 3 from the end position on the center line of the road is 20 m. The robot is in the initial position, takes the target position 1 as the current destination, and travels to the target position 1 at the speed obtained by autonomous navigation along the center line of the road. In the case of reaching the target position 1, it is determined that the target position 1 is not the final destination, and the front target position 2 is regarded as the next destination in the case that the robot has already traveled to the target position 1, and travels along the center line of the road. Go to the target position 2 at the speed obtained by the navigation, and proceed to the end position in turn. This solution of locating the target location together is more suitable for straight and long road sections. The final destination can be reached by segmenting on the straight and long roads, and efficient travel on the long straight road sections can be realized.
此外,机器人还可以采用如下方案进行分段行进:由于图像采集装置自身的采集精度、范围等的限制,位于机器人远处的行进环境数据存在有模糊、不清楚的可能,为避免由于采集的环境数据模糊而导致的道路特征识别出错。机器人可以边采集图像边对道路特征进行识别并对当前的目标位置进行确定。具体的,在机器人处于初始位置时通过图像采集装置进行环境数据的采集,并对行进图像的道路特征进行分析,如果分析得到前方道路为直长道路,则向服务器发送通知消息。服务器产生控制命令,机器人接收用于指示该机器人按照道路中央线前进50m的控制命令,假定图像 采集装置可清晰地采集到距离机器人20m内的图像,则机器人可定位当前的目的地为距离机器人的初始位置20m处的位置,如图6(a)所示。机器人处于初始位置上,将当前目标位置如目标位置1作为当前的目的地,沿着道路中央线经自主导航得到的速度行进至当前目的地。机器人基于从目标位置1采集到的行进图像,得到前方道路仍然为直长道路的分析结果,且判断为目标位置1不是终点位置,则将目标位置1作为机器人此时的初始位置,并定位前方距离目标位置1为10m处的目标位置2为当前的目的地。其中小于等于20m内的任意位置均可被定位为下一个目标位置。如图6(b)所示,沿着道路中央线经自主导航得到的速度行进至目标位置2,依次类推行进至终点位置。可以理解,各段行驶的速度可以相同也可以不同视具体情况而定。这种依据路况环境进行目标位置依次定位的方案,一方面可保证目标位置的定位准确性,另一方面,更适用于实际应用中的不同路况,适用范围更广。其中,在目标位置进行依次定位的方案中,相邻两个目标位置间的距离可相同,也可不同,所定位的目标位置以能够清晰地采集到行进图像为准。In addition, the robot can also use the following scheme for segmented travel: Due to the limitation of the acquisition accuracy and range of the image acquisition device itself, the travel environment data located in the far distance of the robot may be ambiguous and unclear. In order to avoid the collection environment Road feature recognition error caused by fuzzy data. The robot can recognize the road features and determine the current target position while collecting images. Specifically, the image acquisition device collects environmental data when the robot is in the initial position, and analyzes the road features of the traveling image. If the analysis shows that the road ahead is a straight and long road, a notification message is sent to the server. The server generates a control command, and the robot receives a control command used to instruct the robot to advance 50m along the center line of the road. Assuming that the image capture device can clearly capture images within 20m of the robot, the robot can locate the current destination as the distance from the robot The initial position at 20m is shown in Figure 6(a). The robot is at the initial position, takes the current target position such as target position 1 as the current destination, and travels to the current destination along the center line of the road at a speed obtained by autonomous navigation. Based on the traveling image collected from the target position 1, the robot obtains the analysis result that the road ahead is still a straight and long road, and determines that the target position 1 is not the end position, then the target position 1 is used as the initial position of the robot at this time, and the front is positioned Target position 2 which is 10 m away from target position 1 is the current destination. Any position within 20m or less can be positioned as the next target position. As shown in Figure 6(b), travel along the center line of the road at the speed obtained by autonomous navigation to the target position 2, and then proceed to the end position in turn. It can be understood that the speed of each segment may be the same or different depending on the specific situation. This solution of sequentially positioning target positions based on road conditions can ensure the accuracy of target position positioning on the one hand, and on the other hand, it is more suitable for different road conditions in practical applications and has a wider range of applications. Among them, in the solution of sequential positioning of target positions, the distance between two adjacent target positions may be the same or different, and the target position to be positioned shall be subject to a clear collection of the traveling image.
前述方案中,对每个分段进行分别自主导航,分段间的距离均小于50m,与相关技术中的机器人直接为50m进行自主导航的相比,为小于50m的距离进行自主导航,调用的运算和/或存储资源少,可大大减轻资源负担,使得资源更倾向于去响应机器人的行进动作如前进动作,从可提高行进效率。此外,在检测到满足预定条件的行进环境数据的情况下向远程服务器发送通知消息并接收控制命令,可使得机器人沿着目标路线-道路中央线行进,可实现在路况条件好的道路上的行进。此外,操作人员仅需通过远程服务器发送一次控制命令,无需操作人员多次发送控制指令即可完成各个分段路程的行进,减轻了操作人员的负担。In the aforementioned scheme, each segment is independently navigated, and the distance between the segments is less than 50m. Compared with the robot in the related technology, the autonomous navigation is performed at a distance of less than 50m. Less computing and/or storage resources can greatly reduce the burden of resources, making resources more inclined to respond to the robot's traveling actions, such as forward actions, thereby improving traveling efficiency. In addition, when the travel environment data that meets the predetermined conditions is detected, the notification message is sent to the remote server and the control command is received, so that the robot can travel along the target route-the center line of the road, and can travel on the road with good road conditions. . In addition, the operator only needs to send the control command once through the remote server, and the travel of each segment can be completed without the operator having to send the control command multiple times, which reduces the burden on the operator.
可以理解,由于图像采集装置采集精度、范围等的有限性,导致其采 集图像中对于近处环境的画面显示较为准确,对于远处环境的画面显示得可能不够准确,如此对于距离机器人位置较近的目标位置其可以准确地定位出,对于距离机器人位置较远的目标位置其定位可能会出现偏差如偏离目标路线如道路中央线1m。为解决这一问题,在机器人行进至当前的目标位置的过程中,根据采集到的行进环境数据,对机器人下一个要行进的目标位置进行校正,如将偏离道路中央线的目标位置2从偏离道路中央线的位置移动至道路中央线处,以保证机器人能够在目标路线上行进,保证行进准确性。It can be understood that due to the limitation of the acquisition accuracy and range of the image acquisition device, the display of the image of the near environment in the image acquisition device is more accurate, and the display of the image of the distant environment may not be accurate enough. The target position of the robot can be accurately located, and the positioning of the target position far away from the robot position may deviate from the target route such as the center line of the road by 1m. To solve this problem, when the robot is traveling to the current target position, according to the collected traveling environment data, the next target position of the robot to be traveled is corrected, for example, the target position 2 that deviates from the center line of the road is deviated from The position of the central line of the road is moved to the central line of the road to ensure that the robot can travel on the target route and ensure the accuracy of travel.
可以理解,机器人可以在行进至最终目的地之后,停止行进,并通知至远程服务器。此外,在机器人遇到无法处理的异常情况例如遇到无法避开的障碍物也向远程服务器发送通知消息。该通知消息用于告知机器人停止行进及导致停止行进的原因如已经行进至最终目的地或遇到无法处理的异常情况。还可以接收来自远程服务器的停止行进指令,机器人响应该行进指令并进行响应。其中,操作人员通过机器人传输的图像观看机器人的行进环境如通过图像获知机器人的前方存在有障碍物,产生用于控制机器人停止行进的指令。It is understandable that the robot can stop traveling after traveling to the final destination and notify the remote server. In addition, when the robot encounters an abnormal situation that cannot be handled, such as an obstacle that cannot be avoided, it also sends a notification message to the remote server. The notification message is used to inform the robot to stop traveling and the reason that caused it to stop traveling, such as having traveled to the final destination or encountered an abnormal situation that cannot be handled. It can also receive a stop travel instruction from a remote server, and the robot responds to the travel instruction and responds. Among them, the operator observes the traveling environment of the robot through the image transmitted by the robot, such as knowing that there is an obstacle in front of the robot through the image, and generates an instruction for controlling the robot to stop traveling.
本申请还提供一种可行进设备的实施例,如图7所示,包括:第一获得单元701、第二获得单元702、第三获得单元703及行进单元704;其中,The present application also provides an embodiment of a feasible device, as shown in FIG. 7, including: a first obtaining unit 701, a second obtaining unit 702, a third obtaining unit 703, and a traveling unit 704; wherein,
第一获得单元701,配置为获得控制命令,所述控制命令至少用于指示可行进设备的待行进距离;The first obtaining unit 701 is configured to obtain a control command, where the control command is at least used to indicate the to-be-traveled distance of the accessible device;
第二获得单元702,配置为依据所述待行进距离,获得第一路线,其中所述第一路线为所述可行进设备完成所述待行进距离而行走的路线;The second obtaining unit 702 is configured to obtain a first route according to the to-be-traveled distance, where the first route is a route that the accessible device walks after completing the to-be-traveled distance;
第三获得单元703,配置为获得所述第一路线上的至少一个目标位置;The third obtaining unit 703 is configured to obtain at least one target position on the first route;
行进单元704,配置为依次行进至所述至少一个目标位置中的各个目标位置,以完成所述待行进距离。The traveling unit 704 is configured to sequentially travel to each of the at least one target position to complete the to-be-traveled distance.
作为一种实现方式,所述第三获得单元703,配置为获得所述第一路线上的至少两个目标位置;相应的,所述行进单元704,配置为按照所述至少两个目标位置中各个目标位置与所述待行进距离对应的终点位置之间的距离由大变小,依次行进至所述各个目标位置。As an implementation manner, the third obtaining unit 703 is configured to obtain at least two target positions on the first route; correspondingly, the traveling unit 704 is configured to obtain at least two target positions according to The distance between each target position and the end position corresponding to the to-be-traveled distance is changed from large to small, and the target positions are sequentially advanced.
作为一种实现方式,所述第三获得单元703,还配置为获得所述第一路线的第一目标位置;所述行进单元704,还配置为控制所述可行进设备行进至所述第一目标位置;所述第三获得单元703,还配置为获得所述第一路线的第二目标位置;所述行进单元704,还配置为控制所述可行进设备从第一目标位置行进至第二目标位置;其中,所述第一目标位置与所述第二目标位置为所述至少两个目标位置中任意相邻的两个目标位置、且第二目标位置与所述待行进距离对应的终点位置之间的距离小于所述第一目标位置与所述待行进距离对应的终点位置之间的距离。As an implementation manner, the third obtaining unit 703 is further configured to obtain the first target position of the first route; the traveling unit 704 is further configured to control the feasible traveling device to travel to the first Target position; the third obtaining unit 703 is further configured to obtain a second target position of the first route; the traveling unit 704 is further configured to control the feasible traveling device to travel from the first target position to the second Target position; wherein the first target position and the second target position are any two adjacent target positions of the at least two target positions, and the second target position corresponds to the end point of the distance to be traveled The distance between the positions is smaller than the distance between the first target position and the end position corresponding to the distance to be traveled.
作为一种实现方式,所述第三获得单元703,还配置为获得第一目标位置和第二目标位置;所述行进单元704,还配置为控制所述可行进设备行进至所述第一目标位置以及控制所述可行进设备从所述第一目标位置行进至第二目标位置;其中,所述第一目标位置与所述第二目标位置为所述至少两个目标位置中任意相邻的两个目标位置、且第二目标位置与所述待行进距离对应的终点位置之间的距离小于所述第一目标位置与所述待行进距离对应的终点位置之间的距离。As an implementation manner, the third obtaining unit 703 is further configured to obtain a first target position and a second target position; the traveling unit 704 is further configured to control the feasible traveling device to travel to the first target Position and control the viable device to travel from the first target position to the second target position; wherein the first target position and the second target position are any adjacent ones of the at least two target positions The distance between the two target positions and the second target position and the end position corresponding to the distance to be traveled is smaller than the distance between the first target position and the end position corresponding to the distance to travel.
所述设备还包括:The device also includes:
采集单元(图像采集装置),配置为采集所述可行进设备所处的行进环境数据;在采集到满足预定条件的行进环境数据的情况下,触发所述第二获得单元702获得第一路线,其中所述第一路线为所述可行进设备完成所述待行进距离而行走的目标路线。The acquisition unit (image acquisition device) is configured to collect travel environment data where the accessible device is located; in the case of collecting travel environment data that meets predetermined conditions, trigger the second obtaining unit 702 to obtain the first route, Wherein, the first route is a target route that the viable device walks after completing the to-be-traveled distance.
所述设备还包括:The device also includes:
发送单元,配置为在采集单元采集到满足预定条件的行进环境数据的情况下,向远程服务器发送通知消息;相应的,所述第一获得单元701,配置为接收来自所述远程服务器的针对所述通知消息的所述控制命令。The sending unit is configured to send a notification message to a remote server when the collecting unit collects traveling environment data that meets predetermined conditions; correspondingly, the first obtaining unit 701 is configured to receive the data from the remote server for The control command of the notification message.
所述设备还包括:The device also includes:
校正单元,配置为对所述第二目标位置进行校正;A correction unit configured to correct the second target position;
相应的,所述行进单元704,配置为控制所述可行进设备从第一目标位置行进至经校正的第二目标位置。Correspondingly, the traveling unit 704 is configured to control the feasible traveling device to travel from the first target position to the corrected second target position.
前述方案中,所述第三获得单元703,配置为在采集单元采集到可行进设备所处的行进环境数据满足预定条件的情况下,获得所述第二目标位置。In the foregoing solution, the third obtaining unit 703 is configured to obtain the second target position when the traveling environment data of the accessible device collected by the collecting unit meets a predetermined condition.
上述实施例提供的可行进设备与前述的行进方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。前述的第一获得单元701、第二获得单元702、第三获得单元703及行进单元704均可由数字信号处理(DSP)、中央处理器(CPU)、逻辑编程阵列(FPGA)、控制器(MCU)等来实现。采集单元由前述的诸如视觉相机、深度相机、鱼眼相机等图像采集单元来实现。发送单元由后续的通信组件83来实现。The feasible travel equipment provided in the foregoing embodiment belongs to the same concept as the foregoing travel method embodiment, and its specific implementation process is detailed in the method embodiment, which will not be repeated here. The aforementioned first obtaining unit 701, second obtaining unit 702, third obtaining unit 703, and traveling unit 704 can all be composed of digital signal processing (DSP), central processing unit (CPU), logic programming array (FPGA), controller (MCU) ) And so on. The acquisition unit is implemented by the aforementioned image acquisition unit such as a vision camera, a depth camera, and a fisheye camera. The sending unit is implemented by the subsequent communication component 83.
本申请实施例还提供一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时至少用于执行图1至图6(a)、(b)任一所示方法的步骤。所述计算机可读存储介质具体可以为存储器。所述存储器可以为如图8所示的存储器82。The embodiment of the present application also provides a computer-readable storage medium on which a computer program is stored. When the program is executed by the processor, it is at least used to execute any one of the methods shown in FIGS. 1 to 6(a) and (b). step. The computer-readable storage medium may specifically be a memory. The memory may be the memory 82 shown in FIG. 8.
本申请实施例还提供了一种终端。图8为本申请实施例的可行进设备的硬件结构示意图,如图8所示,包括:用于进行数据传输的通信组件83、至少一个处理器81和用于存储能够在处理器81上运行的计算机程序的存储器82。终端中的各个组件通过总线系统84耦合在一起。可理解,总线系统84用于实现这些组件之间的连接通信。总线系统84除包括数据总线之外,还包括电源总线、控制总线和状态信号总线。但是为了清楚说明起见, 在图8中将各种总线都标为总线系统84。The embodiment of the present application also provides a terminal. FIG. 8 is a schematic diagram of the hardware structure of a viable device according to an embodiment of the application. As shown in FIG. 8, it includes: a communication component 83 for data transmission, at least one processor 81, and storage capable of running on the processor 81 The memory 82 of the computer program. The various components in the terminal are coupled together through the bus system 84. It can be understood that the bus system 84 is used to realize the connection and communication between these components. In addition to the data bus, the bus system 84 also includes a power bus, a control bus, and a status signal bus. However, for clarity of description, various buses are marked as the bus system 84 in FIG. 8.
其中,所述处理器81执行所述计算机程序时至少执行图1至图6(a)、(b)任一所示方法的步骤。Wherein, the processor 81 executes at least the steps of any one of the methods shown in FIGS. 1 to 6 (a) and (b) when executing the computer program.
可以理解,存储器82可以是易失性存储器或非易失性存储器,也可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(ROM,Read Only Memory)、可编程只读存储器(PROM,Programmable Read-Only Memory)、可擦除可编程只读存储器(EPROM,Erasable Programmable Read-Only Memory)、电可擦除可编程只读存储器(EEPROM,Electrically Erasable Programmable Read-Only Memory)、磁性随机存取存储器(FRAM,ferromagnetic random access memory)、快闪存储器(Flash Memory)、磁表面存储器、光盘、或只读光盘(CD-ROM,Compact Disc Read-Only Memory);磁表面存储器可以是磁盘存储器或磁带存储器。易失性存储器可以是随机存取存储器(RAM,Random Access Memory),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(SRAM,Static Random Access Memory)、同步静态随机存取存储器(SSRAM,Synchronous Static Random Access Memory)、动态随机存取存储器(DRAM,Dynamic Random Access Memory)、同步动态随机存取存储器(SDRAM,Synchronous Dynamic Random Access Memory)、双倍数据速率同步动态随机存取存储器(DDRSDRAM,Double Data Rate Synchronous Dynamic Random Access Memory)、增强型同步动态随机存取存储器(ESDRAM,Enhanced Synchronous Dynamic Random Access Memory)、同步连接动态随机存取存储器(SLDRAM,SyncLink Dynamic Random Access Memory)、直接内存总线随机存取存储器(DRRAM,Direct Rambus Random Access Memory)。本申请实施例描述的存储器82旨在包括但不限于这些和任意其它适合类型的存储器。It is understood that the memory 82 may be a volatile memory or a non-volatile memory, and may also include both volatile and non-volatile memory. Among them, the non-volatile memory can be a read only memory (ROM, Read Only Memory), a programmable read only memory (PROM, Programmable Read-Only Memory), an erasable programmable read only memory (EPROM, Erasable Programmable Read- Only Memory, Electrically Erasable Programmable Read-Only Memory (EEPROM, Electrically Erasable Programmable Read-Only Memory), magnetic random access memory (FRAM, ferromagnetic random access memory), flash memory (Flash Memory), magnetic surface memory , CD-ROM, or CD-ROM (Compact Disc Read-Only Memory); magnetic surface memory can be magnetic disk storage or tape storage. The volatile memory may be random access memory (RAM, Random Access Memory), which is used as an external cache. By way of exemplary but not restrictive description, many forms of RAM are available, such as static random access memory (SRAM, Static Random Access Memory), synchronous static random access memory (SSRAM, Synchronous Static Random Access Memory), and dynamic random access Memory (DRAM, Dynamic Random Access Memory), synchronous dynamic random access memory (SDRAM, Synchronous Dynamic Random Access Memory), double data rate synchronous dynamic random access memory (DDRSDRAM, Double Data Rate Synchronous Dynamic Random Access Memory), enhanced -Type synchronous dynamic random access memory (ESDRAM, Enhanced Synchronous Dynamic Random Access Memory), synchronous connection dynamic random access memory (SLDRAM, SyncLink Dynamic Random Access Memory), direct memory bus random access memory (DRRAM, Direct Rambus Random Access Memory) ). The memory 82 described in the embodiment of the present application is intended to include, but is not limited to, these and any other suitable types of memory.
上述本申请实施例揭示的方法可以应用于处理器81中,或者由处理器81实现。处理器81可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过处理器81中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器81可以是通用处理器、DSP,或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。处理器81可以实现或者执行本申请实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者任何常规的处理器等。结合本申请实施例所公开的方法的步骤,可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于存储介质中,该存储介质位于存储器82,处理器81读取存储器82中的信息,结合其硬件完成前述方法的步骤。The method disclosed in the foregoing embodiment of the present application may be applied to the processor 81 or implemented by the processor 81. The processor 81 may be an integrated circuit chip with signal processing capability. In the implementation process, the steps of the foregoing method can be completed by an integrated logic circuit of hardware in the processor 81 or instructions in the form of software. The aforementioned processor 81 may be a general-purpose processor, a DSP, or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, and the like. The processor 81 may implement or execute various methods, steps, and logical block diagrams disclosed in the embodiments of the present application. The general-purpose processor may be a microprocessor or any conventional processor. Combining the steps of the method disclosed in the embodiments of the present application, it may be directly embodied as being executed and completed by a hardware decoding processor, or executed by a combination of hardware and software modules in the decoding processor. The software module may be located in a storage medium, and the storage medium is located in the memory 82. The processor 81 reads the information in the memory 82 and completes the steps of the foregoing method in combination with its hardware.
在示例性实施例中,可行进设备可以被一个或多个应用专用集成电路(ASIC,Application Specific Integrated Circuit)、DSP、可编程逻辑器件(PLD,Programmable Logic Device)、复杂可编程逻辑器件(CPLD,Complex Programmable Logic Device)、FPGA、通用处理器、控制器、MCU、微处理器(Microprocessor)、或其他电子元件实现,用于执行前述的行进方法。In an exemplary embodiment, the accessible device may be implemented by one or more application specific integrated circuits (ASIC, Application Specific Integrated Circuit), DSP, programmable logic device (PLD, Programmable Logic Device), and complex programmable logic device (CPLD). , Complex Programmable Logic Device), FPGA, general-purpose processor, controller, MCU, microprocessor (Microprocessor), or other electronic components are used to implement the aforementioned travel method.
在本申请所提供的几个实施例中,应该理解到,所揭露的设备和方法,可以通过其它的方式实现。以上所描述的设备实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,如:多个单元或组件可以结合,或可以集成到另一个系统,或一些特征可以忽略,或不执行。另外,所显示或讨论的各组成部分相互之间的耦合、或直接耦合、或通信连接可以是通过一些接口,设备或单元的间接耦合或通信连接,可以是电性的、机械的或其它形式的。In the several embodiments provided in this application, it should be understood that the disclosed device and method may be implemented in other ways. The device embodiments described above are merely illustrative. For example, the division of the units is only a logical function division, and there may be other divisions in actual implementation, such as: multiple units or components can be combined, or It can be integrated into another system, or some features can be ignored or not implemented. In addition, the coupling, or direct coupling, or communication connection between the components shown or discussed may be indirect coupling or communication connection through some interfaces, devices or units, and may be electrical, mechanical or other forms of.
上述作为分离部件说明的单元可以是、或也可以不是物理上分开的,作为单元显示的部件可以是、或也可以不是物理单元,即可以位于一个地 方,也可以分布到多个网络单元上;可以根据实际的需要选择其中的部分或全部单元来实现本实施例方案的目的。The units described above as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units; Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
另外,在本申请各实施例中的各功能单元可以全部集成在一个处理单元中,也可以是各单元分别单独作为一个单元,也可以两个或两个以上单元集成在一个单元中;上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。In addition, the functional units in the embodiments of the present application can all be integrated into one processing unit, or each unit can be individually used as a unit, or two or more units can be integrated into one unit; The unit can be implemented in the form of hardware, or in the form of hardware plus software functional units.
本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述的程序可以存储于一计算机可读取存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质包括:移动存储设备、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。A person of ordinary skill in the art can understand that all or part of the steps in the above method embodiments can be implemented by a program instructing relevant hardware. The foregoing program can be stored in a computer readable storage medium. When the program is executed, it is executed. Including the steps of the foregoing method embodiment; and the foregoing storage medium includes: removable storage devices, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disks or optical disks, etc. A medium that can store program codes.
或者,本申请上述集成的单元如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请实施例的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机、服务器、或者网络设备等)执行本申请各个实施例所述方法的全部或部分。而前述的存储介质包括:移动存储设备、ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。Alternatively, if the above-mentioned integrated unit of this application is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer readable storage medium. Based on this understanding, the technical solutions of the embodiments of the present application essentially or the part that contributes to the prior art can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for A computer device (which may be a personal computer, a server, or a network device, etc.) executes all or part of the methods described in the various embodiments of the present application. The aforementioned storage media include: removable storage devices, ROM, RAM, magnetic disks, or optical disks and other media that can store program codes.
本申请所提供的几个方法实施例中所揭露的方法,在不冲突的情况下可以任意组合,得到新的方法实施例。The methods disclosed in the several method embodiments provided in this application can be combined arbitrarily without conflict to obtain new method embodiments.
本申请所提供的几个产品实施例中所揭露的特征,在不冲突的情况下可以任意组合,得到新的产品实施例。The features disclosed in the several product embodiments provided in this application can be combined arbitrarily without conflict to obtain new product embodiments.
本申请所提供的几个方法或设备实施例中所揭露的特征,在不冲突 的情况下可以任意组合,得到新的方法实施例或设备实施例。The features disclosed in the several method or device embodiments provided in this application can be combined arbitrarily without conflict to obtain a new method embodiment or device embodiment.
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。The above are only specific implementations of this application, but the protection scope of this application is not limited to this. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed in this application. Should be covered within the scope of protection of this application. Therefore, the protection scope of this application should be subject to the protection scope of the claims.
工业实用性Industrial applicability
本申请实施例中,通过依次行进至第一路线上的各个目标位置的方式完成控制命令指示的待行进距离,相当于分段进行待行进距离的行进,分段行进的方案与直接导航到目的地而调用的运算和/或存储资源要少,可大大减轻资源负担,进而提高行进效率。In the embodiment of the present application, the distance to be traveled indicated by the control command is completed by sequentially traveling to each target position on the first route, which is equivalent to the travel of the distance to be traveled in sections. The calculation and/or storage resources that are called locally are less, which can greatly reduce the resource burden and thereby improve the travel efficiency.

Claims (18)

  1. 一种行进方法,所述方法包括:A traveling method, the method includes:
    获得控制命令,所述控制命令至少用于指示可行进设备的待行进距离;Obtain a control command, the control command at least being used to indicate the to-be-traveled distance of the accessible device;
    依据所述待行进距离,获得第一路线,其中所述第一路线为所述可行进设备完成所述待行进距离而行走的路线;Obtaining a first route according to the to-be-traveled distance, where the first route is a route that the accessible device travels to complete the to-be-traveled distance;
    获得所述第一路线上的至少一个目标位置;Obtain at least one target location on the first route;
    依次行进至所述至少一个目标位置中的各个目标位置,以完成所述待行进距离。Traveling sequentially to each of the at least one target position to complete the to-be-traveled distance.
  2. 根据权利要求1所述的方法,其中,所述获得所述第一路线上的至少一个目标位置,包括:The method according to claim 1, wherein the obtaining at least one target location on the first route comprises:
    获得所述第一路线上的至少两个目标位置;Obtain at least two target positions on the first route;
    相应的,所述依次行进至所述至少一个目标位置中的各个目标位置,以完成所述待行进距离,包括:Correspondingly, the sequentially traveling to each of the at least one target position to complete the to-be-traveled distance includes:
    按照所述至少两个目标位置中各个目标位置与所述待行进距离对应的终点位置之间的距离由大变小,依次行进至所述各个目标位置。According to the distance between each of the at least two target positions and the end position corresponding to the to-be-traveled distance, the distance between each target position and the to-be-traveled distance is changed from large to small, and the target positions are sequentially advanced.
  3. 根据权利要求2所述的方法,其中,所述方法包括:The method of claim 2, wherein the method comprises:
    获得第一目标位置;Get the first target position;
    控制所述可行进设备行进至所述第一目标位置;Controlling the feasible device to travel to the first target position;
    获得第二目标位置;Obtain the second target position;
    控制所述可行进设备从第一目标位置行进至第二目标位置;Controlling the viable device to travel from the first target position to the second target position;
    其中,所述第一目标位置与所述第二目标位置为所述至少两个目标位置中任意相邻的两个目标位置、且第二目标位置与所述待行进距离对应的终点位置之间的距离小于所述第一目标位置与所述待行进距离对应的终点位置之间的距离。Wherein, the first target position and the second target position are any two adjacent target positions among the at least two target positions, and the second target position is between the end position corresponding to the distance to be traveled The distance of is smaller than the distance between the first target position and the end position corresponding to the distance to be traveled.
  4. 根据权利要求2所述的方法,其中,所述方法包括:The method of claim 2, wherein the method comprises:
    获得第一目标位置和第二目标位置;Obtain the first target position and the second target position;
    控制所述可行进设备行进至所述第一目标位置;Controlling the feasible device to travel to the first target position;
    控制所述可行进设备从所述第一目标位置行进至与第二目标位置;其中,所述第一目标位置与所述第二目标位置为所述至少两个目标位置中任意相邻的两个目标位置、且第二目标位置与所述待行进距离对应的终点位置之间的距离小于所述第一目标位置与所述待行进距离对应的终点位置之间的距离。Control the viable device to travel from the first target position to the second target position; wherein the first target position and the second target position are any two adjacent ones of the at least two target positions. There are two target positions, and the distance between the second target position and the end position corresponding to the distance to be traveled is smaller than the distance between the first target position and the end position corresponding to the distance to travel.
  5. 根据权利要求1至4任一项所述的方法,其中,所述方法还包括:The method according to any one of claims 1 to 4, wherein the method further comprises:
    采集所述可行进设备所处的行进环境数据;Collect travel environment data where the feasible equipment is located;
    当所述行进环境数据满足预定条件的情况下,获得第一路线,其中所述第一路线为所述可行进设备完成所述待行进距离而行走的目标路线,所述目标路线的行进环境数据满足所述预定条件。When the traveling environment data satisfies a predetermined condition, a first route is obtained, where the first route is a target route traveled by the accessible device to complete the to-be-traveled distance, and traveling environment data of the target route Meet the predetermined condition.
  6. 根据权利要求5所述的方法,其中,所述获得控制命令之前,所述方法还包括:The method according to claim 5, wherein, before the obtaining the control command, the method further comprises:
    在采集到满足预设条件的行进环境数据的情况下,向远程服务器发送通知消息;In the case of collecting travel environment data that meets the preset conditions, send a notification message to the remote server;
    相应的,所述获得控制命令,包括:Correspondingly, the obtaining control command includes:
    接收来自所述远程服务器的针对所述通知消息的所述控制命令。Receiving the control command for the notification message from the remote server.
  7. 根据权利要求3或4所述的方法,其中,所述方法还包括:The method according to claim 3 or 4, wherein the method further comprises:
    对所述第二目标位置进行校正;Correcting the second target position;
    相应的,控制所述可行进设备从第一目标位置行进至经校正的第二目标位置。Correspondingly, the feasible travel device is controlled to travel from the first target position to the corrected second target position.
  8. 根据权利要求3所述的方法,其中,所述方法还包括:The method according to claim 3, wherein the method further comprises:
    采集所述可行进设备所处的行进环境数据;Collect travel environment data where the feasible equipment is located;
    当所述行进环境数据满足预定条件的情况下,获得所述第二目标位置。When the traveling environment data meets a predetermined condition, the second target position is obtained.
  9. 一种可行进设备,包括:A viable equipment, including:
    第一获得单元,配置为获得控制命令,所述控制命令至少用于指示可行进设备的待行进距离;The first obtaining unit is configured to obtain a control command, where the control command is at least used to indicate the to-be-traveled distance of the accessible device;
    第二获得单元,配置为依据所述待行进距离,获得第一路线,其中所述第一路线为所述可行进设备完成所述待行进距离而行走的路线;The second obtaining unit is configured to obtain a first route according to the to-be-traveled distance, wherein the first route is a route that the accessible device walks after completing the to-be-traveled distance;
    第三获得单元,配置为获得所述第一路线上的至少一个目标位置;The third obtaining unit is configured to obtain at least one target position on the first route;
    行进单元,配置为依次行进至所述至少一个目标位置中的各个目标位置,以完成所述待行进距离。The traveling unit is configured to sequentially travel to each of the at least one target position to complete the to-be-traveled distance.
  10. 根据权利要求9所述的设备,其中,The device according to claim 9, wherein:
    所述第三获得单元,配置为获得所述第一路线上的至少两个目标位置;The third obtaining unit is configured to obtain at least two target positions on the first route;
    相应的,所述行进单元,配置为按照所述至少两个目标位置中各个目标位置与所述待行进距离对应的终点位置之间的距离由大变小,依次行进至所述各个目标位置。Correspondingly, the traveling unit is configured to sequentially travel to the respective target positions according to the distance between each of the at least two target positions and the end position corresponding to the distance to be traveled.
  11. 根据权利要求10所述的设备,其中,The device according to claim 10, wherein:
    所述第三获得单元,还配置为获得所述第一路线的第一目标位置;The third obtaining unit is further configured to obtain the first target position of the first route;
    所述行进单元,还配置为控制所述可行进设备行进至所述第一目标位置;The traveling unit is further configured to control the feasible traveling equipment to travel to the first target position;
    所述第三获得单元,还配置为获得所述第一路线的第二目标位置;The third obtaining unit is further configured to obtain a second target position of the first route;
    所述行进单元,还配置为控制所述可行进设备从第一目标位置行进至第二目标位置;The traveling unit is further configured to control the feasible traveling device to travel from a first target position to a second target position;
    其中,所述第一目标位置与所述第二目标位置为所述至少两个目标位置中任意相邻的两个目标位置、且第二目标位置与所述待行进距离对应的终点位置之间的距离小于所述第一目标位置与所述待行进距离对应的终点位置之间的距离。Wherein, the first target position and the second target position are any two adjacent target positions among the at least two target positions, and the second target position is between the end position corresponding to the distance to be traveled The distance of is smaller than the distance between the first target position and the end position corresponding to the distance to be traveled.
  12. 根据权利要求10所述的设备,其中,The device according to claim 10, wherein:
    所述第三获得单元,还配置为获得第一目标位置和第二目标位置;The third obtaining unit is further configured to obtain the first target position and the second target position;
    所述行进单元,还配置为控制所述可行进设备行进至所述第一目标位置以及控制所述可行进设备从所述第一目标位置行进至第二目标位置;The traveling unit is further configured to control the feasible traveling equipment to travel to the first target position and control the feasible traveling equipment to travel from the first target position to a second target position;
    其中,所述第一目标位置与所述第二目标位置为所述至少两个目标位置中任意相邻的两个目标位置、且第二目标位置与所述待行进距离对应的终点位置之间的距离小于所述第一目标位置与所述待行进距离对应的终点位置之间的距离。Wherein, the first target position and the second target position are any two adjacent target positions among the at least two target positions, and the second target position is between the end position corresponding to the distance to be traveled The distance of is smaller than the distance between the first target position and the end position corresponding to the distance to be traveled.
  13. 根据权利要求9至12任一项所述的设备,其中,还包括:The device according to any one of claims 9 to 12, further comprising:
    采集单元,配置为采集所述可行进设备所处的行进环境数据;A collection unit configured to collect travel environment data where the feasible equipment is located;
    相应的,所述第二获得单元,配置为当采集装置采集到的行进环境数据满足预定条件的情况下,获得第一路线,其中所述第一路线为所述可行进设备完成所述待行进距离而行走的目标路线,所述目标路线的行进环境数据满足所述预定条件。Correspondingly, the second obtaining unit is configured to obtain a first route when the traveling environment data collected by the collecting device satisfies a predetermined condition, wherein the first route is for the feasible traveling equipment to complete the pending travel A target route traveled by distance, and travel environment data of the target route meets the predetermined condition.
  14. 根据权利要求13所述的设备,其中,所述设备还包括:The device according to claim 13, wherein the device further comprises:
    发送单元,配置为在采集单元采集到满足预定条件的行进环境数据的情况下,向远程服务器发送通知消息;The sending unit is configured to send a notification message to the remote server when the collecting unit collects traveling environment data that meets predetermined conditions;
    相应的,所述第一获得单元,配置为接收来自所述远程服务器的针对所述通知消息的所述控制命令。Correspondingly, the first obtaining unit is configured to receive the control command for the notification message from the remote server.
  15. 根据权利要求11或12所述的设备,其中,还包括:The device according to claim 11 or 12, further comprising:
    校正单元,配置为对所述第二目标位置进行校正;A correction unit configured to correct the second target position;
    相应的,所述行进单元,配置为控制所述可行进设备从第一目标位置行进至经校正的第二目标位置。Correspondingly, the traveling unit is configured to control the feasible traveling device to travel from the first target position to the corrected second target position.
  16. 根据权利要求11所述的设备,其中,还包括:The device according to claim 11, further comprising:
    所述第三获得单元,配置为在采集单元采集到可行进设备所处的行进 环境数据满足预定条件的情况下,获得所述第二目标位置。The third obtaining unit is configured to obtain the second target position when the traveling environment data of the accessible device is collected by the collecting unit and meets a predetermined condition.
  17. 一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现权利要求1至8任一所述方法的步骤。A computer-readable storage medium with a computer program stored thereon, which, when executed by a processor, implements the steps of the method described in any one of claims 1 to 8.
  18. 一种可行进设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现权利要求1至8任一所述方法的步骤。A feasible device comprising a memory, a processor, and a computer program stored in the memory and running on the processor, and the processor implements the steps of the method according to any one of claims 1 to 8 when the processor executes the program.
PCT/CN2020/109612 2019-08-15 2020-08-17 Traveling method, traveling device, and storage medium WO2021027966A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910755559.8 2019-08-15
CN201910755559.8A CN110554697A (en) 2019-08-15 2019-08-15 Travel method, travel-enabled device, and storage medium

Publications (1)

Publication Number Publication Date
WO2021027966A1 true WO2021027966A1 (en) 2021-02-18

Family

ID=68737788

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/109612 WO2021027966A1 (en) 2019-08-15 2020-08-17 Traveling method, traveling device, and storage medium

Country Status (2)

Country Link
CN (1) CN110554697A (en)
WO (1) WO2021027966A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110554697A (en) * 2019-08-15 2019-12-10 北京致行慕远科技有限公司 Travel method, travel-enabled device, and storage medium
CN111060110A (en) * 2020-01-07 2020-04-24 深圳市优必选科技股份有限公司 Robot navigation method, robot navigation device and robot

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105955280A (en) * 2016-07-19 2016-09-21 Tcl集团股份有限公司 Mobile robot path planning and obstacle avoidance method and system
US20170057087A1 (en) * 2014-05-02 2017-03-02 Hanwha Techwin Co., Ltd. Device for planning path of mobile robot and method for planning path of mobile robot
CN108072369A (en) * 2016-11-16 2018-05-25 阳光暖果(北京)科技发展有限公司 A kind of Mobile Robotics Navigation method of configurable strategy
CN109229097A (en) * 2018-10-25 2019-01-18 北京猎户星空科技有限公司 A kind of cruise control method and device
CN109828601A (en) * 2019-01-11 2019-05-31 丰疆智慧农业股份有限公司 Traveling control method and its control device for agricultural unmanned plane
CN110069058A (en) * 2018-01-24 2019-07-30 南京机器人研究院有限公司 Navigation control method in a kind of robot chamber
CN110554697A (en) * 2019-08-15 2019-12-10 北京致行慕远科技有限公司 Travel method, travel-enabled device, and storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9367067B2 (en) * 2013-03-15 2016-06-14 Ashley A Gilmore Digital tethering for tracking with autonomous aerial robot
CN107843252B (en) * 2017-10-18 2020-10-09 歌尔股份有限公司 Navigation path optimization method and device and electronic equipment
US10429849B2 (en) * 2017-12-14 2019-10-01 Baidu Usa Llc Non-linear reference line optimization method using piecewise quintic polynomial spiral paths for operating autonomous driving vehicles
CN108827278B (en) * 2018-10-09 2019-01-29 上海岚豹智能科技有限公司 Air navigation aid and equipment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170057087A1 (en) * 2014-05-02 2017-03-02 Hanwha Techwin Co., Ltd. Device for planning path of mobile robot and method for planning path of mobile robot
CN105955280A (en) * 2016-07-19 2016-09-21 Tcl集团股份有限公司 Mobile robot path planning and obstacle avoidance method and system
CN108072369A (en) * 2016-11-16 2018-05-25 阳光暖果(北京)科技发展有限公司 A kind of Mobile Robotics Navigation method of configurable strategy
CN110069058A (en) * 2018-01-24 2019-07-30 南京机器人研究院有限公司 Navigation control method in a kind of robot chamber
CN109229097A (en) * 2018-10-25 2019-01-18 北京猎户星空科技有限公司 A kind of cruise control method and device
CN109828601A (en) * 2019-01-11 2019-05-31 丰疆智慧农业股份有限公司 Traveling control method and its control device for agricultural unmanned plane
CN110554697A (en) * 2019-08-15 2019-12-10 北京致行慕远科技有限公司 Travel method, travel-enabled device, and storage medium

Also Published As

Publication number Publication date
CN110554697A (en) 2019-12-10

Similar Documents

Publication Publication Date Title
CN111231950B (en) Method, device and equipment for planning lane change path of vehicle and readable storage medium
CN110260867B (en) Method, equipment and device for determining and correcting neutral position in robot navigation
WO2021169993A1 (en) Method for constructing self-driving map and related device
KR20220054278A (en) Travelling track prediction method and device for vehicle
EP3819194A2 (en) Automatic parking method and apparatus, and electronic device
US20170343374A1 (en) Vehicle navigation method and apparatus
CN110763246A (en) Automatic driving vehicle path planning method and device, vehicle and storage medium
EP3920089A1 (en) Method, device and storage medium for generating a parking model
US10369993B2 (en) Method and device for monitoring a setpoint trajectory to be traveled by a vehicle for being collision free
US10860868B2 (en) Lane post-processing in an autonomous driving vehicle
JP7220169B2 (en) Information processing method, device, storage medium, and program
WO2021027967A1 (en) Route determination method, travelable equipment, and storage medium
WO2021027966A1 (en) Traveling method, traveling device, and storage medium
CN111830979A (en) Trajectory optimization method and device
EP3992732A1 (en) Method and apparatus for predicting motion trajectory
WO2022142592A1 (en) Front-first parking method, device and system
WO2022267283A1 (en) Robot, navigation method and apparatus therefor, and computer-readable storage medium
CN113771839B (en) Automatic parking decision planning method and system
US20200088536A1 (en) Method for trajectory planning of a movable object
CN111413986A (en) Automatic driving control method and system based on agricultural machinery
JP6892516B2 (en) 3-point turn plan for self-driving vehicles based on enumeration
CN110083158B (en) Method and equipment for determining local planning path
CN113844460A (en) Vehicle control method and device and vehicle
JP2020004368A (en) Parking section recognition device
JP6936673B2 (en) Map data update system and map data update program

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20852422

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20852422

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 20852422

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205 DATED 08.11.2022.)

122 Ep: pct application non-entry in european phase

Ref document number: 20852422

Country of ref document: EP

Kind code of ref document: A1