Vehicle navigation positioning method, vehicle and storage medium

By combining the information from the vision module and the position detection module, the AGV car uses the position relationship of obstacles to adjust its course when the identification code recognition fails, which solves the problem of course deviation of the AGV car caused by the failure of identification code recognition and improves the accuracy and accuracy of navigation. Security.

CN113448328BActive Publication Date: 2024-09-24BEIJING JINGDONG QIANSHITECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010229450.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-03-27
Publication Date
2024-09-24
Estimated Expiration
2040-03-27

AI Technical Summary

Technical Problem

Existing AGV cars deviate in course due to identification code recognition failure in harsh environments, and are unable to obtain positioning and navigation information, resulting in serious course deviation and collision risks.

Method used

The vision module is used to scan and parse the identification code, and the position detection module is used to obtain the position relationship information between the vehicle and obstacles. The vehicle's position, attitude and heading error are determined based on the identification code analysis results, and adjustments are made to reduce reliance on a single navigation method. correction.

Benefits of technology

It improves the operating accuracy and safety of the AGV car, reduces the course deviation caused by the failure of identification code analysis, and ensures higher reliability and stability of the vehicle in navigation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113448328B
    Figure CN113448328B
Patent Text Reader

Abstract

The embodiment of the present invention discloses a vehicle navigation and positioning method, a vehicle and a storage medium. The method is applied to a vehicle including a visual module and a position detection module, and includes: scanning and parsing the identification code on the ground where the vehicle body is currently located through the visual module; obtaining the position relationship information between the vehicle body and at least two target obstacles in the direction of travel of the vehicle body through the position detection module; determining the current position information and attitude heading error of the vehicle body according to the position relationship information, the position information and the parsing result of the identification code output by the visual module, and adjusting the attitude heading of the vehicle body according to the position information and the attitude heading error. The problem of easy heading deviation of the existing AGV trolley is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present invention relate to the field of automatic control, and in particular to a vehicle navigation and positioning method, a vehicle, and a storage medium. Background Art

[0002] Given the characteristics of accurate and flexible positioning, easy path laying and changing, simple communication control, and no interference with sound and light, the identification code visual navigation has become one of the mainstream AGV (Automated Guided Vehicle, AGV for short, also known as AGV trolley) navigation methods. Among them, AGV trolley refers to a transport vehicle equipped with electromagnetic or optical automatic guidance devices, which can travel along the specified guidance path and has safety protection and various transfer functions.

[0003] Identification code navigation is to stick an identification code label with location and heading information on the ground. When the AGV passes through the identification code label, the high-speed camera on board scans the identification code image on the ground and analyzes the information to obtain positioning and navigation information.

[0004] In application scenarios such as factory warehouses, due to the harsh ground environment, when the AGV is running at high speed, the visual navigation method based on identification code recognition sometimes fails to collect or resolve the identification code, and the AGV cannot obtain the current positioning navigation information. If multiple identification codes fail to be collected or resolved in succession, the AGV will have a serious course deviation, and due to the course deviation, it will move away from the set track and collide with obstacles.

[0005] In summary, in the process of implementing the present invention, the inventors found that the following technical problems exist in the prior art: existing vehicles have the problem of over-reliance on the results of identification code analysis to correct their attitude and heading. Once multiple consecutive identification codes fail to be acquired or analyzed, the cumulative error of their attitude and heading will exceed the allowable error range, resulting in heading deviation. Summary of the invention

[0006] The embodiment of the present invention provides a vehicle navigation and positioning method, a vehicle and a storage medium to solve the problem that the existing vehicles are prone to heading deviation.

[0007] In a first aspect, an embodiment of the present invention provides a vehicle navigation and positioning method, which is applied to a vehicle including a visual module and a position detection module, and the method includes:

[0008] Scan and analyze the identification code on the ground where the vehicle body is currently located by the visual module;

[0009] Acquiring positional relationship information between the vehicle body and at least two target obstacles in the direction of travel of the vehicle body through the position detection module;

[0010] The current position information and attitude heading error of the vehicle body are determined according to the position relationship information, the position information and the identification code parsing result output by the visual module, and the attitude heading of the vehicle body is adjusted according to the position information and the attitude heading error.

[0011] In a second aspect, an embodiment of the present invention further provides a vehicle, comprising:

[0012] Vehicle body;

[0013] A visual module, disposed at the bottom of the vehicle body, for scanning and analyzing an identification code on the ground where the vehicle body is currently located;

