Information processing device, moving object, information processing method and computer program
The information processing device enhances SLAM by calculating and integrating environmental maps with high precision through route optimization based on common image features, addressing inefficiencies in wide-range mapping.
Patent Information
- Application Number
- JP2023059808
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-04-03
- Publication Date
- 2024-10-16
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing SLAM technologies face challenges in integrating multiple environmental maps with high precision, particularly when the moving range is wide, leading to inefficiencies in generating vast environmental maps.
An information processing device that calculates the position and orientation of a mobile body, generates and integrates environmental maps based on common image features and sensor information, determining a travel route to enhance integration accuracy.
Improves the integration accuracy of multiple environmental maps by optimizing the travel route to ensure sufficient common image features and distribution, enabling precise map integration.
Smart Images

Figure 2024147044000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to an information processing device, a mobile object, an information processing method, a computer program, and the like. [Background technology]
[0002] As a method for estimating the position and orientation of a moving object from information acquired by sensors such as a camera and a distance sensor mounted on the moving object, a SLAM (Simultaneous Localization And Mapping) technique is known, as described in Non-Patent Documents 1 to 3. In SLAM, self-position and orientation estimation is performed using a three-dimensional environmental map for grasping information such as the positions of surrounding objects.
[0003] However, when the moving range of a moving object is wide, a vast environmental map is required, and generating the environmental map takes a lot of time.As a method for efficiently generating a vast environmental map, Patent Document 1 discloses a method for dividing the search section for each robot based on the relative positions and postures between the robots, and generating the entire environmental map by combining the map information acquired by each robot. [Prior art documents] [Patent documents]
[0004] [Patent Document 1] JP 2013-109325 A [Non-patent literature]
[0005] [Non-Patent Document 1] MARaul,ORB-SLAM:A Versatile and Accurate Monocular SLAM System,2015. [Non-Patent Document 2] J. Zhang and S. Singh, LOAM: Lidar Odometry and Mapping in Real-time, in Robotics: Science and Systems Conference, pp.161-195, 2014. [Non-Patent Document 3] Richard A. Newcombe, Steven J. Lovegrove and Andrew J. Davison, DTAM: Dense Tracking and Mapping in Real-Time,ICCV2011. Summary of the Invention [Problem to be solved by the invention]
[0006] However, in Patent Document 1, the accuracy of integrating the generated environmental maps is not taken into consideration, and therefore, there are cases where multiple environmental maps cannot be integrated with high accuracy.
[0007] Therefore, an object of the present invention is to provide an information processing device capable of improving the integration accuracy of a plurality of environmental maps. [Means for solving the problem]
[0008] In the information processing device, a position and orientation measuring means for calculating a position and orientation of a moving object based on measurement information from a sensor that measures an environment around the moving object; an environmental map generating means for generating a first environmental map in the vicinity of the moving object based on the measurement information of the sensor and the position and orientation of the moving object; an environment map determining means for determining a second environment map to be integrated with the first environment map; an environmental map acquisition means for acquiring information on the second environmental map; a route determination means for determining a travel route of the moving object for integrating the first environmental map and the second environmental map based on information of the second environmental map; The present invention is characterized by having the following. Effect of the Invention
[0009] According to the present invention, it is possible to realize an information processing device capable of improving the integration accuracy of a plurality of environmental maps. [Brief description of the drawings]
[0010] [Figure 1] 13A and 13B are diagrams illustrating the integration accuracy of an environmental map. [Diagram 2] FIG. 2 is a diagram illustrating an example of a usage scene in the first embodiment. [Diagram 3] 1 is a functional block diagram illustrating a configuration example of an information processing system according to a first embodiment. [Figure 4] 1 is a diagram illustrating an example of a hardware configuration of an information processing device 300 according to a first embodiment. [Diagram 5] 11 is a flowchart illustrating an example of a position and orientation measurement process according to the first embodiment. [Figure 6] 11 is a flowchart illustrating an example of a route determination process according to the first embodiment. [Figure 7] FIG. 11 is a functional block diagram illustrating a configuration example of an information processing system according to a second embodiment. [Figure 8] 13 is a flowchart illustrating an example of a route determination process according to the second embodiment. [Figure 9] FIG. 11 is a diagram showing an example of a screen showing information on an environmental map to be integrated and a driving route added for integration in the second embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0011] Hereinafter, the embodiment of the present invention will be described with reference to the drawings. However, the present invention is not limited to the following embodiment. In each drawing, the same members or elements are given the same reference numerals, and duplicated descriptions are omitted or simplified. EXAMPLES
[0012] In general, multiple environmental maps are integrated based on common information between the maps, such as the images captured by the sensor when the map was generated, image features extracted from the images, and the position and orientation of the sensor at the time of capture.
[0013] The common information between the environmental maps includes similar images and image features between the environmental maps, the position and orientation of the sensor when these images were taken, etc. The accuracy of integrating the environmental maps depends on the amount and distribution of this common information.
[0014] Figures 1(A) and (B) are diagrams for explaining the integration accuracy of environmental maps. Figure 1(A) is a diagram for explaining the integration accuracy according to the size of the combined area (distribution of the combined direction) when integrating map A with maps B, B', and B''.
[0015] In Figure 1(A), the size of the combined area (distribution of combined directions) of maps B, B', and B'' relative to map A has the following relationship: Map B < Map B' < Map B''. In this case, the accuracy of the integrated map has the following relationship: (integrated map of maps A and B) < (integrated map of maps A and B') < (integrated map of maps A and B'').
[0016] Fig. 1(B) is a diagram explaining the integration accuracy according to the number of feature points and key frames in the combined area when integrating map A with maps C and C'. In Fig. 1(B), the number of feature points (x marks) and key frames (▲ marks) in the combined area of maps C and C' with respect to map A is in the relationship of map C < map C'. In this case, the accuracy of the integrated map is in the relationship of (integrated map of map A and map C) < (integrated map of map A and map C').
[0017] Therefore, in the first embodiment, a route for generating an environmental map that can be integrated with high accuracy is determined based on information on image features that are similar between the environmental maps. That is, a travel route of a moving object is determined based on information on the second environmental map so that the integration accuracy when integrating the first environmental map and the second environmental map is equal to or higher than a predetermined value. Specifically, a route for creating an environmental map is determined so that, for example, the number or distribution degree of similar image features is equal to or higher than a predetermined threshold value.
[0018] 2 is a diagram showing an example of a usage scene in the first embodiment. For example, an AGV (Automated Guided Vehicle) as a moving body 200 moves autonomously based on an instruction from a terminal device 203 of a user 202, and captures an image of the environment around the moving body with an imaging device 201. Then, the signal processing device 100 creates three-dimensional map information (environmental map) of the environment. The environmental map generated in this embodiment and the route determined are displayed on a display device 204 of a terminal device 203 of the user 202.
[0019] Incidentally, the moving body 200 in this embodiment is not limited to an autonomously movable AGV, but may be any type of mobile device such as an automobile, a robot, a ship, an aircraft, or a drone.
[0020] Moreover, the information processing device 300 of this embodiment is assumed to be mounted on the mobile object 200. However, the information processing device 300 and the storage device 302 may be mounted in the terminal device 203, and the information processing device 300 may be configured to function by a computer program in the terminal device 203. Moreover, the functions of the information processing device 300 and the storage device 302 may be provided as a cloud service.
[0021] Furthermore, the functions provided by the information processing device 300 etc. may be realized by one or more information processing devices, a virtual machine (cloud service) using resources provided by a data center including the information processing device, or a combination of these.
[0022] Fig. 3 is a functional block diagram showing a configuration example of an information processing system according to Example 1. Note that some of the functional blocks shown in Fig. 3 are realized by causing a CPU or the like as a computer included in the information processing device to execute a computer program stored in a memory as a storage medium.
[0023] However, a part or all of these may be realized by hardware, which may be a dedicated circuit (ASIC) or a processor (a reconfigurable processor, DSP), etc.
[0024] In addition, the functional blocks shown in Fig. 3 do not have to be built in the same housing, and may be configured by separate devices connected to each other via signal paths. The above explanation regarding Fig. 3 also applies to Fig. 7.
[0025] As shown in Fig. 3, the information processing system according to the first embodiment includes an information processing device 300, a sensor 301, a storage device 302, a communication unit 309, a driving control unit 310, and the like. The sensor 301 is a camera mounted on a moving body for acquiring a two-dimensional grayscale image. The storage device 302 holds one or more environmental maps for grasping information on the positions of surrounding objects, etc. The environmental maps will be described in detail later.
[0026] The position and orientation measurement unit 303 measures and calculates the current position and orientation of the moving object based on, for example, information acquired from the sensor 301. Any measurement method may be used. The information processing device 300 includes a position and orientation acquisition unit 304, an environment map generation unit 305, an environment map determination unit 306, an environment map information acquisition unit 307, a route determination unit 308, and the like.
[0027] The position and orientation acquisition unit 304 acquires the current position and orientation information of the moving object from the position and orientation measurement unit 303. The environment map generation unit 305 generates an environment map based on the measurement information acquired by the position and orientation acquisition unit 304. Hereinafter, the environment map generated by the environment map generation unit 305 is referred to as a first environment map. Details of the environment map will be described later.
[0028] The environment map determination unit 306 determines a second environment map to be integrated with the first environment map generated by the environment map generation unit 305 from among the environment maps held in the storage device 302. The determination method will be described later. The environment map information acquisition unit 307 acquires the second environment map specified by the environment map determination unit 306 from the storage device 302.
[0029] Based on the second environmental map, the route determination unit 308 determines a travel route for generating a first environmental map that can be integrated with the second environmental map with high accuracy. The details of the route determination method will be described later.
[0030] The communication unit 309 transmits information such as the driving route determined by the route determination unit 308 to the display device 204 of the terminal device 203, for example, and causes the display device 204 to display the driving route, an environmental map, and the like. The driving control unit 310 is provided inside the moving body 200, and includes a driving source such as a motor for controlling the driving direction and driving operation of the moving body 200 based on the information such as the driving route determined by the route determination unit 308. The driving control unit 310 functions as a driving control means for controlling driving based on the driving route determined by the route determination unit 308.
[0031] The storage device 302 of the mobile object may be disposed inside the information processing device 300. When the information processing device 300 is mounted on an external terminal or an external server, the information processing device 300 acquires information acquired by the sensor 301 via a communication interface.
[0032] 4 is a diagram illustrating an example of a hardware configuration of the information processing device 300 according to the embodiment 1. H11 is a CPU as a computer, which controls various devices connected to the system bus H20 and executes programs processed by the information processing device 300.
[0033] H12 is a ROM that stores a BIOS program, a boot program, etc. H13 is a RAM that is used as a main storage device for H11, which is the CPU. H14 is an external memory that stores computer programs that the information processing device 300 processes, etc.
[0034] The input unit H15 is a keyboard, a mouse, a robot controller, and performs processing related to input of information, etc. If the information processing device 300 also has a display function, the display unit H16 outputs the calculation results of the information processing device 300 to a display device (not shown) according to an instruction from H11.
[0035] The display device can be of any type, including liquid crystal display devices, projectors, LED indicators, etc. H17 is a communication interface that communicates information via a network, and the communication interface can be Ethernet, USB, serial communication, wireless communication, etc., and the communication method is not important.
[0036] Next, the environmental map will be described. The environmental map is composed of multiple map elements. The map elements include an image captured by the sensor 301 mounted on the moving object, a key frame linking the two-dimensional positions of image feature points on the image, the three-dimensional positions of the image feature points, and the position and orientation information of the sensor 301.
[0037] Next, Fig. 5 is a flowchart showing an example of a position and orientation measurement process according to the first embodiment, and a process flow of the present embodiment will be described with reference to Fig. 5. Note that the operation of each step of the flowchart in Fig. 5 is performed sequentially by a CPU or the like as a computer in an information processing device executing a computer program stored in a memory.
[0038] First, in step S500, the current position and orientation of the moving body is acquired from the position and orientation measurement unit 303 while the moving body is autonomously traveling based on information on the current position and the planned route. The planned route is defined in the same coordinate system as the environmental map stored in the storage device 302. Here, step S500 functions as a position and orientation measurement step (position and orientation measurement means) that calculates the position and orientation of the moving body based on measurement information from a sensor that measures the environment around the moving body.
[0039] Next, in step S501, a first environmental map is generated based on the information measured in step S500. The generated environmental map is as described above. Here, step S501 functions as an environmental map generation step (environmental map generation means) that generates a first environmental map of the vicinity of the moving object based on the measurement information and position and orientation of the sensor.
[0040] Next, in step S502, an environmental map showing an environment near the planned route of the moving object is determined as a second environmental map from one or more environmental maps stored in the storage device 302. A method for determining the second environmental map will be described later. Note that step S502 functions as an environmental map determination step (environmental map determination means) for determining the second environmental map to be integrated with the first environmental map.
[0041] Next, in step S503, the second environment map specified in step S502 is acquired from the storage device 302. Here, step S503 functions as an environment map acquisition step (environment map acquisition means).
[0042] Next, in step S504, a travel route for generating a first environmental map is determined so that the first environmental map and the second environmental map can be integrated with high accuracy. Here, step S504 functions as a route determination step (route determination means) for determining a travel route of a moving object for integrating the first environmental map and the second environmental map based on information of the second environmental map. The determination method will be described in detail later.
[0043] In step S500, the moving object is described as traveling autonomously, but the moving path of the moving object may be remotely controlled from a terminal held by a user.
[0044] Next, a method for determining the second environmental map, which is performed in step S502, will be described. The timing for determining the second environmental map may be before the moving object travels along the planned route, or may be during the traveling.
[0045] When the second environmental map is determined before the moving object travels, an environmental map showing the environment in the vicinity of the planned route of the moving object is determined as the second environmental map from one or more environmental maps stored in the storage device 302. That is, an environmental map showing the environment in the vicinity of the travel route of the moving object is determined as the second environmental map.
[0046] When determining a second environmental map while the moving body is traveling, an environmental map showing the environment near the current position of the moving body or near a planned route that has not yet been traveled is determined as the second environmental map from among one or more environmental maps stored in the memory device 302.
[0047] In the above, the determination of whether or not the location is in the vicinity is made based on the distance between the route line of the planned route of the moving object or the current location and the camera location of each key frame of each environmental map held in the storage device 302 .
[0048] If the distance is less than a predetermined threshold, the environmental map that holds the key frame is determined to be an environmental map in the vicinity of the planned route of the moving object. If multiple environmental maps that indicate the nearby environment are determined, all of them may be set as the second environmental map, or one selected from them may be set as the second environmental map.
[0049] Any method of selection may be used. The second environmental map may be an environmental map that holds a key frame that minimizes the distance between the route line of the planned route of the moving object and the key frames, or the user may arbitrarily select one from among multiple environmental maps. In other words, the second environmental map may be determined by the user's operation.
[0050] Also, if there is no environmental map determined to be nearby, the above-mentioned predetermined threshold may be lowered until there is at least one environmental map determined to be nearby, or the user may be notified that there is no nearby environmental map, and the user may specify a second environmental map.
[0051] The method of determining whether an environmental map is a nearby environment is not limited to the above, and other methods may be used. For example, an area including key frames of the environmental map may be defined, and whether or not it is nearby may be determined based on the distance between the center positions of gravity of the area. In this case, an environmental map whose center positions are less than a predetermined distance is determined to be a nearby environmental map.
[0052] Next, Fig. 6 is a flowchart showing an example of a route determination process according to the first embodiment, and a route determination method performed in step S504 will be described with reference to Fig. 6. Note that the operation of each step in the flowchart in Fig. 6 is performed sequentially by a CPU or the like as a computer in the information processing device executing a computer program stored in a memory.
[0053] First, in step S600, an area in the second environmental map where the number of image features and the spatial distribution degree are higher than a predetermined threshold is extracted as an integrated area with the first environmental map. The specific method of extracting the integrated area is as follows.
[0054] First, a plurality of integrated region candidates are set for the second environmental map. The method of setting the integrated region candidates is not limited as long as the number of key frames included in each integrated region candidate is equal to or greater than a predetermined threshold. For example, a group of spatially spherical regions with each key frame as a center position is set as an integrated region candidate group. At this time, the radius of the spherical region is adjusted for each integrated region candidate so that the number of key frames included in the integrated region candidate is equal to or greater than a predetermined threshold.
[0055] Next, for each candidate integration region, the spatial distribution of the image features of each keyframe is calculated. The spatial distribution is calculated as the distribution in, for example, two dimensions on the image, and is calculated by performing principal component analysis on the two-dimensional positions of the image features held by the keyframe.
[0056] That is, for example, a predetermined first principal axis and a second principal axis perpendicular to the first principal axis are set, and the spatial distribution degree is determined as σ2 / σ1, which is the ratio of the variance σ2 in the second principal axis direction to the variance σ1 in the first principal axis direction of the image features of each key frame. The larger the variance σ1 value is and the closer the variance ratio σ2 / σ1 is to 1, the more widely the image features are distributed.
[0057] Next, from among the integrated region candidates, those with a calculated evaluation value of the spatial distribution degree higher than a predetermined value are extracted as integrated regions. The evaluation value of the spatial distribution degree is, for example, the sum of the spatial distribution degrees calculated for each key frame in each integrated region candidate, or a statistical value such as the average or median value of the spatial distribution degrees. However, the evaluation value of the spatial distribution degree is not limited to the above value as long as it indicates the level of the spatial distribution degree.
[0058] When there are multiple integrated area candidates with spatial distribution degree evaluation values higher than a predetermined value, all of them may be extracted as integrated areas, or only the one with the highest spatial distribution degree may be selected as an integrated area, or the user may select an integrated area arbitrarily. In this manner, an integrated area in the second environmental map is extracted in step S600.
[0059] Next, in step S601, a branch point for adding a new route to the planned route of the first environmental map is determined. The branch point is a position on the planned route of the moving object that is close to the integrated area extracted in step S600, for example, a position on the planned route line where the distance between the center of gravity of the integrated area and the planned route line of the moving object is the smallest.
[0060] In addition, when multiple integrated regions are extracted in step S600, a branch point on the first environmental map is determined for each integrated region. In addition to the above, the branch point may be any other position on the first environmental map. For example, the current position may be determined as the branch point.
[0061] Next, in step S602, a route for highly accurate integration with the second environmental map is added to the planned route. The route to be added has the branch points determined in step S601 as its start and end points, and the vicinity of the positions of the key frames in the integration area in the second environmental map extracted in step S600 as via points. Furthermore, the route is designed so that the orientation of the route at each via point is close to the orientation of the key frame near the via point.
[0062] If multiple integrated regions are extracted in step S600, a route is searched for for each integrated region using the above method, and an additional route is selected and determined from the multiple routes obtained by the search. Any method of selection may be used. For example, the shortest route may be selected from the multiple routes obtained by the search. Alternatively, the user may specify the route as desired.
[0063] Furthermore, when there are multiple driving routes whose integrated accuracy is equal to or greater than a predetermined value, it is desirable to determine one driving route based on at least one of, for example, the driving time of the driving route, the route length of the driving route, the integrated accuracy, the date and time of the second environmental map, etc.
[0064] As described above, the driving route may be determined based on at least one of the number of key frames, the distribution of key frames, the number of image feature points, and the distribution of image feature points for the key frames and feature points held by the second environmental map included in the integrated area when the first environmental map and the second environmental map are integrated.
[0065] Alternatively, the travel route of the moving object may be determined so that the path length of the integrated area when the first environmental map and the second environmental map are integrated is equal to or greater than a predetermined value. The travel route may be determined based on the position and orientation of the key frames held in the second environmental map.
[0066] Next, in step S603, the new route determined in step S602 is added to the planned route of the moving object, which becomes the new route of the moving object.
[0067] In the above, it is assumed that the environmental map stored in the storage device 302 and the planned route of the moving object are defined in the same coordinate system, and in step S502, the environmental map in the vicinity of the planned route is determined as the second environmental map. However, this is not limiting, and the environmental map stored in the storage device 302 and the planned route of the moving object may be defined in different coordinate systems.
[0068] In this case, an image similar to an image captured by the sensor 301 mounted on the moving body while the moving body is traveling along a planned route is searched for among key frames of the environmental map stored in the storage device 302, and the environmental map found by the search is set as the second environmental map. If a corresponding environmental map is not found by the search, the processes of steps S500 and S501 are performed for a predetermined time, and then step S502 is performed again.
[0069] In the above example, an environmental map that is close to the planned route of the moving object is determined as the second environmental map from among the environmental maps stored in the storage device 302. However, the second environmental map is not limited to an environmental map that is close to the planned route of the moving object, and an environmental map arbitrarily specified by the user may be determined as the second environmental map.
[0070] In the above, in step S600, a plurality of integrated region candidates are set for the region of the second environmental map, and a region having a spatial distribution degree equal to or greater than a predetermined threshold is extracted from the integrated region candidates as an integrated region with the first environmental map. However, the method of extracting the integrated region may be any method as long as it is a method of extracting an integrated region having a high number of image features and a high spatial distribution degree.
[0071] For example, an integrated region may be extracted from a trajectory that connects key frames of the second environmental map in chronological order. Specifically, the trajectory is divided into a plurality of sections. At this time, the division is performed so that the number of key frames included in each section is equal to or greater than a predetermined threshold. Next, the spatial distribution degree of each divided section is calculated.
[0072] Then, from among all the sections, the locus of the section where the evaluation value of the spatial distribution degree is higher than a predetermined value is extracted as an integrated region. The method of calculating the spatial distribution degree and the evaluation value are as described above.
[0073] The trajectory is not limited to the above, and may be expressed in a different manner as long as it can be used as a travel trajectory when generating the first environmental map. For example, the travel route may be determined based on trajectory information generated based on position and orientation information of a sensor measured when generating the second environmental map.
[0074] For example, the above-mentioned trajectory may be information indicating a three-dimensional point group indicating the traveling position when generating the first environmental map and the connection relationship therebetween, and may be stored in the first environmental map. Alternatively, the trajectory may be information on a curve indicating the shape of the route traveled when generating the first environmental map.
[0075] The spatial distribution of these trajectories is the magnitude of variance in the first and second principal axis directions and the ratio thereof, calculated by performing principal component analysis on a 3D point cloud on the trajectory or a point cloud sampled at a specified interval from the trajectory curve.
[0076] In the above, in step S600, the spatial distribution degree of the image feature is the two-dimensional distribution degree on the image, but it may be the distribution degree of the three-dimensional position of the image feature. The distribution degree of the three-dimensional position of the image feature is determined based on the variances σ1, σ2, and σ3 of the first, second, and third principal axes calculated by performing principal component analysis on the three-dimensional position of the image feature. The third principal axis is set as a principal axis perpendicular to the first and second principal axes.
[0077] For example, the magnitude of the variance σ1 in the first principal axis direction, σ2 / σ1 which is the ratio of the variance σ2 in the second principal axis direction to the variance σ1 in the first principal axis direction, and σ3 / σ1 which is the ratio of the variance σ3 in the third principal axis direction to the variance σ1 in the first principal axis direction are taken as σ2 / σ1 and σ3 / σ1, respectively. The larger the value of variance σ1 is and the closer the variance ratios σ2 / σ1 and σ3 / σ1 are to 1, the more widely the image features are distributed.
[0078] In the above, in step S600, the spatial distribution degree of the image feature is calculated for each key frame, but the distribution degree of the image feature of all key frames may be calculated instead of for each key frame. Specifically, the distribution degree may be calculated by applying the method described above to the three-dimensional positions of the image features of all key frames.
[0079] In the above, in step S502, the environmental map in the vicinity of the current position and the planned route of the moving object for which the first environmental map is to be generated is determined as the second environmental map to be integrated with the first environmental map.
[0080] Here, the second environmental map may be one that has already been generated, or one that is being generated by a moving body 2 different from the moving body 1 that is generating the first environmental map. In the case of one that is being generated, if the current position or planned route of the moving body 1 and the planned route of the moving body 2 are close to each other, the environmental map that is being generated by the moving body 2 is determined to be the second environmental map.
[0081] The method of determining the second environmental map is not limited as long as it is possible to determine an environmental map to be integrated with the first environmental map. For example, the method may be arbitrarily specified by the user.
[0082] <Variation 1-1> In the first embodiment, a route for integrating the first and second environmental maps with high accuracy is determined based on the number and spatial distribution of similar image features between the first and second environmental maps. In this modified example, a method for determining a route for integrating the first and second environmental maps with high accuracy based on the size and distribution of the integration areas between the first and second environmental maps will be described.
[0083] In the modified example 1-1, only step S600 of the route determination method described with reference to FIG. 6 is different from that described in the first embodiment, and therefore only step S600 will be described here.
[0084] First, in step S600, an integrated region of the second environmental map and the first environmental map is extracted from the second environmental map. At this time, the integrated region is an area whose size and spatial distribution degree are equal to or greater than the respective thresholds.
[0085] The method for extracting the integrated region is, for example, as follows: First, a trajectory is generated by connecting the positions of the key frames held in the second environmental map in chronological order, and the trajectory is divided into a number of sections, each of which is set to have a length equal to or greater than a predetermined threshold.
[0086] Next, the spatial distribution of the trajectory is calculated for each section. Specifically, it is the distribution of the sensor positions of all key frames present in the section. The distribution is the variance of each principal axis direction and their ratio calculated by principal component analysis of the three-dimensional position of the sensor, as in the above-mentioned method.
[0087] Next, a section in which the spatial distribution degree is equal to or greater than a predetermined threshold is extracted. If there is no section in which the spatial distribution degree is equal to or greater than the threshold, the length of each section is adjusted, and the above process is repeated until the spatial distribution degree is equal to or greater than the threshold. The divided sections of the trajectory extracted by these processes are extracted as integrated regions.
[0088] In the above, a trajectory in which key frames are connected in chronological order is used, but another representation method may be used as long as it can be used as a driving trajectory when generating the first environmental map. As in the above example, the first environmental map may hold a three-dimensional point cloud indicating the driving position when generating the first environmental map and information indicating the connection relationship therebetween.
[0089] Alternatively, it may be information on a curve showing the shape of the route traveled when generating the first environmental map. The spatial distribution degree of these trajectories is the magnitude of variance in each principal axis direction and the ratio thereof calculated by principal component analysis of a 3D point group on the trajectory or a point group sampled at a predetermined interval from the trajectory curve.
[0090] <Variation 1-2> In the first embodiment, a route for integrating the first and second environmental maps with high accuracy was determined based on the number of image features and the spatial distribution degree that are similar between the first and second environmental maps. In this modified example, the shooting date and time of the key frame image is stored as information of the environmental map, and a method for determining a route for integrating the first and second environmental maps with high accuracy based on the shooting date and time will be described.
[0091] The location and appearance of objects in the environment can change over time. Therefore, even if images are taken at the same position and orientation, the image features extracted from the images may not be completely consistent if the images are taken at different times.
[0092] For this reason, environmental maps with different shooting dates and times may have fewer similar image features, and may not be integrated with high accuracy. In this modified example, a method for extracting an integrated area with a closer shooting date and time will be described in order to integrate the first and second environmental maps with high accuracy.
[0093] 5, only step S502 is different from that described in the first embodiment, and therefore only step S502 will be described here. In step S502, a second environmental map to be integrated with the first environmental map is determined from one or more environmental maps held by the storage device 302.
[0094] Specifically, the determination is made as follows. First, from among the environmental maps stored in the storage device 302, an environmental map that holds information on the photographing date and time of a key frame image that is newer than a predetermined date and time is extracted and determined as the second environmental map. Then, from among the extracted environmental maps, an environmental map that is near the planned route of the moving object is determined as the second environmental map. The determination of whether or not it is near the planned route of the moving object is the same as that described in the first embodiment.
[0095] In the modified example 1-2, only step S600 of the route determination method described with reference to Fig. 6 is different from that described in the embodiment 1, and therefore only step S600 will be described here. In step S600, an integrated area for integrating the first environmental map and the second environmental map is extracted from the second environmental map.
[0096] Specifically, in the modified example 1-2, a key frame whose photographing date and time is newer than a predetermined date and time is extracted from the second environmental map, and the area including the key frame is set as the integrated area. The area including the key frame is set as an area within a predetermined distance from the key frame.
[0097] <Modification 1-3> In the first embodiment, a route for integrating the first and second environmental maps with high accuracy is determined based on the number and spatial distribution of similar image features between the first and second environmental maps.
[0098] In Modification 1-3, an evaluation value indicating the position and orientation measurement accuracy of each key frame is stored as information of the environmental map, and a method for determining a route for integrating the first and second environmental maps with high accuracy based on this evaluation value will be described. By using key frames with high accuracy of position and orientation measurement, it becomes possible to integrate the maps with higher accuracy. Specifically, in the method described in Modification 1-2, the shooting date and time may be replaced with an evaluation value of the position and orientation measurement accuracy.
[0099] <Variation 1-4> In the first embodiment, the environmental map is configured to include key frames that link together an image captured by the sensor 301 mounted on the moving object, a two-dimensional position on the image of an image feature, a three-dimensional position of the feature, and position and orientation information of the sensor 301. However, the environmental map is not limited to this, and may hold any information that can be used for position and orientation estimation using SLAM.
[0100] For example, as disclosed in Non-Patent Document 3, in SLAM, the position and orientation of a sensor can be estimated based on information on the pixel values on an image instead of image features. In this case, the captured image, the position and orientation of the sensor, and accumulated error information on pixel values are stored as key frames. Then, the depth value of each pixel is estimated based on the accumulated error information on pixel values.
[0101] In this case, for pixels whose difference from the surrounding pixel values is small, the depth value may not be calculated. Therefore, in the modification 1-4, in the flow described with reference to FIG. 6, the number of image features is set to the number of pixels whose depth values can be estimated, and the spatial distribution of the image features is replaced with the spatial distribution of the depth values.
[0102] Also, instead of key frames, the environment map may hold three-dimensional shape information of objects placed in the environment. The three-dimensional shape information may be three-dimensional point group information or three-dimensional surface group information called polygons.
[0103] In that case, the positions and orientations of the key frames described in the first embodiment are replaced with arbitrary positions and orientations at which the above three-dimensional shape can be observed. The arbitrary positions and orientations are, for example, set by dividing a three-dimensional sphere or a two-dimensional circle of a predetermined radius with the above three-dimensional shape as the center position into a plurality of grids, and setting the positions and orientations of each point of the divided grids so that the center position can be observed from that position.
[0104] <Variation 1-5> In the first embodiment, the sensor 301 is a camera that captures a grayscale image. However, the sensor 301 is not limited to this, and may be a distance sensor such as a Lidar (Light Detection and Ranging) sensor.
[0105] The environmental map is information that links the point cloud information with the position and orientation at the time of measurement, acquired in the case of a two-dimensional Lidar or three-dimensional Lidar, and is then used as information.The image features in the method described in the first embodiment can then be replaced with the two-dimensional or three-dimensional point cloud information. EXAMPLES
[0106] In the first embodiment, a method for determining a route of a moving object so as to improve integration accuracy based on information common to environmental maps is described. In the second embodiment, a method for actually integrating environmental maps and determining (changing) a route of a moving object based on the integration accuracy is described.
[0107] 7 is a functional block diagram showing a configuration example of an information processing system according to Example 2. The information processing system of Example 2 includes an information processing device 700, a sensor 701, a storage device 702, a communication unit 710, a driving control unit 711, and the like.
[0108] The communication unit 710 transmits information such as the driving route determined by the route determination unit 708 to, for example, the display device 204 of the terminal device 203, and causes the display device 204 to display the driving route, an environmental map, etc. In addition, the driving control unit 711 is provided inside the moving body 200, and includes a driving source such as a motor for controlling the driving direction and driving operation of the moving body 200 based on the information on the driving route determined by the route determination unit 708, etc.
[0109] In the second embodiment, an example will be described in which the information processing device 700, the storage device 702, etc. are mounted on a mobile object, but the functions of the information processing device 700 and the storage device 702 may be provided as a cloud service.
[0110] In other words, the functions provided by the information processing device 700 etc. may be realized by one or more information processing devices, a virtual machine (cloud service) using resources provided by a data center including the information processing devices, or a combination of these.
[0111] The sensor 701, storage device 702, and position and orientation measurement unit 703 are similar to the sensor 301, storage device 302, and position and orientation measurement unit 303 described in the first embodiment, and therefore their description will be omitted. The information processing device 700 includes a position and orientation acquisition unit 704, an environment map generation unit 705, an environment map determination unit 706, an environment map information acquisition unit 707, a route determination unit 708, a map integration unit 709, and the like.
[0112] Of the components described in the first embodiment, only the map integration unit 709 is different, so only the map integration unit 709 will be described here. The map integration unit 709 functions as an environmental map integration means for integrating the first environmental map and the second environmental map. The integration method will be described later.
[0113] Next, Fig. 8 is a flowchart showing an example of a route determination process according to the second embodiment, and the process flow of the second embodiment will be described with reference to Fig. 8. Note that the operation of each step of the flowchart in Fig. 8 is performed sequentially by a CPU or the like as a computer in an information processing device executing a computer program stored in a memory.
[0114] Incidentally, only steps S805 and S806 are different from the processing flow of FIG. 5 described in the first embodiment, and therefore only steps S805 and S806 will be described here.
[0115] In step S805, the first environmental map and the second environmental map are integrated. The integration may be performed while traveling on the route added and determined in step S804, or after traveling on the route added and determined. The integration method will be described later.
[0116] In step S806, the route is changed based on the implementation timing and integration accuracy of the environmental maps implemented in step S805. Here, step S806 functions as a route change step (route change means) that changes the driving route based on the integration accuracy of the environmental maps integrated by the map integration unit 709 as environmental map integration means. The route change method will be described in detail later.
[0117] Next, a method of integrating the first and second environmental maps, which is performed by the map integration unit 709 in step S805, will be described. First, if the first environmental map including the planned route of the moving object is not defined in the same coordinate system as the second environmental map, the position and orientation of each key frame of the first environmental map is converted into the coordinate system of the second environmental map.
[0118] The conversion is performed by using a key frame of the second environment map similar to the captured image of the moving object, for example, by applying the relocalization technique described in Non-Patent Document 1. Next, bundle adjustment is performed using information on the key frames of the first and second environment maps, and the position and orientation of the first key frame are recalculated.
[0119] Bundle adjustment is a process for measuring the position and orientation of the sensor that minimizes the sum of the differences (residuals) between the positions of the projection points obtained by projecting the 3D positions of the image features held by the key frames onto the captured image and the image feature positions detected from the captured image by the sensor. Regarding bundle adjustment, the method described in Non-Patent Document 1 may be used, so a detailed description will be omitted.
[0120] Next, a method of changing the route performed in step S806 will be described. In step S806, the route is changed based on the timing and accuracy of the integration of the environmental maps performed in step S805.
[0121] The timing of integrating the environmental map is either during or after traveling on the route added and determined in step S804. The integration accuracy of the environmental map is the error of the bundle adjustment performed in step S805. In other words, the smaller the error, the higher the accuracy.
[0122] If the error in the bundle adjustment is less than a predetermined threshold while traveling on the added route, or if the error in the bundle adjustment is equal to or greater than a predetermined threshold after traveling on the added route, the route is changed to a new route. In the former case, the new route is the route to the destination set by the user, or the shortest route back to the original planned route before the route was added and determined in step S804. The new route is not limited to the above, and may be any route that the mobile object can travel.
[0123] On the other hand, in the latter case, the method described in the first embodiment is applied to add a new route that can be integrated with the second environmental map with high accuracy. At this time, when extracting an integrated area in step S804, the integrated area that has already been used as an added route is excluded from the extraction target.
[0124] In addition, when calculating the spatial distribution of image features and trajectories in the extraction of the integrated area, the image features and trajectories of the integrated area that have already been used as an additional route are also included in the calculation. This makes it possible to improve the integration accuracy of the environmental map by adding another route, even if the integration accuracy of the environmental map does not reach the desired accuracy after traveling the additional route.
[0125] In the above, the integration accuracy of the environmental map is defined as the error of the bundle adjustment, but any value that can determine the quality of the integration may be used. For example, the driving route of the environmental map defined on the geographical map of the environment or the CAD drawing may be defined as the ground truth data, and the degree of agreement with the ground truth data may be defined as the integration accuracy.
[0126] The degree of match is determined by aligning the points sampled on the driving route, which is the correct data, with the sensor positions of the key frames of the integrated environmental map using a method called ICP (Iterative Closest Point).In this case, the smaller the error, the higher the degree of match.
[0127] The degree of agreement is not limited to this, and may be calculated by another method. The degree of agreement may be determined by the difference in shape or volume between a rectangular parallelepiped containing the driving route that is the correct data and a rectangular parallelepiped containing the sensor positions of the integrated key frames.
[0128] <Variation 2-1> In the second embodiment, the environmental map is configured to be composed of key frames linking an image captured by the sensor 301 mounted on the moving object, a two-dimensional position on the image of an image feature, a three-dimensional position of the image feature, and position and orientation information of the sensor 301. However, the environmental map is not limited to this, and may hold information that can be used for position and orientation estimation using SLAM.
[0129] For example, as disclosed in Non-Patent Document 3, in SLAM, the position and orientation of a sensor can be estimated based on information on each pixel value on an image instead of image features. The captured image, the position and orientation of the sensor, and accumulated error information of pixel values are stored as key frames, and the depth value of each pixel can be estimated based on the accumulated error information of pixel values.
[0130] Therefore, in the modification 2-1, in the environmental map integration process described in step S805, the position, orientation, and depth value of the key frame are estimated so as to minimize the cumulative error of pixel values. Also, in the path change process performed in step S805, the magnitude of the cumulative error of the pixel values is determined as the integration accuracy.
[0131] Also, the environment map may hold three-dimensional shape information instead of key frames. The three-dimensional shape information may be three-dimensional point group information or three-dimensional surface group information called polygons.
[0132] In this case, in the process of integrating the environmental maps described in step S805, the three-dimensional shapes are aligned and integrated using the above-mentioned ICP method. In the process of changing the route performed in step S605, the magnitude of the alignment error using ICP performed in step S805 is determined as the integration accuracy.
[0133] <Variation 1-5> In the second embodiment, the sensor 301 is a camera that captures a grayscale image. The sensor 301 is not limited to this, and may be a distance sensor such as Lidar. The environmental map is information that links two-dimensional point cloud information in the case of two-dimensional Lidar, and three-dimensional point cloud information in the case of three-dimensional Lidar, with the position and orientation at the time of measurement.
[0134] In this case, in the integration process of the environmental map described in step S805, the point clouds are aligned and integrated using ICP. In the route change process performed in step S805, the magnitude of the alignment error using ICP performed in step S805 is determined as the integration accuracy. EXAMPLES
[0135] In the first and second embodiments, a method for determining a route for integrating environmental maps has been described. In the third embodiment, an example of presenting the determined route to a user will be described. Fig. 9 is a diagram showing an example of a screen showing information on environmental maps to be integrated and a driving route added for integration in the second embodiment.
[0136] 9 shows a current position 900 of the moving object, a planned route 901 of the moving object, a track 902 of the moving object already traveled, an environmental map to be integrated (second environmental map) 903, and a decided additional route 904. In FIG.
[0137] By displaying this information with lines of different types and colors, the user can confirm that a new route has been added to the planned route of the moving object and the environmental map of the destination. If there are multiple candidates for the added route, the information of the candidates for the added route may be displayed to allow the user to select one.
[0138] The information on the candidate additional routes may be any information related to the additional routes, such as the length of the route, the number of image features described in step S600 of the first embodiment, or the value of the spatial distribution degree.
[0139] The device that displays the screen may be one that can be viewed by an operator or a manager, and may be, for example, the terminal device 203 of the user 202 shown in Fig. 2. Alternatively, the screen may be displayed on a display device installed in a mobile object.
[0140] Although the present invention has been described in detail based on the preferred embodiments, the present invention is not limited to the above embodiments, and various modifications are possible based on the spirit of the present invention, and are not excluded from the scope of the present invention. The present invention includes the following combinations.
[0141] (Configuration 1) An information processing device comprising: a position and orientation measurement means for calculating a position and orientation of a moving body based on measurement information from a sensor that measures the environment surrounding the moving body; an environmental map generation means for generating a first environmental map in the vicinity of the moving body based on the measurement information from the sensor and the position and orientation; an environmental map determination means for determining a second environmental map to be integrated with the first environmental map; an environmental map acquisition means for acquiring information about the second environmental map; and a route determination means for determining a driving route of the moving body for integrating the first environmental map and the second environmental map based on the information about the second environmental map.
[0142] (Configuration 2) The information processing device according to configuration 1, wherein the environmental map determination means determines an environmental map showing an environment in the vicinity of the travel route of the moving object as the second environmental map.
[0143] (Configuration 3) The information processing device according to configuration 1 or 2, wherein the environment map determination means determines the second environment map in response to a user operation.
[0144] (Configuration 4) An information processing device described in any one of configurations 1 to 3, characterized in that the route determination means determines the driving route based on information of the second environmental map so that the integration accuracy when integrating the first environmental map and the second environmental map is equal to or greater than a predetermined value.
[0145] (Configuration 5) The information processing device described in any one of configurations 1 to 4, characterized in that when there are multiple driving routes with an integrated accuracy equal to or greater than a predetermined value, the route determination means determines one of the driving routes based on at least one of the driving time of the driving routes, the route length of the driving routes, the integrated accuracy, and the date and time of the second environmental map.
[0146] (Configuration 6) The information processing device described in any one of configurations 1 to 5, characterized in that the route determination means determines the driving route based on at least one of the number of key frames, the distribution of the key frames, the number of feature points, and the distribution of feature points for key frames and feature points held by the second environmental map included in the integrated area when the first environmental map and the second environmental map are integrated.
[0147] (Configuration 7) An information processing device described in any one of configurations 1 to 6, characterized in that the route determination means determines the driving route so that the path length of the integrated area when integrating the first environmental map and the second environmental map is equal to or greater than a predetermined value.
[0148] (Configuration 8) The information processing device according to any one of configurations 1 to 7, wherein the environmental map determination means determines an environmental map that holds information newer than a predetermined date and time as the second environmental map.
[0149] (Configuration 9) The information processing device according to any one of configurations 1 to 8, wherein the route determination means determines the driving route based on a position and orientation of a key frame held in the second environmental map.
[0150] (Configuration 10) An information processing device described in any one of configurations 1 to 9, characterized in that the route determination means determines the driving route based on trajectory information generated based on position and orientation information of a sensor measured when generating the second environmental map.
[0151] (Configuration 11) An information processing device according to any one of configurations 1 to 10, further comprising: an environmental map integration means for integrating the first environmental map and the second environmental map; and a route change means for changing the driving route based on the integration accuracy of the environmental maps integrated by the environmental map integration means.
[0152] (Configuration 12) A moving body comprising a travel control means for controlling travel based on the travel route determined by the information processing device according to any one of configurations 1 to 11.
[0153] (Method) A position and orientation measurement step of calculating a position and orientation based on measurement information of a sensor that measures the environment around a moving body, an environmental map generation step of generating a first environmental map near the moving body based on the measurement information of the sensor and the position and orientation, an environmental map determination step of determining a second environmental map to be integrated with the first environmental map, an environmental map acquisition step of acquiring information on the second environmental map, and a route determination step of determining a travel route of the moving body for integrating the first environmental map and the second environmental map based on the information on the second environmental map. 13. An information processing method comprising:
[0154] (Program) A computer program for controlling the information processing device according to any one of configurations 1 to 11 or each means of the moving body according to configuration 12 by a computer.
[0155] In order to realize a part or all of the control in the above-mentioned embodiment, a computer program for realizing the functions of the above-mentioned embodiment may be supplied to an information processing device or the like via a network or various storage media. Then, a computer (or a CPU, MPU, or the like) in the information processing device or the like may read and execute the program. In this case, the program and the storage medium storing the program constitute the present invention. [Explanation of symbols]
[0156] 200: Mobile 201: Imaging device 202:User 203: Terminal device 204:Display device
Claims
1. a position and orientation measuring means for calculating a position and orientation of a moving object based on measurement information from a sensor that measures an environment around the moving object; an environmental map generating means for generating a first environmental map in the vicinity of the moving object based on the measurement information of the sensor and the position and orientation of the moving object; an environment map determining means for determining a second environment map to be integrated with the first environment map; an environmental map acquisition means for acquiring information on the second environmental map; a route determination means for determining a travel route of the moving object for integrating the first environmental map and the second environmental map based on information of the second environmental map; 13. An information processing device comprising:
2. 2. The information processing apparatus according to claim 1, wherein the environmental map determination means determines an environmental map showing an environment in the vicinity of the travel route of the mobile object as the second environmental map.
3. 2. The information processing apparatus according to claim 1, wherein the environmental map determining means determines the second environmental map in response to a user's operation.
4. The information processing device according to claim 1, characterized in that the route determination means determines the driving route based on information of the second environmental map so that the integration accuracy when integrating the first environmental map and the second environmental map is equal to or greater than a predetermined value.
5. The information processing device according to claim 1, characterized in that, when there are multiple driving routes whose integrated accuracy is equal to or greater than a predetermined value, the route determination means determines one of the driving routes based on at least one of the driving time of the driving routes, the route length of the driving routes, the integrated accuracy, and the date and time of the second environmental map.
6. The information processing device according to claim 1, characterized in that the route determination means determines the driving route based on at least one of the number of key frames, the distribution of the key frames, the number of feature points, and the distribution of the feature points for the key frames and feature points held by the second environmental map included in the integrated area when the first environmental map and the second environmental map are integrated.
7. The information processing device according to claim 1 , characterized in that the route determination means determines the driving route so that a path length of an integrated area when the first environmental map and the second environmental map are integrated is equal to or greater than a predetermined value.
8. 2. The information processing apparatus according to claim 1, wherein the environmental map determination means determines an environmental map that holds information newer than a predetermined date and time as the second environmental map.
9. The information processing apparatus according to claim 1 , wherein the route determination means determines the driving route based on the positions and orientations of key frames held in the second environmental map.
10. The information processing apparatus according to claim 1 , wherein the route determination means determines the driving route based on trajectory information generated based on position and orientation information of a sensor measured when the second environmental map is generated.
11. an environmental map integration means for integrating the first environmental map and the second environmental map; a route changing means for changing the driving route based on integration accuracy of the environmental map integrated by the environmental map integration means; 2. The information processing apparatus according to claim 1, further comprising:
12. A moving body comprising a travel control means for controlling travel based on the travel route determined by the information processing device according to any one of claims 1 to 11.
13. a position and orientation measurement step of calculating a position and orientation of the moving object based on measurement information of a sensor that measures an environment around the moving object; an environmental map generating step of generating a first environmental map in the vicinity of the moving object based on the measurement information of the sensor and the position and orientation of the moving object; an environment map determining step of determining a second environment map to be integrated with the first environment map; an environmental map acquisition step of acquiring information of the second environmental map; a route determination step of determining a travel route of the moving object for integrating the first environmental map and the second environmental map based on information of the second environmental map; 13. An information processing method comprising:
14. An information processing device according to any one of claims 1 to 11, or a computer program for controlling each means of a moving body according to claim 12 by a computer.
Citation Information
Patent Citations
Map creation method using group of intelligent robots and device for the same
JP2013109325A