[0014] A position detection module, disposed on the vehicle body, for acquiring positional relationship information between the vehicle body and at least two target obstacles in the direction of travel of the vehicle body;

[0015] A storage module, used to store the location information of the target obstacle;

[0016] A control module is used to determine the current position information and attitude heading error of the vehicle body according to the position relationship information, the position information and the identification code parsing result output by the visual module, and adjust the attitude heading of the vehicle body according to the position information and the attitude heading error.

[0017] In a third aspect, an embodiment of the present invention further provides a storage medium comprising computer executable instructions, wherein the computer executable instructions, when executed by a computer processor, are used to execute the vehicle navigation and positioning method as described in any embodiment.

[0018] The technical solution of the vehicle provided by the embodiment of the present invention is to scan and analyze the identification code on the ground where the vehicle body is currently located through the visual module; obtain the position relationship information between the vehicle body and at least two target obstacles in the direction of travel of the vehicle body through the position detection module; determine the current position information and attitude heading error of the vehicle body according to the position relationship information, the position information and the identification code analysis result output by the visual module, and adjust the attitude heading of the vehicle body according to the position information and the attitude heading error. The vehicle not only relies on the identification code analysis result to correct the attitude heading, but also refers to the position relationship information between the vehicle and the target obstacle to correct the vehicle attitude heading, which greatly reduces the occurrence of the situation where the vehicle attitude heading cannot be corrected due to the failure of identification code analysis, and improves the accuracy and safety of vehicle operation. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0020] Figure 1 is a structural block diagram of a vehicle provided by Embodiment 1 of the present invention;

[0021] Figure 2 This is a schematic diagram of vehicle navigation and positioning provided by the first embodiment of the present invention;

[0022] Figure 3 It is a flow chart of the vehicle navigation and positioning method provided in the second embodiment of the present invention. DETAILED DESCRIPTION

[0023] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described through implementation methods with reference to the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0024] Embodiment 1

[0025] Figure 1 1 is a structural block diagram of a vehicle provided in the first embodiment of the present invention. The vehicle includes a vehicle body, a visual module 11, a position detection module 12, a storage module 13 and a control module 14. The visual module 11 is arranged at the bottom of the vehicle body, and is used to scan and analyze the identification code on the ground where the vehicle body is currently located; the position detection module 12 is arranged on the vehicle body, and is used to obtain the position relationship information between the vehicle body and at least two target obstacles in the direction of travel of the vehicle body; the storage module 13 is used to store the position information of the target obstacle; the control module 14 is used to determine the current position information and attitude heading error of the vehicle body according to the position relationship information, the position information and the identification code analysis result output by the visual module 11, and adjust the attitude heading of the vehicle body according to the position information and the attitude heading error.

[0026] This embodiment is described by taking an AGV vehicle used for warehousing and transportation as an example. Of course, the vehicle of this embodiment is not limited to the AGV vehicle.

[0027] The target obstacle may be a shelf leg or a reflective plate pre-arranged in the aisle. When the shelf leg is used as the target obstacle, at least two shelf legs on one side of the vehicle body may be used as the target obstacle, or at least two shelf legs dispersed on both sides of the vehicle body may be used as the target obstacle. Figure 2 As shown, the AGV trolley 1 takes the two shelf legs 3 in front of its left side and the two shelf legs 3 in front of its right side as target obstacles on the identification code 2 at point O.

[0028] The identification code may be a QR code, a bar code, etc., as long as it can provide the vehicle with location information and heading error.

[0029] The position detection module is a laser detection module, an ultrasonic detection module or a binocular vision module. Regardless of the form, the position detection module faces the direction of the vehicle body when detecting the target obstacle to obtain the position relationship information between the vehicle body and at least two target obstacles in the direction of the vehicle body. The position relationship information includes distance information and orientation information.

[0030] In some embodiments, the AGV is provided with a laser detection module facing the front of the vehicle body and a laser detection module facing the rear of the vehicle body. When the AGV moves forward, the laser detection module facing the front of the vehicle body is used to detect the position of the target obstacle. When the AGV moves backward, the laser detection module facing the rear of the vehicle body is used to detect the position of the target obstacle.

[0031] In some embodiments, the laser detection module is rotatable. When the AGV is moving forward, the laser detection module rotates toward the front of the vehicle to detect the position of the target obstacle. When the AGV is moving backward, the laser detection module rotates toward the rear of the vehicle to detect the position of the target obstacle.

[0032] The AGV records the distance it has traveled through the code disk. If the distance between two identification codes is known, the AGV can start the visual module when the code disk value reaches the code number corresponding to the known distance, so that the camera of the visual module can shoot the identification code on the ground and analyze the shooting results. Among them, the identification code location information used in the analysis of the identification code is pre-stored in the storage module. It should be noted that the visual module can use existing products, and this embodiment is not specifically limited here.

[0033] After the control module obtains the identification code parsing result from the vision module and the position relationship information from the position detection module, it reads the stored position information of the target obstacle from the storage module, and then determines the current first position information and the first attitude heading error of the vehicle body according to the position relationship information and the position information; determines the current second position information and the second attitude heading error of the vehicle body according to the identification code parsing result; then determines the current position information of the vehicle body according to the first position information and the second position information; determines the current attitude heading error of the vehicle body according to the current position information of the vehicle body, the first attitude heading error and the second attitude heading error.

[0034] The identification code analysis result can be direct second position information and second attitude heading error; it can also be intermediate information used to calculate the second position information and second attitude heading error, and the control module determines the second position information and second attitude heading error based on the intermediate information.

[0035] Preferably, the control module performs data fusion on the first position information and the second position information based on Kalman filtering to obtain the current position information of the vehicle body, and performs data fusion on the current position information of the vehicle body, the first attitude heading error and the second attitude heading error based on Kalman filtering to obtain the current attitude heading error of the vehicle body.

[0036] It is understandable that during the driving process of the AGV, due to the influence of road conditions and the error of the code disk count, when the code disk value reaches the number of codes corresponding to the known distance, the video module may not be able to collect the identification code, or can only collect part of the identification code, but in either case, the video module cannot output a valid identification code analysis result. At this time, the control module preferably directly determines the current position information and attitude heading error of the vehicle body based on the position relationship information and the position information of the target obstacle, and adjusts the attitude heading of the vehicle body based on the determined current position information and attitude heading error of the vehicle body.

[0037] When the control module determines the current position information and attitude and heading error of the vehicle body according to the position relationship information and the position information of the target obstacle, the control module determines the current position information of the vehicle body according to the distance information between the vehicle body and at least two target obstacles in the direction of travel of the vehicle body and the position information of the target obstacle, and determines the current attitude and heading error of the vehicle body according to the current position information of the vehicle body and the orientation information between the vehicle body and at least two target obstacles in the direction of travel of the vehicle body.

[0038] Working process:

[0039] For warehouse shelf handling application scenarios, such as Figure 2 As shown, the AGV trolley 1 shuttles through the bottom of the shelf or the aisle. The bottom of the shelf or the aisle as the running channel is paved with an identification code 2 for navigation and positioning, such as a QR code. The bottom of the shelf or the aisle is surrounded by shelf legs 3 used as target obstacles. Among them, the position information of the shelf legs and the identification code are all known information and stored in the storage module.

[0040] When the AGV 1 is traveling, if the number of codes on the code disk reaches the preset code value, the control module starts the visual module and the laser detection module, so that the visual module detects the identification code at point O and analyzes the detected identification code 2, and the laser detection module obtains the distance information and orientation information between the vehicle body and the four shelf legs A, B, C and D in front of the vehicle body. The control module determines the current second position information and the second attitude heading error of the vehicle body according to the analysis result of the identification code, and calculates the current first position information of the vehicle body according to the position information of the four shelf legs A, B, C and D, and the distance information between the vehicle body and the four shelf legs A, B, C and D. According to the orientation information between the vehicle body and the four shelf legs A, B, C and D in front of it, the current attitude and heading information of the vehicle body is determined, and the current first attitude and heading error of the vehicle body is determined according to the first position information and the attitude and heading information; then, the current position information of the vehicle body is determined according to the first position information and the second position information, and the current attitude and heading error of the vehicle body is determined according to the current position information of the vehicle body, the first attitude and heading error and the second attitude and heading error, and the attitude and heading of the vehicle body is adjusted according to the current position information of the vehicle body and the attitude and heading error, so that the vehicle body continues to move forward with a new attitude and heading.

[0041] If the vision module does not output a valid identification code parsing result, the control module determines the current position information of the vehicle body based on the distance information between the vehicle body and the shelf legs A, B, C and D and the position information of the shelf legs A, B, C and D, determines the current attitude and heading information of the vehicle body based on the orientation information between the vehicle body and the shelf legs A, B, C and D, determines the current attitude and heading error of the vehicle body based on the current position information and attitude and heading information of the vehicle body, and adjusts the attitude and heading of the vehicle body based on the current position information and attitude and heading error of the vehicle body, so that the vehicle body navigates with the identification code at the new attitude and heading point M.

[0042] The technical solution of the vehicle provided by the embodiment of the present invention uses a visual module to scan and analyze the identification code on the ground where the vehicle body is currently located; uses a position detection module to obtain the position relationship information between the vehicle body and at least two target obstacles in the direction of the vehicle body; uses a control module to determine the current position information and attitude heading error of the vehicle body according to the position relationship information, the position information and the identification code analysis result output by the visual module, and adjusts the attitude heading of the vehicle body according to the position information and the attitude heading error. The vehicle not only relies on the identification code analysis result to correct the attitude heading, but also refers to the position relationship information between the vehicle and the target obstacle to correct the attitude heading, which greatly reduces the occurrence of the situation where the vehicle attitude heading cannot be corrected due to the failure of the identification code analysis, and improves the accuracy and safety of the vehicle operation.

[0043] Embodiment 2

[0044] Figure 3: is a flow chart of the vehicle navigation and positioning method provided in the second embodiment of the present invention. The technical solution of this embodiment is applicable to the automatic navigation and positioning of the vehicle described in the above embodiment. This embodiment is described by taking the AGV car as an example. The method can be executed by the control module provided in the embodiment of the present invention. The control module can be implemented in software and / or hardware and configured in the processor of the AGV car. The method specifically includes the following steps:

[0045] S101, scanning and analyzing the identification code on the ground where the vehicle body is currently located through the visual module.

[0046] The identification code may be a QR code, a bar code, etc., as long as it can provide the vehicle with location information and heading error.

[0047] The AGV records the distance it has traveled through the code disk. If the distance between two identification codes is known, the AGV can start the visual module when the code disk value reaches the code number corresponding to the known distance, so that the camera of the visual module can shoot the identification code on the ground and analyze the shooting results. Among them, the identification code position information used in the identification code analysis is pre-stored in the storage module.

[0048] The identification code analysis result can be direct second position information and second attitude heading error; it can also be intermediate information used to calculate the second position information and second attitude heading error, and the control module determines the second position information and second attitude heading error based on the intermediate information.

[0049] It should be noted that the visual module can be an existing product and is not specifically limited in this embodiment.

[0050] S102. Acquire positional relationship information between a vehicle body and at least two target obstacles in a moving direction of the vehicle body through a position detection module.

[0051] The target obstacle may be a shelf leg or a reflective plate pre-arranged in the aisle. When the shelf leg is used as the target obstacle, at least two shelf legs on one side of the vehicle body may be used as the target obstacle, or at least two shelf legs dispersed on both sides of the vehicle body may be used as the target obstacle. Figure 2 As shown, on the identification code 2 at point O, the vehicle body has two shelf legs 3 in front of its left side and two shelf legs 3 in front of its right side as target obstacles.

[0052] The position detection module is a laser detection module, an ultrasonic detection module or a binocular vision module. Regardless of the form, the position detection module faces the direction of the vehicle body when detecting the target obstacle to obtain the position relationship information between the vehicle body and at least two target obstacles in the direction of the vehicle body. The position relationship information includes distance information and orientation information.

[0053] S103, determining the current position information and attitude heading error of the vehicle body according to the position relationship information, the position information and the identification code analysis result output by the vision module, and adjusting the attitude heading of the vehicle body according to the position information and the attitude heading error.

[0054] After the control module obtains the identification code parsing result from the vision module and the position relationship information from the position detection module, it reads the stored position information of the target obstacle from the storage module, and then determines the current first position information and the first attitude heading error of the vehicle body according to the position relationship information and the position information; determines the current second position information and the second attitude heading error of the vehicle body according to the identification code parsing result; then determines the current position information of the vehicle body according to the first position information and the second position information; determines the current attitude heading error of the vehicle body according to the current position information of the vehicle body, the first attitude heading error and the second attitude heading error.

[0055] Preferably, the control module performs data fusion on the first position information and the second position information based on Kalman filtering to obtain the current position information of the vehicle body, and performs data fusion on the current position information of the vehicle body, the first attitude heading error and the second attitude heading error based on Kalman filtering to obtain the current attitude heading error of the vehicle body.

[0056] It is understandable that during the driving process of the AGV, due to the influence of road conditions and the error of the code disk count, when the code disk value reaches the code number corresponding to the known distance, the video module may not be able to collect the identification code, or can only collect part of the identification code, but in either case, the video module cannot output a valid identification code analysis result. At this time, the control module preferably directly determines the current position information and attitude heading error of the vehicle body based on the position relationship information and the position information of the target obstacle, and adjusts the attitude heading of the vehicle body based on the determined current position information and attitude heading error of the vehicle body.

[0057] For example, for the application scenario of warehouse shelf transportation, such as Figure 2 As shown, the AGV trolley 1 shuttles between the bottom of the shelf or the aisle. The bottom of the shelf or the aisle as the running channel is paved with identification codes for navigation and positioning. The bottom of the shelf or the aisle is surrounded by shelf legs 3 used as target obstacles. The location information of the shelf legs and the identification codes are all known information and stored in the storage module.

[0058] When the AGV 1 is driving, if the code number on the code disk reaches the preset code value, the visual module and the laser detection module are started, so that the visual module detects the identification code at point O and analyzes the detected identification code 2, and the laser detection module obtains the distance information and orientation information between the vehicle body and the four shelf legs A, B, C and D in front of the vehicle body; then the current second position information and the second attitude heading error of the vehicle body are determined according to the analysis result of the identification code; the current position information of the vehicle body and the second attitude heading error are calculated according to the position information of the four shelf legs A, B, C and D, and the distance information between the vehicle body and the four shelf legs A, B, C and D. first position information of the vehicle body; according to the orientation information between the vehicle body and the four shelf legs A, B, C and D in front of it, determine the current attitude and heading information of the vehicle body, and determine the current first attitude and heading error of the vehicle body according to the first position information and the attitude and heading information; then determine the current position information of the vehicle body according to the first position information and the second position information, determine the current attitude and heading error of the vehicle body according to the current position information of the vehicle body, the first attitude and heading error and the second attitude and heading error, and adjust the attitude and heading of the vehicle body according to the current position information of the vehicle body and the attitude and heading error, so that the vehicle body continues to move forward with the new attitude and heading.

[0059] If the vision module does not output a valid identification code parsing result, the current position information of the vehicle body is determined based on the distance information between the vehicle body and the shelf legs A, B, C and D and the position information of the shelf legs A, B, C and D; the current attitude and heading information of the vehicle body is determined based on the orientation information between the vehicle body and the shelf legs A, B, C and D, the current attitude and heading error of the vehicle body is determined based on the current position information and attitude and heading information of the vehicle body, and the attitude and heading of the vehicle body is adjusted based on the current position information and attitude and heading error of the vehicle body, so that the vehicle body continues to move forward with a new attitude and heading.

[0060] The technical solution of the vehicle provided by the embodiment of the present invention is to scan and analyze the identification code on the ground where the vehicle body is currently located through the visual module; obtain the position relationship information between the vehicle body and at least two target obstacles in the direction of the vehicle body through the position detection module; determine the current position information and attitude heading error of the vehicle body according to the position relationship information, the position information and the identification code analysis result output by the visual module, and adjust the attitude heading of the vehicle body according to the position information and the attitude heading error. The vehicle not only relies on the identification code analysis result to correct the attitude heading, but also refers to the position relationship information between the vehicle and the target obstacle to correct the attitude heading, which greatly reduces the occurrence of the situation where the vehicle attitude heading cannot be corrected due to the failure of identification code analysis, and improves the accuracy and safety of vehicle operation.

[0061] Embodiment 3

[0062] Embodiment 3 of the present invention further provides a storage medium containing computer executable instructions, wherein the computer executable instructions are used to execute a vehicle navigation and positioning method when executed by a computer processor, the method comprising:

[0063] Scan and analyze the identification code on the ground where the vehicle body is currently located through a visual module;

[0064] Acquiring positional relationship information between the vehicle body and at least two target obstacles in the direction of travel of the vehicle body through a position detection module;

[0065] The current position information and attitude heading error of the vehicle body are determined according to the position relationship information, the position information and the identification code parsing result output by the visual module, and the attitude heading of the vehicle body is adjusted according to the position information and the attitude heading error.

[0066] Of course, the computer executable instructions of a storage medium including computer executable instructions provided by an embodiment of the present invention are not limited to the operations of the method described above, but can also execute related operations in the vehicle navigation and positioning method provided by any embodiment of the present invention.

[0067] Through the above description of the implementation mode, the technicians in the relevant field can clearly understand that the present invention can be implemented by means of software and necessary general hardware, and of course it can also be implemented by hardware, but in many cases the former is a better implementation mode. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as a computer floppy disk, a read-only memory (ROM), a random access memory (RAM), a flash memory (FLASH), a hard disk or an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the vehicle navigation and positioning method described in each embodiment of the present invention.

[0068] It is worth noting that in the above-mentioned vehicle embodiment, the various units and modules included are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of the present invention.

[0069] Note that the above are only preferred embodiments of the present invention and the technical principles used. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in more detail through the above embodiments, the present invention is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims

1. A vehicle navigation and positioning method, characterized in that: Applied to a vehicle including a vision module and a position detection module, the method comprises: Scan and analyze the identification code on the ground where the vehicle body is currently located by the visual module; Acquiring positional relationship information between the vehicle body and at least two target obstacles in the direction of travel of the vehicle body through the position detection module, wherein the target obstacles are shelf legs, and the positional relationship information includes distance information and orientation information; Determine the current position information and attitude and heading error of the vehicle body according to the position relationship information, the stored position information of each target obstacle of the at least two target obstacles, and the identification code parsing result output by the vision module, and adjust the attitude and heading of the vehicle body according to the position information and the attitude and heading error; When the visual module does not output a valid identification code parsing result, the current position information and attitude heading error of the vehicle body are determined according to the position relationship information and the position information, and the attitude heading of the vehicle body is adjusted according to the position information and the attitude heading error, including: determining the current position information of the vehicle body according to the distance information between the vehicle body and at least two target obstacles in the direction of travel of the vehicle body and the position information; determining the current attitude heading error of the vehicle body according to the current position information of the vehicle body and the orientation information between the vehicle body and at least two target obstacles in the direction of travel of the vehicle body.

2. The method according to claim 1, characterized in that The determining the current position information and attitude heading error of the vehicle body according to the position relationship information, the stored position information of each target obstacle of the at least two target obstacles and the identification code parsing result output by the vision module includes: Determine the current first position information and the first attitude heading error of the vehicle body according to the position relationship information and the position information; Determine the second current position information of the vehicle body and the second attitude heading error according to the identification code analysis result output by the visual module; The current position information of the vehicle body is determined according to the first position information and the second position information, and the current attitude and heading error of the vehicle body is determined according to the current position information of the vehicle body, the first attitude and heading error, and the second attitude and heading error.

3. The method according to claim 1, characterized in that: The identification code is set at the bottom of the shelf or on the aisle between two adjacent shelves.

4. The method according to claim 3, characterized in that The at least two target obstacles include two shelf legs located at the left front of the vehicle body and two shelf legs located at the right front of the vehicle body.

5. The method according to any one of claims 1 to 4, characterized in that: The position detection module is a laser detection module, an ultrasonic detection module or a binocular vision module.

6. A vehicle, characterized in that: The vehicle navigation and positioning method according to any one of claims 1 to 5 is applied, comprising: Vehicle body; A visual module, disposed at the bottom of the vehicle body, for scanning and analyzing an identification code on the ground where the vehicle body is currently located; A position detection module, arranged on the vehicle body, for acquiring position relationship information between the vehicle body and at least two target obstacles in the direction of travel of the vehicle body, wherein the target obstacles are shelf legs, and the position relationship information includes distance information and orientation information; A storage module, used to store the location information of the target obstacle; a control module, configured to determine the current position information and attitude and heading error of the vehicle body according to the position relationship information, the stored position information of each of the at least two target obstacles, and the identification code parsing result output by the vision module, and adjust the attitude and heading of the vehicle body according to the position information and the attitude and heading error; When the visual module does not output a valid identification code parsing result, the current position information and attitude heading error of the vehicle body are determined according to the position relationship information and the position information, and the attitude heading of the vehicle body is adjusted according to the position information and the attitude heading error, including: determining the current position information of the vehicle body according to the distance information between the vehicle body and at least two target obstacles in the direction of travel of the vehicle body and the position information; determining the current attitude heading error of the vehicle body according to the current position information of the vehicle body and the orientation information between the vehicle body and at least two target obstacles in the direction of travel of the vehicle body.

7. A storage medium containing computer executable instructions, characterized in that: The computer executable instructions are used to execute the vehicle navigation and positioning method as described in any one of claims 1-5 when executed by a computer processor.