Information processing device, information processing method, and program
The information processing device stabilizes navigation by updating maps only when the moving object is outside a predetermined area, addressing sudden changes in position and orientation caused by frequent updates, thereby maintaining stable speed and direction.
Patent Information
- Application Number
- JP2019229710
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2019-12-19
- Publication Date
- 2024-09-09
- Estimated Expiration
- 2039-12-19
AI Technical Summary
Existing map updating techniques in mobile objects cause sudden changes in position and orientation estimation due to frequent updates, leading to rapid changes in speed and direction, especially when new feature points are added or environmental changes occur.
An information processing device that estimates the position of a moving object using map information, determines if the difference between estimated positions exceeds a threshold, and updates the map only when the moving object is outside a predetermined update area, thereby controlling the object's movement to minimize sudden changes.
This approach reduces sudden changes in speed and direction by minimizing the impact of map updates on position and orientation estimation, ensuring stable navigation.
Smart Images

Figure 0007547045000004 
Figure 0007547045000011 
Figure 0007547045000009
Abstract
Description
[Technical field]
[0001] The present invention relates to a technique for updating map information from an image. [Background technology]
[0002] In the past, when a mobile body was made to travel autonomously, a technology existed in which a map for calculating the position and orientation of the sensor was created using a sensor mounted on the mobile body, the position and orientation of the sensor was calculated by referring to the created map, and the mobile body was controlled. In this case, the map was updated based on sensor values at multiple times to improve the accuracy of the map, and the map was added (updated) as needed based on time-series sensor values to calculate the position and orientation in an area where a map has not been created. Patent Document 1 discloses a method for automatically generating and updating a map while the mobile body moves autonomously. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] Patent No. 5444952 Summary of the Invention [Problem to be solved by the invention]
[0004] However, in the technology of Patent Document 1, for example, if the map is updated every time information on the positions of new feature points is received, the estimated results of the position and orientation of the sensor and the moving object change depending on the updated map. In particular, when there is a large change between the original estimation result and the updated estimation result in estimating the position and orientation of the moving object, there is a possibility that the moving speed and direction of the moving object will change suddenly accordingly.
[0005] The present invention has been made in consideration of the above-mentioned problems, and aims to suppress abrupt changes in the estimation results of the self-position and orientation of an object whose position is estimated using map information when the map information is updated. [Means for solving the problem]
[0006] To achieve the above object, an information processing device according to the present invention is an information processing device that estimates a position of a moving object based on map information indicating positions of feature points in an environment in which the moving object moves, the information processing device comprising: a first estimation means for estimating a first position of the moving object based on features of feature points registered in the map information and features of the feature points acquired from sensor information measured by the moving object while the moving object is moving in the environment; a second estimation means for estimating a second position of the moving object based on information indicating a difference between a position of a feature point included in the map information and a position of the feature point acquired from the sensor information; a control means for moving the moving object based on a route determined based on a newly acquired feature point from the sensor information when a difference between the first position and the second position is greater than a threshold value; and updating means for updating the map information to a map generated based on newly acquired feature points from the sensor information. Effect of the Invention
[0007] According to the present invention, when map information is updated, it is possible to suppress a sudden change in the estimation result of the self-position and orientation of an object whose position is estimated using map information. [Brief description of the drawings]
[0008] [Figure 1] FIG. 1 is a block diagram showing an example of a functional configuration of an information processing device; [Diagram 2] 1 is a flowchart showing a flow of processing executed by an information processing device; [Diagram 3] FIG. 1 is a diagram showing an example of a hardware configuration of an information processing device; [Figure 4] A diagram showing an example of a GUI [Diagram 5] Flowchart showing process details [Figure 6] Flowchart showing process details [Figure 7] FIG. 1 is a block diagram showing an example of a functional configuration of an information processing device; [Figure 8]FIG. 1 is a block diagram showing an example of a functional configuration of an information processing device; [Figure 9] 1 is a flowchart showing a flow of processing executed by an information processing device; [Figure 10] FIG. 13 is a diagram showing an example of a result of estimating the position of a moving object before and after updating a map. [Figure 11] A diagram showing an example of the timing of updating a map. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0009] Hereinafter, an embodiment will be described with reference to the drawings. Note that the configurations shown in the following embodiments are merely examples, and the present invention is not limited to the configurations shown in the drawings.
[0010] <Embodiment 1> In this embodiment, an example in which the information processing device 100 of the present invention is applied to an information processing system 100 will be described. The information processing system is, for example, a system configured of a moving body, a sensor (measurement device), and an information processing device. The position and orientation of the sensor are calculated based on sensor information measured by the sensor mounted on the moving body, a control value for controlling the moving body to a destination is calculated based on the calculated position and orientation, and the control device 11 controls the moving body to the destination based on the control value. The system configuration is not limited to this, and may be, for example, a system configured of a server that generates the control value, an external sensor that measures the moving body, and a moving body that can communicate with the server.
[0011] In this embodiment, SLAM (Simultaneous Localization and Mapping) technology, which is a technology for calculating the position and orientation while creating and updating a map based on sensor information, is used to measure the position and orientation of the sensor. In SLAM technology, when a map is created and updated, the map elements used for position and orientation estimation change, so the estimation result of the position and orientation of a moving object calculated before and after the map update changes. This change may cause the speed and direction of the moving object to change suddenly.
[0012] The above-mentioned examples will be described with reference to FIG. 10. The first example is a case where the position of a feature point is updated due to an increase in the number of measurement viewpoints. For example, when a moving body (camera) moves, the same feature point is measured from multiple viewpoints. This improves the depth accuracy of motion stereo, and allows more accurate calculation of the three-dimensional position of the feature point. If the calculated position of the feature point is used as an update value to rewrite the map, the position of the feature point used for the position and orientation will change (from a white point of 1000 to a black point of 2000), and the estimated result of the camera's position and orientation will change from 1010 to 2010. The second example is a case where the position of a feature point is updated due to the discovery of a loop closure. Loop closure is, for example, a process of matching the initially estimated starting point with the estimated position of the starting point when a moving body returns to the starting point after making one revolution in a driving environment. In addition, the determination of whether or not it is the same place is made by comparing an image captured at the start point with an image captured when returning to the same place as the start point or its vicinity, and determining that it is the same place if the similarity of the image features is greater than a predetermined value. In this case, even if the same place determination is performed, the three-dimensional positions of the map (feature points) are recalculated so that the world coordinates of the feature points included in the images captured at the same place match, so the three-dimensional positions of the feature points used change, and the estimation result of the position and orientation of the camera also changes. Situations in which the loop closing process is required, or situations in which the feature points used for position and orientation estimation increase or decrease or the positions of the feature points change, can occur when the position estimation error of the feature points is greater than a predetermined threshold or errors accumulate, or the environment changes. The influence of the first error varies greatly depending on the measurement accuracy of the sensor and the performance of the device performing the estimation process. In addition, environmental changes include, for example, layout changes in the driving environment, fluctuations due to the movement of people or objects, and changes in lighting conditions. When such environmental changes occur, the feature points on the map prepared in advance may increase or decrease, or the feature points measured initially may move. For this reason, it is desirable to estimate the self-position and orientation while updating the map.
[0013] In this embodiment, it is determined whether the moving object is located within a predetermined range from an area where the calculated position and orientation of the sensor 10 changes significantly due to map updating, i.e., an update area where elements are rewritten in map updating. For example, feature points whose coordinates are rewritten are extracted, and the convex hull area surrounded by them is set as the update area. Then, if the moving object is located outside the predetermined range, the map is updated. This is because the map update has less effect on the traveling of the moving object if the distance between the map update area and the position of the moving object is large.
[0014] 1, an information processing system 100 in this embodiment includes a sensor 10, an information processing device 1, and a control device 11. The information processing device 1 is also configured with an update information input unit 110, a difference acquisition unit 120, and an update method determination unit 130. The information processing device 1 in this embodiment further includes a sensor information input unit 12, a position and orientation estimation unit 13, a map storage unit 14, an update information generation unit 15, a map update unit 16, and a control value determination unit 17. The sensor information input unit 12, the position and orientation estimation unit 13, the map storage unit 14, the update information generation unit 15, the map update unit 16, and the control value determination unit 17 may be included in an external device of the information processing device.
[0015] The sensor 10 is a sensor (measurement device) that acquires external information as sensor information. In this embodiment, the sensor 10 is a stereo camera that acquires stereo images as sensor information. The sensor 10 in this embodiment is a camera mounted on a moving object, and therefore captures an image of the environment in which the moving object travels.
[0016] The control device 11 is a control device for controlling the moving body based on the control value calculated by the control value determination unit 17, that is, an actuator. For example, it is a motor, a power cylinder, or a power converter for driving tires and steering. In this embodiment, the control device 11 is a motor for a two-wheeled differential tire. It is the control value, and more specifically, the number of rotations of the two tires on the left and right. By changing the control value, the moving body can move straight and turn.
[0017] The sensor information input unit 12 inputs the result of the sensor 10 measuring the distance between the sensor (mobile body) and the surrounding environment as sensor information. In this embodiment, an image acquired by the sensor 10 is input as the sensor information and output to the position and orientation estimation unit 13. Specifically, an image of the surrounding environment of the mobile body captured by a camera mounted on the mobile body is used as the sensor information. In addition, it is assumed that the relative distance between the mobile body (measurement device) and surrounding objects can be estimated from this sensor information.
[0018] The position and orientation estimation unit 13 calculates the position and orientation of the sensor 10 using the sensor information input by the sensor information input unit 12 and the map information held by the map holding unit 14. The calculated position and orientation value is output to the control value determination unit 17. The map information in this embodiment holds key frame group information including one or more pieces of key frame information indicating a specific object in real space. Using the map information, the characteristics of the feature points obtained from the sensor information are compared with the characteristics of the feature points measured in advance, and the position and orientation of the sensor in the map coordinate system can be measured. In the position and orientation estimation, as is generally used in SLAM technology, the sensor position and orientation are calculated so that the coordinates of the index extracted from the sensor information measured by the sensor match the coordinates of the index registered in the map information.
[0019] The control value determination unit 17 inputs the position and attitude calculated by the position and attitude estimation unit 13, and calculates a control value for driving the control device 11. The control value means the number of rotations of each of the left and right tires of the two-wheeled operating tire. The control value determination unit 17 calculates a control value for controlling the control device 11 so that the position and attitude of the moving body at the target point of the moving body input by an input means (not shown) coincides with the position and attitude calculated by the position and attitude estimation unit 17, and outputs the control value to the control device 11.
[0020] The map storage unit 14 stores map information used by the position and orientation estimation unit 13 to calculate the position and orientation of the sensor 10. The map storage unit 14 outputs the map information to the update information generation unit 15. The map information may be located outside the information processing device 100. The map information referred to here is a three-dimensional map such as a three-dimensional model of the environment that represents the structure and space of the environment. Specifically, the map information is a collection of three-dimensional point cloud data (or a combination of three-dimensional point cloud data and color information) and key frame data. The map information and key frames will be described in detail later.
[0021] The update information generating unit 15 generates update information for updating the map based on the positions of feature points included in the map information held by the map holding means 14 and the positions of feature points newly acquired from the sensor information. Here, the update information is information indicating the difference between the positions of feature points in the map information and the positions of feature points acquired from the sensor information when the feature points included in the map information are measured by a sensor. The generated update information for the map is output to the update information input unit 110. A method for updating the map information will be described later. Specifically, the update information includes the following information. The first update information is information for correcting a different position on the map coordinates based on the positions of known feature points included in the map information and the positions of new feature points for a given identical point so that they coincide with each other. The same point is determined based on whether the coordinates of key frame B calculated by two methods are the same coordinate values (close values due to calculation errors). For example, a given key frame viewed from another key frame on the world coordinates is compared with a given key frame on the world coordinates, and it is determined that the two points are the same when the difference is within a given range. Second, update information is information that includes new feature point coordinates obtained from the feature point positions on images measured from multiple viewpoints. Third, update information is information that includes the new positions of feature points obtained from the positions of feature points on images measured from multiple viewpoints and the new position of the camera that performed the measurement (key frame coordinates). In other words, update information is information that updates the map information to match the positions of feature points when the feature points in the environment are measured by a sensor with the positions of the feature points in the map information.
[0022] The update information input unit 110 inputs the map update information generated by the update information generation unit 15. The input update information is output to the difference acquisition unit 120.
[0023] The difference acquisition unit 120 acquires the difference between a first position of the moving object estimated from the sensor information and the map information, and a second position of the moving object estimated based on the position of a feature point newly acquired from the sensor information. The sensor information indicates the three-dimensional position of a feature point measured in the environment around the moving object. The map information includes information on the three-dimensional position of a feature point that has already been measured. Based on the update information input by the update information input unit 110 and the map information held by the map holding unit 14, the difference to the position and orientation of the sensor 10 calculated by the position and orientation estimation unit 13 accompanying the map update is calculated. The difference is a value corresponding to the magnitude of the change in the position and orientation of the moving object calculated by the position and orientation estimation unit 13 before and after the map update. The difference acquisition unit 120 outputs the calculated difference to the update method determination unit 130. Detailed processing will be described later.
[0024] The update method determination unit 130 determines a method for updating the map information based on the difference calculated by the difference acquisition unit 120. The update method in this embodiment is a value normalized to 0 to 1 that the map update unit 16 uses to determine whether or not to perform a map update. The calculated update method is output to the map update unit 16. Here, the larger the value (closer to 1), the more it is determined that an update is to be performed, and the smaller the value (closer to 0), the more the update is suppressed.
[0025] The map update unit 16 rewrites the map information held by the map holding unit 14 based on the update method. The map information is updated from the update information. Depending on the update method, the map information may be updated all at once or may be updated in multiple instalments. If the acquired difference is small, the map update is suppressed at that stage.
[0026] The map information in this embodiment holds key frame group information including one or more pieces of key frame information. The map information is generated by moving a mobile body equipped with a sensor in an environment before moving the mobile body. For example, a map is generated by synthesizing sensor information from a sensor mounted on the mobile body while operating the mobile body with a remote control or by pushing it by hand. Alternatively, the map information is generated by a mobile body moving autonomously in an environment and using a SLAM (Simultaneous Localization and Mapping) technique. SLAM is a technique for recognizing the surrounding environment with a sensor and estimating its own position and orientation with high accuracy. When key frame data is used as the map information, first, a key frame closest to the position and orientation estimated in the previous frame is selected, and each pixel of the current frame is projected onto the key frame based on a depth map using the position and orientation of the previous frame. Next, the pixel values of the projected frame and the pixel values of the key frame are matched to estimate the position and orientation so that the luminance difference is minimized. In addition, the position and orientation of the key frame are updated by a graph optimization method at a predetermined timing such as when the loop is closed.
[0027] A key frame is the smallest unit of map element for the position and orientation estimation unit 13 to calculate the position and orientation of a sensor, and key frame information (described later) acquired from image information captured by a camera at a certain point is stored together with the camera position and orientation at that time. In position and orientation estimation, the position and orientation of the camera with respect to the key frame is calculated based on the image captured by the camera and the key frame information, and the position and orientation of the sensor is calculated by multiplying it by the position and orientation of the key frame.
[0028] The key frame information is a data structure of a key frame. The key frame information is a combination of a depth map, which is obtained at regular intervals by quantizing depth information seen from a certain viewpoint in the environment and expressing it in color shading, and color information obtained from the image. The key frame may be anything that can be used to estimate the position and orientation, and may be, for example, a combination of depth information and image information (color information) at a feature point in an image. The key frame holds an ID for uniquely identifying the key frame, image information captured by the sensor 10, feature point information such as a corner detected from the image, and a matrix representing the position and orientation value of the key frame, that is, the position and orientation of the sensor at the time the image was captured. The feature point information holds two-dimensional coordinates u, v of the feature point detected in the image (hereinafter referred to as the two-dimensional position of the feature point or the position of the feature point), feature amount (a small image cut out from a small patch around the image), and three-dimensional coordinates X, Y, Z indicating the three-dimensional position in space. The position and orientation value is a matrix value expressed as a 4×4 matrix M of six parameters: three parameters that represent the position of the imaging device in world coordinates defined in real space, and three parameters that represent the orientation of the imaging device.
[0029] The map update information in this embodiment refers to the update value (keyframe update information) of the keyframe information to be updated among the keyframe group information held by the map information. The keyframe update information includes an ID for identifying each keyframe to be updated that is included in the keyframe group, updated values of the position and orientation values of the keyframe to be updated, and updated values of the three-dimensional positions of the feature points included in the keyframe information to be updated. A plurality of keyframe update information is collectively referred to as keyframe group update information. The keyframe group update information includes the keyframe update information.
[0030] FIG. 3 is a diagram showing the hardware configuration of the information processing device 1. H11 is a CPU, which controls various devices connected to the system bus H21. H12 is a ROM, which stores a BIOS program and a boot program. H13 is a RAM, which is used as a main storage device for H11, which is the CPU. H14 is an external memory, which stores programs processed by the information processing device 1. The input unit H15 is a keyboard, mouse, button, or switch, which performs processing related to input of information, etc. The display unit H16 outputs the calculation result to the display device according to an instruction from H11. The display device may be a liquid crystal display device, a projector, an LED indicator, or any type. H17 is a communication interface, which communicates information via a network, and the communication interface may be Ethernet (registered trademark), or any type such as USB, serial communication, or wireless communication. In this embodiment, the target position of the moving object is input via the communication interface H17. I / O. In this embodiment, the update information input unit 110 receives the update information from the update information generation unit 15, and the update method determined by the update method determination unit 130 is output to the map update unit 16 via I / O.
[0031] Next, a processing procedure in this embodiment will be described. Fig. 2 is a flowchart showing a processing procedure of an information processing system including the information processing device 1 in this embodiment. The processing steps include initialization S11, sensor information input S12, position and orientation estimation S13, control S14, map update determination S15, update information generation S15, map update S16, end determination S17, update information input S110, difference acquisition S120, and update method determination S130.
[0032] In S11, the information processing device 1 initializes the system. That is, the program and map information are read from the external memory H14 to the RAM (H13). The position and orientation estimation unit 13 also acquires the following values necessary for estimating the position: the internal parameters of the sensor 11 (camera) (focal length fx (horizontal direction of the image), fy (vertical direction of the image), image center position cx (horizontal direction of the image), cy (vertical direction of the image), lens distortion parameters). Also, various parameters such as parameters of the control device (moving object size, tire diameter, motor torque value, etc.) are read from the external memory H14 to the RAM (H13). Also, the sensor 10 and the control device 11 are started, and the information processing system including the information processing device 1 is made operable and controllable. After the initialization is completed, the process proceeds to sensor information input S12.
[0033] In S12, the sensor information input unit 12 inputs sensor information obtained by measuring the surroundings of the measuring device (mobile body). Here, an image captured by a camera, which is the sensor 10, is input. The input image is converted into a corrected image in which the influence of lens distortion is removed using internal parameters. The corrected image is output to the position and orientation estimation unit 13. Hereinafter, the corrected image is simply referred to as an image. Next, the process proceeds to position and orientation estimation S13.
[0034] In S13, the position and orientation estimation unit 13 estimates the position and orientation of the moving body (first position and orientation) based on the positions of the feature points acquired from the sensor information measuring the periphery of the measuring device and the map information including the positions of the feature points existing in the environment. That is, the position and orientation of the sensor 10 is calculated using the image input by the sensor information input unit 12 and the map information held by the map holding unit 14. The method of Raul et al. is used for estimating the position and orientation of the sensor 10. (Raul Mur-Artal et.al, ORB-SLAM: A Versatile and Accurate Monocular SLAM System. IEEE Transactions on Robotics). First, the feature points detected from the image, which is the sensor information, are matched with the feature points included in the key frame information. Next, the Perspective-n-Pont Problem (PNP problem) is solved from the correspondence relationship between the three-dimensional coordinates of the matched feature points and the two-dimensional positions of the detected feature points on the image to calculate the position and orientation of the sensor. The calculated position and orientation are output to the control unit 17, and the process proceeds to S14.
[0035] In S14, the control value determination unit 17 determines a control value based on the position and attitude of the moving body such that the moving body approaches a preset target point. That is, the moving body is moved based on map information indicating the position and attitude of the target point (or route) of the moving body and the position and attitude of the sensor 10 estimated by the position and attitude estimation unit 13. In calculating the control value, all possible variations of the control value that reduce the Euclidean distance between the position and attitude of the moving body and the position and attitude of the target point in the map information are calculated as candidates for the control value. A Dynamic Window Approach (DWA) is used to select an optimal control value from the candidates. The calculated control value is output to the control device 11. After outputting the control value, the process proceeds to map update S15.
[0036] In S15, the update information generating unit 15 generates update information. The update information is generated using loop detection and pose graph optimization described in the method of Raul et al. (Raul Mur-Artal et.al, ORB-SLAM: A Versatile and Accurate Monocular SLAM System. IEEE Transactions on Robotics.) First, loop detection is performed to select two pieces of key frame information that are physically located at the same point but are calculated as different positions and orientations from among the key frame group information included in the map information. Next, pose graph optimization is used to calculate update values for the position and orientation values of the surrounding key frame information and update values for the three-dimensional coordinates of the feature points so that the positions and orientations held by the two pieces of key frame information are consistent. The procedure will be described in more detail. First, the feature points of key frame A and key frame B are matched. 3D-2D position and orientation calculation is performed using the 3D coordinates of the matched feature points of key frame A and the 2D coordinates of the feature points on the image of key frame B. (This allows the coordinates of key frame B as seen from key frame A to be determined.) Using the calculated position and orientation A→B, a 2D projection process is performed from the 3D coordinates of the feature points of key frame A to key frame B to check whether they are projected at the specified location. Global optimization is performed so that the coordinates of key frame B as seen from key frame A match the coordinates held by key frame B. The multiple key frame update information calculated in this way is input to update information input unit 110 as key frame group update information, i.e., update information, and the process proceeds to update information input S110.
[0037] In S110, the update information input section 120 inputs the update information generated by the update information generation section 15 to the difference acquisition section 120, and the process proceeds to S120.
[0038] In S120, the difference acquisition unit 120 acquires a difference indicating the magnitude of change in the position and orientation estimated by the position and orientation estimation unit 13 before and after the map update, using the change in the position of the sensor in the original map information and the position of the sensor in the update information, and the update information. First, the distance between the key frame to be updated and the sensor is calculated. Specifically, based on the update value of the position of the key frame to be updated included in each key frame update information in the key frame group update information and the position of the sensor, the three-dimensional Euclidean distance between the coordinates of each key frame to be updated and the coordinates of the sensor is acquired. Next, the minimum value of the Euclidean distance calculated for each key frame to be updated is obtained. In this embodiment, the reciprocal of the minimum Euclidean distance is used as the difference value. That is, the larger the distance (the less it affects the position and orientation measurement), the easier it is to update the map. The difference value calculated for the position and orientation measurement is output to the update method determination unit 130, and the process proceeds to S130.
[0039] In S130, the update method determination unit 130 determines the update method to be used by the map update means 16 to determine whether to execute the map update, based on the difference calculated by the difference acquisition unit 120. As one of the update methods, a value indicating the ease of updating is a real number normalized to 0 to 1, and the smaller the difference value, the closer to 0, and the larger the difference value, the closer to 1. In this embodiment, for normalization, an exponential function is used with a base of the difference value calculated by the difference acquisition unit 120 in S120 multiplied by -1. Based on the value indicating the ease of updating determined in this way, if the value indicating the ease of updating is equal to or greater than a predetermined threshold, the update method is determined. The update method when updating is performed is output to the map update unit 16, and the process proceeds to S17. The update method may be set to be changed according to the value indicating the ease of updating or the update information. If the value indicating the ease of updating is less than the threshold, the map is not updated, and information indicating that the update is not performed is input to the map update unit.
[0040] In S16, based on the update method determined by the update method determination unit 130 in S130, the map update unit 16 determines whether or not to update the map information held by the map holding unit 14, and updates the map. In this embodiment, the map information held by the map holding unit 14 is rewritten based on the map update information, and the process proceeds to S17. If the value indicating the ease of updating is less than the threshold, the map update is suppressed at that stage, and the process proceeds to S17. In that case, for example, the map is updated after a predetermined time, or the map is updated in stages multiple times based on the update method. For example, when the map update area and the sensor are far away, the map update is performed, and when the map update area and the sensor are close, the map update is stopped.
[0041] In S17, it is determined whether or not to terminate the system. If a command to terminate the system is input by the user via the input unit H15 such as a mouse or keyboard, the system is terminated, otherwise the process returns to S12 to continue the position and orientation estimation and map update process.
[0042] <Effects> In the first embodiment, the change in the position measurement value during the update can be reduced by allowing the map update when the sensor, i.e., the moving object, leaves the update area. This reduces sudden changes in the speed and direction of the moving object.
[0043] <Variation 1> In this embodiment, the difference calculated by the difference acquisition unit 120 is calculated based on the distance between each key frame to be updated and the sensor. However, the embodiment is not limited to the above. It is sufficient that the difference value is calculated based on the key frame update information and that the amount of change in the position and orientation of the sensor 10 calculated by the position and orientation calculation unit 13 accompanying the map update is small. For example, the difference may be the difference between the orientation of each key frame to be updated and the sensor. The orientation difference is the angle difference between the update value of the orientation of the key frame to be updated included in each key frame update information in the key frame group update information and the orientation value of the sensor calculated by the position and orientation estimation unit 13. Specifically, when the moving object reverses the route it has been traveling around, or when it returns after going back and forth, the map update can be switched according to the traveling direction. In addition, a convex hull space circumscribing the key frame group to be updated may be calculated, and the difference may be calculated based on the distance between the surface of the convex hull space and the sensor. Furthermore, the difference acquisition unit 120 may calculate a binary value indicating whether the sensor is located in the convex hull space. That is, if the sensor is located within the convex hull, the difference is determined as 1, and if the sensor is not located within the convex hull, the difference is determined as 0.
[0044] In this embodiment, the reciprocal of the distance between the sensor and the surrounding object is calculated as the difference. Any setting method may be used as long as the difference value decreases as the distance increases. In other words, to calculate the difference from the distance between the sensor and the surrounding object, an inverse cotangent function may be used, an exponential function with the negative value of the distance as the base may be used, or a function obtained by substituting the distance value into a sigmoid function, multiplying it by -1, and adding 1 may be used.
[0045] Also, the difference may be calculated based on the distance between the sensor 10 and the three-dimensional coordinates of the feature point included in each key frame update information in the key frame group update information. In such a configuration, feature point information with the smallest Euclidean distance from the sensor 10 is obtained from the feature point information included in the key frame group update information. At this time, the inverse of the distance value from the feature point with the smallest distance is calculated as the difference value. It is not limited to the feature point with the smallest distance, but any feature point that can measure the distance from the update range may be used. In other words, a predetermined number of feature points with short distances from the sensor may be selected from the feature points with shortest distances, and the average value or median value of the distances between the feature points and the sensor may be used. Also, the number of feature points with a predetermined distance or less from the sensor may be calculated as the difference value.
[0046] The difference can also be calculated based on the width of the range included in the update information, i.e., the width of the area including the keyframe group. That is, the wider the update area, the larger the difference calculated. Specifically, the volume of the convex hull of the keyframe group to be updated described above is calculated, and the inverse of the volume value is calculated as the difference value. The difference value may also be the inverse of the surface area of the convex hull space. The inverse of the volume or the length of the major axis of an ellipse circumscribing or inscribing the convex hull space may also be used. The convex hull is calculated so as to include the keyframe group, but it may also be a convex method including feature points included in the update information.
[0047] The update method is not limited to the method shown in this embodiment as long as it is possible to change the timing of map updates. For example, a difference may be calculated for each key frame to be updated, and an update method may be calculated for each key frame to be updated. With such a configuration, updates are controlled for each key frame, and key frames with small differences are updated quickly, and key frames with large differences are not updated. In this way, the map can be steadily updated while suppressing sudden changes in the calculated position and orientation.
[0048] The map update unit 16 can also update the position and orientation of the keyframes and feature points to the updated values gradually over a longer period of time as the difference between the estimated positions of the moving object before and after the update is larger. Specifically, the keyframes stored in the map storage unit are updated using a composite position and orientation obtained by combining the position and orientation of the keyframe to be updated, which is included in the keyframe group update information, and the position and orientation of the keyframe stored in the map storage unit 14, using a weighted sum. As shown in FIG. 11, when the map update method (here, the change in the position of the feature point before and after the update) is large, the amount of map update is suppressed to a predetermined threshold value, and the feature point positions are gradually corrected in multiple steps to prevent a sudden change in the camera position. In particular, the larger the map update method is, the more gradual the change in the camera position can be caused by increasing the number of corrections. The weight applied to the position and orientation of the keyframe including the keyframe group is increased each time the position and orientation are measured. At this time, the rate of increase is set to a smaller value as the update method is larger. In this way, the map is updated more slowly when the effect on the position and orientation estimation is large, and the amount of change in the position measurement value during the update is reduced, and the sudden speed and direction changes of the moving object are reduced.
[0049] In this embodiment, the map update information refers to updating the values of the map components, i.e., updating the position and orientation of the key frames and the three-dimensional positions of the feature points. The map update method in this embodiment can also be used when switching maps, i.e., when replacing some key frames included in the map information with new key frames stored in a storage unit (not shown). In such a configuration, the difference acquisition unit 120 calculates the difference using the new key frame group information as key frame group update information. In this way, the amount of change in the calculated position measurement value is reduced even when switching maps, and sudden changes in speed and direction of the moving body are reduced.
[0050] Furthermore, the present invention can be applied not only to map switching but also to loading a part of a global map held by a storage means (not shown) into the storage means 14 as a local map. In this way, for example, when a map created by another moving body is loaded and its own map is updated (added to the map held by the storage means 14), the speed and direction of the moving body are less likely to change suddenly. Similarly, for example, when a part of a map on a cloud server is loaded as a local map to estimate the position and orientation, the speed and direction of the moving body are less likely to change suddenly when the map is loaded (added to the map held by the storage means 14).
[0051] In this embodiment, the map information refers to a group of key frames. However, the map information is not limited to this, and may be any index used to calculate the position and orientation of a sensor. For example, in a configuration in which the position and orientation are measured using an object as an index for position and orientation estimation, that is, the position and orientation are calculated based on the three-dimensional coordinates of an object photographed by a camera, the object and its three-dimensional coordinates become map information. In such a configuration, the update value of the position and orientation of the object can be treated as key frame update information in this embodiment, thereby allowing the method of this embodiment to calculate the difference.
[0052] Furthermore, the map information may not hold key frames, i.e., may hold only feature points. Even in such a case, the difference in this embodiment can be calculated by using the update values of the three-dimensional positions of the feature points as the key frame update information in this embodiment.
[0053] In addition, when LiDAR is used as a sensor, a scan point cloud measured by LiDAR or an Occupancy Grid Map (a map that is a data structure in which passable areas and passable areas, i.e., areas such as walls, are plotted in a grid) can also be used. In such a configuration using LiDAR, the present invention can be applied if each grid is considered to be a feature point described in this embodiment. Specifically, the difference is calculated using the method used in this embodiment based on the distance value from each grid. Not limited to this method, if the grid to be updated is considered to be the update area, the distance of the sensor from the update area can be obtained. In addition, it is also possible to determine whether the sensor is located within the update area depending on whether the grid in which the sensor is located is the update area. In such a configuration, the present invention can also be applied when LiDAR is used.
[0054] In this embodiment, the update information is the key frame update information included in the key frame group update information, and is the updated value of the key frame to be updated and the updated value of the feature point. The update information is not limited to this, and may be any information that can update the map. In other words, it may be a correction value (amount of difference) of an element of the map held by the map holding means 110.
[0055] In addition, in this embodiment, the configuration has been described in which the update information is stored as key frame update information, but the configuration is not limited to storing the update information as key frame update information as long as the map storage means 110 stores update values for rewriting map elements stored therein. In other words, the configuration may be such that only an ID for identifying a key frame and values of the updated position and orientation and three-dimensional positions of feature points are stored. In addition, when the occupancy grid map described in the modification is used as map information, the cell coordinates and rewrite values may be stored as update information.
[0056] In this embodiment, the update information is generated by detecting a loop and optimizing a pose graph to obtain an update value of the position and orientation of the key frame to be updated and an update value of the three-dimensional position of the feature point. However, the generation of the update information is not limited to the above method. For example, instead of pose graph optimization, bundle adjustment described in the method of Raul et al. can be used. (Raul Mur-Artal et.al, ORB-SLAM: A Versatile and Accurate Monocular SLAM System. IEEE Transactions on Robotics.) The update value of the position and orientation of the key frame may be obtained based on a position and orientation calculated by an IMU (inertial measurement unit) or a Kalman filter for consistency with an odometry measurement value obtained from an integral value of the amount of rotation of the tires of a moving object.
[0057] Furthermore, the present invention can be applied to a case where a map is added, that is, new key frame information is added to key frame group information held in map information. In such a case, the method of the present embodiment can be applied by using the new key frame information to be added as key frame update information.
[0058] In this embodiment, the sensor 10 is a camera. The camera may be any camera that can acquire images that can be used for position and orientation measurement, such as a monochrome camera, color camera, stereo camera, or depth camera. Depending on the camera, the sensor information may be any information that can estimate the position and orientation, such as a monochrome image, an RGB image, or a depth map.
[0059] The sensor 10 may be any sensor capable of acquiring sensor information usable for position measurement, such as LiDAR. For example, it may be a 2D LiDAR or a 3D LiDAR. Depending on the type of sensor, the sensor information may be a two-dimensional point cloud or a three-dimensional point cloud, so long as it is capable of estimating the position and orientation.
[0060] The sensor 10 is not limited to the above, and any sensor capable of calculating the position and orientation based on map information and sensor values measured by the sensor 10 may be used.
[0061] The target control device 11 is not limited to tires, but may be anything that changes the speed, acceleration, angle, angular velocity, and angular acceleration of a moving object, such as steering, or, if the moving object is a drone, the amount of rotation of a propeller.
[0062] This information processing device can be applied to all configurations that calculate the position and orientation using an updated map. For example, the moving body may be an AGV / AMR, an unmanned guided vehicle, an autonomous driving vehicle, a drone, or an autonomous mobile robot, and the movement control described in this embodiment may be applied to them. In addition to moving bodies that walk or run on land, it may also be applied to moving bodies that fly in the air, move on water, or move underwater.
[0063] In the embodiment, the information processing device 1 has been described as being mounted on an information processing system. However, as long as the information processing device 1 is configured to be able to calculate a map update method, the information processing device 1 may be located anywhere. For example, the information processing device 1 may be located on a cloud server, separate from the information processing system, or on another information processing system. The operation timing is also arbitrary. In the embodiment, the processing steps have been described as being sequential, but as a specific process, for example, S15 to S16 may be configured to be operated in parallel with S12 to S14 as a separate thread.
[0064] In the present embodiment, the configuration has been described in which the map update determination is performed every time an image is input. However, the map update determination is not limited to the configuration in which the map update determination is performed every time an image is input, and the map update determination may be performed at a predetermined timing.
[0065] That is, the update information generating step S15 may be configured to execute step S110 and subsequent steps each time a key frame is added.Furthermore, the newly added key frame may be matched with a key frame held by the map holding unit 14, and step S110 and subsequent steps may be executed only when a loop is detected.In this way, step S110 and subsequent steps are executed only when the map can be updated, reducing the processing load and enabling map update determination.
[0066] <Variation 2> The information processing device 1 may be configured to include a presentation unit (not shown). For example, if the presentation unit uses three-color lights of red, yellow, and green, the green light is displayed when the map is not being updated, and the yellow light is displayed when the map is being updated, thereby making it possible to visualize to the user that the map is being updated. The color of the display is arbitrary as long as it can visualize to the user that the map is being updated. Any color may be used, such as an LED lamp or a liquid crystal display, as long as it can present information regarding the map update status to the user. The presentation device may be a speaker, and may be configured to play a specific alarm sound or a specific melody depending on the map update status.
[0067] The difference, update method, and update range may be presented on the presentation unit as information related to map updates. Fig. 4 shows an example of GUI 100 that uses a display on the presentation unit to present map information, the difference, and the update range.
[0068] G110 is a presentation area that presents map information and differences. G111 is an index that indicates the range of map updates and the value of the differences. In this modified example, the map update area is presented in a darker color as the differences become larger. G112 is the moving route of the moving object. G113 is the current position of the moving object.
[0069] G120 is a GUI that allows the user to adjust the map update parameters. G121 is the mouse cursor, and the user can move the threshold adjustment bar shown in G122 up and down to determine the degree of difference that the map update is allowed to have. G123 is an index that indicates the magnitude of the difference.
[0070] In this way, the area in which the map update is performed can be presented to the user more easily, and the threshold for allowing the map update can be adjusted. In this way, the user can intuitively understand the difference due to the map update.
[0071] Although the above description concerns a configuration in which a display is used as the presentation unit, the presentation device may be a speaker. The alarm sound may be configured to change in volume, pitch, or type of melody depending on the difference in the area through which the moving object is passing.
[0072] <Embodiment 2> In the first embodiment, the difference acquisition means 120 acquires the difference using the distance from the update region. In the second embodiment, the difference is calculated based on the amount of change in the update element. In this embodiment, the amount of change refers to the magnitude of the change in position accompanying the update of the key frame to be updated that is included in the key frame group update information. The greater the change in the key frame position, the greater the amount of change in the sensor position and orientation to be calculated. Therefore, a configuration will be described in which a larger difference is calculated as the amount of change in the key frame position is greater.
[0073] The configuration of the device in the second embodiment differs from that of the information processing device 1 described in the first embodiment in that a difference acquisition unit 120 inputs map information from a map storage unit 14. The hardware configuration is the same as that of the first embodiment, as shown in FIG. 3.
[0074] 2 showing the processing procedure of the information processing device 1 described in the first embodiment, the description of which will be omitted. The details of the process of calculating the difference S120 are different from those of the first embodiment.
[0075] In the update method determination S130, the amount of change in the position of the key frame to be updated, which is included in the key frame update information included in the key frame group update information, is calculated. In this embodiment, the magnitude of the change in position refers to the Euclidean distance between the coordinates of the key frame before the update and the coordinates of the key frame after the update. The maximum distance value calculated for each key frame to be updated, which is included in the key frame group update information, is output as a difference to the update method determination unit 130, and the process proceeds to S17.
[0076] <Effects> In the second embodiment, the map update method is calculated based on the amount of change in the update element. That is, if the change in the map update element is equal to or less than a predetermined value, the map is updated, and if the change in the map update element is equal to or more than a predetermined value, the map is not updated. This configuration prevents the amount of change in the position measurement value during the update from exceeding a predetermined value. This reduces sudden changes in the speed and direction of the moving object.
[0077] <Modification> In the second embodiment, the difference is calculated based on the Euclidean distance between the coordinates of the key frame before and after the map update. However, any calculation may be made based on the change in the update element of the map. That is, the change in the orientation of the key frame may be used. The change may also be the change in the three-dimensional position of the feature point. Furthermore, the change is not limited to the geometric change in the position or orientation of the map component, but may be any change in the map element used for position and orientation measurement. Specifically, when the feature point holds a feature amount such as SIFT or ORB, which uses a histogram of the gradient direction in a local area of a smoothed image as a feature amount, the difference may be the update amount of the feature amount. The update of the feature amount refers to a process of averaging or replacing the feature amount of the feature points, which are considered to be the same because the three-dimensional coordinates and feature amount are similar among the feature point information included in multiple key frame information, with a representative value. The update amount of the feature amount is calculated, for example, by the norm or cosine similarity value of the feature amount vector before and after the update of the ORB or SIFT. In addition to the Descriptor, when a patch of a small area of the feature point is smoothed and updated from multiple viewpoints, a total, average, maximum value, or other value of the change in luminance before and after the update of the patch may be used.
[0078] Furthermore, the amount of change may be the ratio of changed map indices among those used by the position and orientation estimation device 16 for estimating the position and orientation of the sensor. For example, the amount of change may be the ratio of feature points whose three-dimensional positions move by a predetermined distance or more before and after map update among those used for position and orientation estimation. Furthermore, not only a change in position but also an increase or decrease in map elements may be used as the amount of change. That is, an increase or decrease in the number of feature points used for position and orientation estimation may be used. Furthermore, an increase or decrease in the number of reference key frames or the ratio thereof may be used.
[0079] When LiDAR is used as the sensor 10, it is possible to calculate which grid a specific grid element of the occupancy grid map will move to due to map update, and use the Euclidean values of the two grids before and after the update as the difference. Furthermore, the amount of change in the value of each grid in the occupancy grid map due to map update may be used as the difference value. The value of each grid here refers to a probability value of 0 to 1 that indicates whether an object exists or not in the occupancy grid map. In other words, the difference may be the change in the probability value of a specific grid before and after the map update.
[0080] <Embodiment 3> In the second embodiment, the difference is calculated based on the amount of change in the map elements accompanying the update. In the third embodiment, the difference is calculated based on the amount of change in the position and orientation of the sensor 10 calculated by the position and orientation estimation unit 13 before and after the map update, rather than on the map elements. In other words, a method of calculating the difference so that it increases as the amount of change in the calculated position and orientation increases with the map update will be described.
[0081] The device configuration and processing steps in the third embodiment are omitted because they are the same as those in Fig. 1 showing the configuration of the information processing device 1 described in the first embodiment. Also, the hardware configuration is the same as that in the first embodiment as shown in Fig. 3. What differs from the embodiment is the processing steps in which the difference acquisition means 120 calculates the difference.
[0082] 2 showing the processing procedure of the information processing device 1 described in the first embodiment, the description thereof will be omitted. The difference from the first embodiment is that in difference acquisition S120, the difference acquisition unit 120 estimates the position and orientation of the sensor 10 calculated by the position and orientation estimation unit 13 after the map is updated.
[0083] 5 is a diagram showing details of the process S120 of the difference acquisition unit 120 in the present embodiment 3. In S1210, the difference acquisition unit 120 selects map elements around the sensor 10. In this embodiment, based on the position and orientation calculated by the position and orientation estimation unit 13, a predetermined number of pieces of key frame information that are within a predetermined distance from the sensor 10 are selected from among the key frames held by the map holding means 110, and the process proceeds to S1320. The selected key frame information is called neighboring key frame information in this embodiment.
[0084] In S1220, the difference acquisition unit 120 selects key frame information that matches the ID included in each key frame information of the neighboring key frame information from the key frame update information of the key frame group update information input by the update information input unit 110. Next, the process proceeds to S1220. The selected key frame update information is called neighboring key frame update information.
[0085] In S1230, the difference acquisition means 130 calculates the position and orientation of the sensor 10, i.e., the camera after the map update (hereinafter referred to as the updated position and orientation) using the neighborhood keyframe update information acquired in S1220 and the image input by the sensor 10. The updated position and orientation is calculated by the method described in S13, except that the update information is used instead of the map information. After the updated position and orientation is calculated, the process proceeds to S1240.
[0086] In S1240, the difference acquisition means 130 calculates the distance between the updated position and orientation calculated in S1230 and the position and orientation of the sensor calculated by the position calculation unit 13. The distance between the position and orientation here refers to the Euclidean distance between the coordinates of the sensor 10 calculated in S1230 and the coordinates of the sensor 10 calculated by the position and orientation estimation unit 13. The reciprocal of the Euclidean distance thus calculated is taken as the difference, and the process proceeds to S130.
[0087] <Effects> In the third embodiment, the sensor position and orientation are calculated using map update factors, and the difference calculated increases as the amount of change in the sensor position and orientation before and after the update increases. This reduces sudden changes in speed and direction of a moving object.
[0088] <Modification> In this embodiment, the position and orientation of the sensor after the map update is calculated using the update information. However, the method is not limited to the above as long as it is a method capable of estimating the amount of change in the position and orientation of the sensor before and after the map update. For example, instead of using the vicinity keyframe information around the sensor, the map elements used when the position and orientation estimation unit 13 calculated the position and orientation of the sensor 10 may be used. That is, the feature points calculated by the position and orientation estimation unit 13 are identified. The difference acquisition unit 120 may estimate the updated position and orientation based on the update values of the feature point information that coincide with the identified feature points included in the update information.
[0089] In this embodiment, the position and orientation of the sensor is calculated using the update information. It is also possible to estimate the change in the position and orientation of the sensor from the change in the surrounding map elements without estimating the position and orientation. Specifically, a rigid transformation is obtained so that the distance between the coordinates of the feature points before and after the update is minimized, and this is regarded as the change in the position and orientation of the sensor. Alternatively, a rigid transformation may be obtained so that the distance between the coordinates of the key frame before and after the update is minimized.
[0090] The inverse of the distance between the coordinates of the sensor before and after the update is used to calculate the difference, but any setting method that decreases the difference value as the distance increases may be used. An inverse cotangent function may be used, an exponential function with the negative value of the distance as the base may be used, or a function obtained by substituting the distance value into a sigmoid function, multiplying it by -1, and adding 1 may be used.
[0091] <Embodiment 4> In the third embodiment, the difference is calculated based on the amount of change in the position and orientation of the sensor calculated before and after the map update. In the fourth embodiment, the difference is calculated based on the amount of change in the control value of the moving object calculated before and after the map update. Specifically, a method of calculating that there is a large impact when the orientation of the moving object changes significantly due to the map update will be described.
[0092] The configuration of the device and the diagram of the processing steps in the fourth embodiment are omitted because they are the same as those in Fig. 1 showing the configuration of the information processing device 1 described in the first embodiment. The difference from the first embodiment is the processing step in which the difference acquisition unit 120 calculates the difference.
[0093] The overall processing procedure in the fourth embodiment is the same as that in Fig. 2 showing the processing procedure of the information processing device 1 described in the first embodiment, and therefore the description will be omitted. Unlike the first embodiment, in difference acquisition S120, the difference acquisition means 120 not only estimates the position and orientation of the sensor calculated by the position and orientation estimation unit 13 after the map update, but also estimates the control value calculated by the control value determination unit 17 after the map update. Also, the amount of change in the control value before and after the map update is calculated.
[0094] 6 is a diagram showing details of the process of the difference acquisition means 120 in the fourth embodiment. Steps S1210 to S1230 are the same as the process procedure described in the third embodiment. The difference from the third embodiment is that in step S1310, a control value after the map update and a change in the control value before and after the map update are calculated based on the position and orientation of the sensor calculated after the update in step S1230. In this embodiment, the control value refers to the rotation speed of each of the left and right tires of the two operating tires, and the change in the control value refers to the difference in the rotation speed of each tire before and after the map update.
[0095] In S1310, the amount of change in the control value before and after the map update is calculated. First, the control value is calculated based on the position and orientation of the sensor after the map update calculated by the difference acquisition means 130 in S1330. The control value is calculated using the DWA method that reduces the Euclidean distance between the coordinates of the sensor after the map update and the target position of the moving body. In this embodiment, the target position of the moving body is input to the difference acquisition means by an input means (not shown). Next, the difference between the calculated control value after the map update and the control value calculated by the control value determination unit 17 is calculated. In this embodiment, the control value is the rotation speed of the two operating tires. The average value of the difference between the rotation speeds of the two operating tires before and after the map update is calculated as the difference.
[0096] <Effects> In the fourth embodiment, the greater the change in the control value of the moving object calculated before and after the map update, the greater the difference calculated, which reduces sudden changes in the speed and direction of the moving object.
[0097] <Modification> In the fourth embodiment, the difference was the average value of the rotation speed of the two operational tires before and after the map update, but any value that reduces the difference in the control value before and after the map update may be used. If two operational tires are used as in this embodiment, the larger difference in the rotation speed before and after the map update may be used as the difference. The smaller value may also be used as the difference. The difference may also be a weighted difference in the rotation speed that is weighted by a predetermined weight. Also, in this embodiment, the control unit is described for two operational tires, but the form of the control unit is not limited as long as it can be calculated as a difference that increases as the difference in the control value associated with the map update increases.
[0098] In the fourth embodiment, DWA is used to calculate the control values. Any method may be used as long as it is a method capable of calculating control values that can be compared before and after map update, not limited to DWA. A graph search approach may be used, which is a method of calculating variations of control values at multiple future times, instead of a certain time, calculating the position and attitude (predicted trajectory) at the multiple times, and selecting a control value that follows the predicted trajectory. In addition, a certain area without obstacles is randomly sampled from a two-dimensional space from the current position. Any method may be used, such as a randomized approach that randomly samples the surrounding space using the point as a node and selects a predicted trajectory generated by repeating the above.
[0099] In the fourth embodiment, the control values are directly calculated and compared, but the difference may be the amount of change in the elements for calculating the control values, without calculating the control values. Specifically, it is the amount of change in the relative target position. The amount of change in the relative target position here is the Euclidean distance between the coordinates of the target position relative to the position and orientation of the sensor 10 before the map update and the coordinates of the target position relative to the position and orientation of the sensor 10 before the map update. The calculated Euclidean distance is used as the difference value. It is not limited to the Euclidean distance, and any other value may be used, such as the azimuth difference of the target position as seen from the sensor 10 before and after the map update, or the norm of the difference vector of two target positions.
[0100] <Embodiment 5> In the first to fourth embodiments, the difference is calculated based on the internal state of the information processing system, such as the change in the position and orientation of the sensor and the control value of the moving object accompanying the map update. In the fifth embodiment, the difference is calculated according to the situation around the moving object. In this embodiment, the situation around the moving object means the arrangement of surrounding objects. A method for realizing a configuration in which the map is not updated if the moving object is close to an object, and the map is updated when the moving object is far away from the object will be described.
[0101] The diagram of the device configuration and processing steps in the fifth embodiment is omitted because it is the same as Fig. 2 showing the configuration of the information processing device 1 described in the first embodiment. What differs from the first embodiment is the processing content of the processing step in which the difference acquisition means 130 calculates the difference. The hardware configuration uses the configuration shown in Fig. 3, similar to the first embodiment.
[0102] The overall processing procedure in the fifth embodiment is the same as that in Fig. 4 showing the processing procedure of the information processing device 1 described in the first embodiment, and therefore the description will be omitted. The difference from the first embodiment is that in difference acquisition S130, the difference acquisition means 130 calculates the difference based on the distance value between the feature point and the sensor as the surrounding situation of the moving object.
[0103] In S130, the difference acquisition unit 120 calculates the Euclidean distance between the three-dimensional position of each feature point included in all key frame information included in the map information held by the map holding unit 14 and the position calculated by the position and orientation estimation unit 130. Of the calculated individual Euclidean distances, the reciprocal of the smallest value is calculated as the difference.
[0104] <Effects> In the fifth embodiment, the difference is calculated according to the surrounding situation, i.e., the distance to the surrounding objects. In other words, the closer the distance to the surrounding objects, the larger the difference value is. In this way, the closer the distance between the moving body and the surrounding objects, the less sudden changes in speed and direction occur.
[0105] <Variation 1> In this embodiment, the surrounding state refers to the arrangement of surrounding objects, and the difference is calculated based on the distance between the sensor and the feature point. However, any method that can measure the distance between the sensor and surrounding objects may be used.
[0106] For example, when the sensor 15 is configured as a depth camera or a stereo camera capable of acquiring depth values, the depth values acquired from these cameras may be used as the distances to surrounding objects.
[0107] In addition, the depth value obtained using a Convolutional Neural Network (CNN) trained to input an image and estimate a depth map (a data structure that stores a depth value for each pixel in the image) may be used as the distance to surrounding objects.
[0108] If the sensor 15 is a LiDAR, the distances to surrounding measurement points may be used as the distances to surrounding objects.
[0109] If the moving object is configured to carry a distance sensor such as an infrared sensor or an ultrasonic sensor, the measurement value thereof may be used as the distance to the surrounding objects.
[0110] Even if the moving body is not equipped with a distance sensor, the distance between the moving body and surrounding objects may be measured using a sensor mounted on an object other than the moving body, such as a security camera or a proximity sensor. If a layout diagram of the surroundings of the moving body is held in a holding means (not shown), the distance between the moving body and surrounding objects may be calculated from the position and orientation of the sensor calculated by the position and orientation estimation unit 13 and the layout diagram.
[0111] In this embodiment, the distance between the sensor and the surrounding object is used to obtain the difference. Since the moving body has a volume in a certain space, a shape model of the moving body may be stored, and the shortest distance from the surface of the moving body to the object may be used as the distance value in this embodiment. In this way, the distance between the moving body and the surrounding object can be measured more accurately, and the difference can be calculated more accurately, so that the moving body can be operated more safely and stably.
[0112] The inverse of the minimum distance between the sensor and each surrounding feature point was used to calculate the difference, but any setting method may be used as long as the difference value decreases as the distance increases. An inverse cotangent function may be used, or an exponential function with the negative value of the distance as the base may be used, or a function obtained by substituting the distance value into a sigmoid function, multiplying it by -1, and adding 1 may be used. Furthermore, the minimum distance between the sensor and each surrounding feature point was used to calculate the difference, but the average or median of the distance between the sensor and feature points within a specified distance may also be used.
[0113] <Variation 2> In this embodiment, the difference is calculated according to the distance to the object, but the attribute of the object may be used as the surrounding situation. When a camera is used as the sensor 15, the object may be detected using a CNN that has learned to determine the type of object in advance from the image of the camera, and the difference may be calculated according to the type and number of objects. For example, if there is a person or another moving object nearby, the difference may be increased. By increasing the difference, the risk of the moving object suddenly changing its direction or speed due to the map update is suppressed. The more people and other moving objects there are, the greater the difference may be increased. Furthermore, the difference may be increased near doors and stairs. The difference may be increased by recognizing a fragile object. The difference may be increased as the weight of the surrounding object increases, or conversely, depending on the application, a difference that increases as the weight decreases may be calculated. In addition, the difference may be increased as the moving speed of the surrounding object increases. Note that any measurement method may be used as long as the moving speed of the surrounding object can be known. The change in the position of the surrounding moving object may be measured from a time-series image, or if the surrounding moving object is another moving object, the moving speed of the other moving object may be received from a moving object management system (not shown).
[0114] By doing this, when there are people, other moving objects, doors, stairs, expensive objects, etc. nearby, and when the speed of surrounding moving objects is high, sudden changes in the speed and direction of the moving object due to map updates are less likely to occur, making it possible to operate the moving object more safely and stably.
[0115] <Variation 3> The difference may be calculated using location information so that the difference is increased at locations where the speed or direction of the moving object is not desired to change suddenly as the surrounding conditions. Specifically, for example, the difference may be increased at corners or intersections. Also, the difference may be increased if a specific object such as a door or an automatic machine is registered on the map or the travel route. Also, the difference may be increased if the route is narrow. Furthermore, the difference may be increased if the moving object is traveling on a route where other moving objects may travel nearby based on the travel route.
[0116] Such location information may be obtained by detecting the area from the map or route information stored in the map storage means, or may be input from a mobile management system (not shown) via the communication I / F (H17).
[0117] Also, if the sensor 10 is located in a specific set area, such as an intrusion detection area or a map update prohibited area, that is set in advance by a person using an input means (not shown), the difference may be increased.
[0118] <Embodiment 6> In the fifth embodiment, the difference is calculated based on object information around the moving object, i.e., the distance to the object. In the sixth embodiment, the difference is calculated based on the state of the moving object. In this embodiment, the state of the moving object refers to the mass of the moving object. As the mass of the moving object increases, the kinetic energy associated with a sudden change in speed or direction of the moving object increases. In such a case, a configuration will be described in which a larger difference is calculated as the mass of the moving object increases.
[0119] The diagram of the device configuration and processing steps in the sixth embodiment is omitted because it is the same as Fig. 1 showing the configuration of the information processing device 1 described in the first embodiment. What differs from the embodiment is the processing step in which the difference acquisition means 120 calculates the difference. The hardware configuration uses the configuration shown in Fig. 3, similar to the first embodiment.
[0120] The overall processing procedure in the sixth embodiment is the same as that in Fig. 2 showing the processing procedure of the information processing device 1 described in the first embodiment, and therefore the description will be omitted. The difference between the sixth embodiment and the first embodiment is that in difference acquisition S120, the difference acquisition means 120 calculates the difference based on the state of the moving object.
[0121] In S120, the difference acquisition means 120 acquires mass information of the moving object stored in a storage means (not shown). In this embodiment, the mass of the moving object is used as the difference value.
[0122] <Effects> In the sixth embodiment, the difference is increased as the state of the moving body, i.e., the mass of the moving body, increases. In this way, the larger the mass of the moving body is, the less abrupt changes in speed and direction of the moving body that occur with map updates.
[0123] <Variation 1> In this embodiment, the difference is calculated based on the mass of the moving body as the state of the moving body. However, any method may be used as long as the method calculates a larger difference as the kinetic energy or potential energy of the moving body increases.
[0124] When a moving body transports an object, the mass of the moving body may include the transported object. The method of inputting the mass of the transported object does not matter, and it may be obtained from a moving body management system (not shown) via a communication I / F (H17), may be input by a user via a GUI (not shown), or may be configured such that the measured value of a weight measuring device (not shown) mounted on the moving body is input via an I / O.
[0125] In other words, the greater the moving speed or angular velocity of the moving object, the greater the difference that can be calculated. Also, if the moving object is a drone that is floating in the air, the greater the difference that can be calculated as the altitude increases.
[0126] The status of the mobile body may be determined according to the priority or importance of the tasks of the mobile body. For example, the status of the mobile body may be information on the operation of the mobile body, such as moving, stopped, carrying luggage, charging, and loading luggage. The difference value based on the operation information is input in advance by the user using an input means (not shown). In this way, it becomes possible to update the map according to the operation state of the mobile body, for example, not updating the map while carrying luggage, and updating the map when position measurement is not being used, such as when stopped or charging.
[0127] The difference may be calculated based on the attributes of the moving body as the state of the moving body. For example, the higher the rigidity of the moving body, the higher the difference may be calculated. Also, the longer the braking distance of the moving body, the higher the difference may be calculated. The smaller the detection distance setting parameter of the obstacle sensor, the higher the difference may be calculated. The price of the moving body itself may be used as the attribute of the moving body.
[0128] Also, the difference may be calculated based on the attributes of the transported goods carried as the status of the moving body. For example, the difference acquisition means 120 may acquire the price of the transported goods from a moving body management system (not shown), and the higher the price, the higher the difference calculated. Also, the higher the rigidity of the transported goods or the heavier the goods, the higher the difference calculated. Also, the higher the number of transported goods, the higher the difference calculated, or if the goods are not stacked stably, the higher the difference calculated. Stably stacked means, for example, that the inclination of the goods is small, and is determined by photographing the goods with a camera (not shown) and measuring the inclination of the goods. In this way, it is possible to reduce sudden changes in the speed and direction of the moving body accompanying map updates according to the attributes of the transported goods.
[0129] <Variation 2> Furthermore, the differences described in the first to sixth embodiments may be combined, and the difference acquisition means 12 may calculate a composite difference. The composite difference may be combined in any manner as long as the composite difference increases as the change in the position and attitude of the sensor and the control value of the moving body, i.e., the moving body, calculated before and after the map update increases. As described in the fifth and sixth embodiments, any method may be used as long as it can reduce the sudden change in the speed and orientation of the moving body caused by the map update based on the state of the moving body and the attributes of the surrounding objects. That is, the composite difference may be a weighted sum or a weighted product of the various differences calculated by the methods described in the first to sixth embodiments. Furthermore, the composite difference may be calculated by combining only the methods of specific embodiments. The update method determination means 14 may use the composite difference to determine the update method. In this way, the map can be updated to satisfy the various conditions described in the first to sixth embodiments, and the moving body, i.e., the moving body, can be operated more safely and stably.
[0130] <Embodiment 7> In the first to sixth embodiments, examples in which the present invention is applied to a moving body have been described. The present invention is not limited to being mounted on a moving body, but can be applied to all configurations in which position and orientation can be estimated based on sensors and map information, and a map can be updated. In this embodiment, as one of the application examples, the processing device of the present invention is mounted on a device that realizes MR (Mixed Reality), AR (Augmented Reality), or VR (Virtual Reality). The device is, for example, a head mounted display (HMD), a smartphone, or a tablet. A configuration for use in an information processing device mounted on such a device and used to calculate the presentation position of CG will be described.
[0131] 7 is a diagram showing an example of a hardware configuration when the information processing device 1 in this embodiment is applied to an MR system. It is composed of a sensor 10, a display device 20, a sensor information input unit 12, a position and orientation estimation unit 13, a map storage unit 14, an update information generation unit 15, a map update unit 16, and a display information generation unit 21. The information processing device 1 further comprises an update information input unit 110, a difference acquisition unit 120, and an update method determination unit 130.
[0132] The sensor 10, sensor information input unit 12, position and orientation estimation unit 13, map storage unit 14, update information generation unit 15, map update unit 16, update information input unit 110, difference acquisition unit 120, and update method determination unit 130 have the same configuration as those described in the first embodiment, and therefore their description will be omitted. The difference from the first embodiment is that a display device 20 and an image construction unit 21 are added.
[0133] The display information generation unit 21 renders a CG image of a virtual object using the position and orientation input by the position and orientation estimation unit 13 and the internal and external parameters of the camera held by a holding unit (not shown), and generates a composite image by superimposing the CG on the input image input by the sensor information input unit 12. The display information generation unit 21 also outputs the composite image to the display unit 13.
[0134] The display device 20 is a display of a mobile terminal, and displays the composite image generated by the display information generating unit 21 .
[0135] The processing procedure in the seventh embodiment is the same as that in Fig. 2 showing the processing procedure of the information processing device 1 described in the first embodiment, and therefore the description will be omitted. Unlike the first embodiment, a display information generating step is performed instead of the control value determination S14.
[0136] In the display information generation step, the display information generation unit 21 renders a CG image of the virtual object using the position and orientation of the sensor 10 derived by the position and orientation estimation unit 13 in S13, generates a composite image by superimposing it on the input image, and inputs it to the display device 20 for presentation.
[0137] <Effects> In the seventh embodiment, the map is updated so that the change in position and orientation calculated before and after the map update is small, thereby reducing the sudden change in position and orientation caused by the map update in the vicinity of the space where the user is using MR, AR, or VR. This makes it possible to present small CG shifts and CG jumps that are difficult for the user to notice, improving the user's MR, AR, and VR experience.
[0138] In this embodiment, the method for calculating the difference has been described in the first embodiment, but the difference in this embodiment can be calculated by any method described in the first to sixth embodiments as long as the method reduces the sudden change in position and orientation due to map update. The amount of change in the update element may be used as in the second embodiment. The difference may be calculated based on the amount of change in the position and orientation of the sensor calculated before and after the map update as in the third embodiment. In this embodiment, the control value as in the fourth embodiment is not calculated, but the target position can be read as the presentation position of the CG and the difference can be calculated so that the position of the CG does not change. In addition, the difference may be calculated according to the distance to the surrounding objects as in the fifth embodiment. The difference may be calculated based on the state of the MR system, that is, the moving speed of the MR system, whether or not CG is being presented as the operating state, and the weight of the MR system as in the sixth embodiment.
[0139] Furthermore, the difference may be calculated based on attributes such as the type and size of the CG content. That is, an attribute that makes it easier for the user to notice CG blur is calculated as the difference. For example, the larger the size of the CG, the higher the difference may be calculated. The higher the contrast, the higher the difference may be calculated. The closer the CG is to the center of the field of view, the higher the difference may be calculated. Furthermore, in a configuration equipped with an eye tracking device (not shown), the smaller the eye movement, the higher the difference value may be. With such a configuration, the CG blur perceived by the user due to map updates is reduced, allowing the user to experience MR, AR, and VR more comfortably.
[0140] <Embodiment 8> In the first to seventh embodiments, the map update method is determined based on the difference between the calculated sensor position and orientation and the control value of the moving body associated with the map update. In the seventh embodiment, a method of controlling the moving body in advance so that the speed and direction of the moving body do not change suddenly associated with the map update will be described. The hardware configuration is the same as that in the first embodiment as shown in FIG. 3. Here, the moving body may be equipped with the hardware shown in FIG. 3. The moving body uses the results of measuring the surroundings with a sensor to control itself and update the map. Also, the hardware configuration example shown in FIG. 3 may be implemented in a higher-level system that controls the entire factory or a middle-level system that controls the moving body without installing the hardware in the moving body itself. In that case, the map information is updated while each moving body and the system exchange sensor information and map information through the communication I / F.
[0141] 8 is a diagram showing an example of a functional configuration of an information processing device 20 in this embodiment. The information processing system in this embodiment has a sensor 10, a control device 11, a sensor information input unit 12, a position and orientation estimation unit 13, a map storage unit 14, an update information input means 15, and a map update unit 16. In addition, the information processing device 2 is configured from an update information input unit 110, an update position and orientation estimation unit 210, and a control value determination unit 220. Of these, the sensor 10, the control device 11, the sensor information input unit 12, the position and orientation estimation unit 13, the map storage unit 14, the update information input means 15, the map update unit 16, and the update information input unit 110 are the same as those in the first embodiment, and therefore description thereof will be omitted.
[0142] The difference from the first embodiment is that the difference acquisition means 12 is removed, and an updated position and orientation estimation unit 210 and a control value determination unit 220 are newly added to the information processing device 2.
[0143] The updated position and attitude estimation unit 210 predicts the position and attitude of the sensor after the map is updated, calculated by the position and attitude estimation unit 13, based on the update information input by the update information input unit 110. That is, the updated position and attitude estimation unit 210 estimates a predicted position and attitude (second position and attitude) of the moving object, which is estimated based on the acquired new feature points. The calculated predicted position and attitude is output to the control value determination unit 220.
[0144] The control value determination unit 220 calculates a control value so as to reduce the difference between the position and orientation calculated by the position and orientation estimation unit 13 and the predicted position and orientation calculated by the updated position and orientation estimation unit 210. The calculated control value is output to the control device 11.
[0145] 9 is a flowchart showing the processing procedure of the information processing device 2 in this embodiment. The processing steps include initialization S11, sensor information input S12, position and orientation estimation S13, map update decision S15, update information generation S15, map update S16, end decision S17, update information input S110, update position and orientation estimation S210, and control value determination S220.
[0146] The initialization S11, the sensor information input S12, the position and orientation estimation S13, the map update decision S15, the update information generation S15, the map update S16, the end decision S17, and the update information input S110 are the same as those in the first embodiment, so the description thereof will be omitted.
[0147] In the updated position and orientation estimation S210, the updated position and orientation estimation unit 210 estimates the position and orientation calculated by the position and orientation estimation unit 13 after the map update as a predicted position and orientation based on the update information input by the update information input unit 110. Specifically, a feature point within a predetermined distance from the sensor is selected from the feature point information held by each key frame update information in the key frame update information included in the update information, and a rigid transformation is obtained from the movement amount of the feature point before and after the map update. The rigid transformation is a transformation matrix that uniquely transforms a certain three-dimensional coordinate into another three-dimensional coordinate, and is a matrix of 4 rows and 4 columns in this embodiment. The rigid transformation in such a configuration is obtained so that the distance between the position of the feature point before and after the update is minimized. This is calculated as the change amount of the sensor position and orientation, and the predicted position and orientation are obtained by multiplying it by the sensor position and orientation before the map update.
[0148] In the control value determination S220, a control value is calculated to control the moving body so as to achieve the predicted position and orientation estimated by the updated position and orientation estimation unit 210. Specifically, a control value is calculated to reduce the Euclidean distance between the predicted position and orientation and the position and orientation of the sensor 10 calculated by the position and orientation estimation unit 13, with the predicted position and orientation as a target. In this embodiment, the DWA method is used to calculate the control value.
[0149] <Effects> In the eighth embodiment, the position and orientation of the sensor to be calculated after the map is updated is predicted in advance based on the changes in elements accompanying the map update, and a control value for moving the moving body in advance to the predicted position and orientation is calculated. In this way, sudden changes in the speed and direction of the moving body are reduced.
[0150] <Modification> In the eighth embodiment, the position and orientation of the sensor after the map update is predicted based on the update amount of the map elements around the input position and orientation. As a method of calculating the position and orientation of the sensor after the map update, the position and orientation may be calculated using the update value of the map elements and the sensor information. Specifically, the updated position and orientation estimation unit 210 can calculate the position and orientation of the sensor after the map update in the same manner as the position and orientation estimation unit 13 calculates the position and orientation, using the image and key frame group update information included in the update information.
[0151] In the eighth embodiment, the control value is calculated so as to obtain the predicted position and orientation estimated by the updated position and orientation estimation unit 210. The control value to be calculated is not limited to this method as long as it can reduce abrupt changes in the speed and orientation of the moving body. For example, a control value may be calculated in advance so that only the orientation matches the predicted orientation, in order to prevent abrupt changes in the moving direction of the moving body. A control value may be calculated so as to decelerate the moving body when the position and orientation are predicted in the moving direction, and to accelerate the moving body when a change in the position and orientation in the opposite direction is predicted.
[0152] In the eighth embodiment, a control value is calculated to obtain the predicted position and orientation of the sensor after the map is updated. On the other hand, instead of the predicted position of the sensor, a predicted value of the control value associated with the map update may be calculated, and a control value may be calculated to reduce the difference between the control value before the map update and the predicted control value. Specifically, the control value is calculated based on the predicted position and orientation of the sensor after the map is updated, and the weighted average of the current control value is calculated. In this way, it is possible to reduce sudden changes in the control value.
[0153] In the eighth embodiment, the control value is calculated so as to obtain the position and attitude after the map update. Furthermore, the map update unit 16 may be configured to receive the progress of control from the moving body, and to wait for the execution of the map update until the position and attitude after the map update is obtained. In this way, the moving body can be operated more safely and stably by updating the map after the control of the moving body is completed and the influence of the change in the position and attitude due to the map update becomes small.
[0154] <Embodiment 9> In the eighth embodiment, the control value is calculated so that the moving object has the position and orientation after the map update. The control value can also be calculated based on the difference explained in the first to sixth embodiments. In this embodiment, a configuration is described in which the difference explained in the first embodiment is used to calculate a control value so that the moving object leaves a range where the difference accompanying the map update is larger than a predetermined value.
[0155] The configuration of the information processing device in this embodiment is the same as that in the eighth embodiment, and therefore a description thereof will be omitted. The hardware configuration is the same as that in the first embodiment, as shown in FIG. 3. What is different from the eighth embodiment is that the updated position and orientation estimation unit 210 shown in the eighth embodiment is replaced by the difference acquisition unit 120 described in the first embodiment, and the difference calculated by the difference acquisition unit 120 is input to the control value determination unit 220. A control value is calculated to move to a point where the difference becomes small. In addition, the difference acquisition unit receives travel route information stored in a storage unit (not shown). The travel route information is a list of coordinates leading to the destination.
[0156] The processing steps in this embodiment are the same as those in the processing steps in the eighth embodiment shown in Fig. 8, and therefore will not be described here. The differences from the eighth embodiment are that the updated position and orientation estimation step 210 is replaced by the difference acquisition step S120 described in the first embodiment, and the processing contents of the control value determination step S220.
[0157] In the control value determination S220 in this embodiment, the control value determination unit 220 calculates a control value for the moving body with a target position outside the map area where the difference calculated by the difference acquisition means 120 in difference acquisition S120 is greater than a predetermined value. The target position outside the map area is the first point outside the map area when the moving path information of the moving body is traced in order from the current position and orientation of the sensor. The control value for moving to the target position is calculated by the DWA method.
[0158] <Effects> In the ninth embodiment, the moving object is controlled so as to move out of the area where the change in the sensor position and orientation and the moving object control value caused by the map update calculated based on the difference is large. In this way, the sudden change in the speed and direction of the moving object is reduced.
[0159] <Modification> In the ninth embodiment, the difference acquisition S130 may use any of the difference calculation methods described in the first to sixth embodiments.
[0160] The control value determination unit may use any method to calculate a control value that reduces the difference. Specifically, for example, a control value that moves the moving body away from the update range, a control value that moves the moving body to a point where the amount of change in the map components is small, or a control value that moves the moving body to a point where the distance between the moving body and surrounding objects increases.
[0161] The method of searching for the point where the difference decreases as the target position may be arbitrary. The map area of the moving body may be divided into a grid, the difference may be calculated for each grid, and the grid with the lowest difference may be calculated as the target position. In this way, the map can be updated without moving too far. Alternatively, the moving body may randomly select a location on its planned travel route, and reselect the target point until a point with a difference lower than a predetermined value is selected. In this way, the map can be updated when the moving body reaches a predetermined target point without changing its route.
[0162] In the ninth embodiment, a control value for moving the moving body to a point where the difference is smaller than a predetermined value is calculated. However, the method is not limited to the above method as long as the method for calculating the control value does not cause the speed or direction of the moving body to change suddenly with map update. For example, when the moving body is located at a point where the difference is larger than a predetermined value, a control value may be calculated so that the maximum amount of change in the control value of the moving body is equal to or less than a predetermined value, or a control value may be calculated in advance so that the speed or angular velocity of the moving body is equal to or less than a predetermined value. A control value for stopping temporarily may be calculated. Also, a control value may be calculated so that the distance to surrounding objects increases.
[0163] In the ninth embodiment, the control value is calculated to move the moving object to a point where the difference is smaller than a predetermined value. On the other hand, a point where the map element used for position and orientation estimation has a smaller change amount than a predetermined amount may be obtained from the difference, and a control value may be calculated to move the moving object to that point.
[0164] The method of calculating such a point may be arbitrary. For example, the range that can be measured by a sensor at any point on the map may be calculated, and a point where the ratio of feature points in that range whose movement amount due to map update is greater than a predetermined value is less than a predetermined value may be calculated. A point where the ratio of key frames whose movement amount due to map update is greater than a predetermined value is less than a predetermined value may be calculated.
[0165] <Summary of effects> In the first embodiment, the change in the position measurement value during the update can be reduced by allowing the map update when the sensor, i.e., the moving object, leaves the update area. This reduces sudden changes in the speed and direction of the moving object.
[0166] In the second embodiment, the map update method is calculated based on the amount of change in the update element. That is, if the change in the map update element is equal to or less than a predetermined value, the map is updated, and if the change in the map update element is equal to or more than a predetermined value, the map is not updated. This configuration prevents the amount of change in the position measurement value during the update from exceeding a predetermined value. This reduces sudden changes in the speed and direction of the moving object.
[0167] In the third embodiment, the sensor position and orientation are calculated using map update factors, and the difference calculated increases as the amount of change in the sensor position and orientation before and after the update increases. This reduces sudden changes in speed and direction of a moving object.
[0168] In the fourth embodiment, the greater the change in the control value of the moving object calculated before and after the map update, the greater the difference calculated, which reduces sudden changes in the speed and direction of the moving object.
[0169] In the fifth embodiment, the difference is calculated according to the surrounding situation, i.e., the distance to the surrounding objects. In other words, the closer the distance to the surrounding objects, the larger the difference value is. In this way, the closer the distance between the moving body and the surrounding objects, the less sudden changes in speed and direction occur.
[0170] In the sixth embodiment, the difference is increased as the state of the moving body, i.e., the mass of the moving body, increases. In this way, the larger the mass of the moving body is, the less abrupt changes in speed and direction of the moving body that occur with map updates.
[0171] In the seventh embodiment, the map is updated so that the change in position and orientation calculated before and after the map update is small, thereby reducing the sudden change in position and orientation caused by the map update in the vicinity of the space where the user is using MR, AR, or VR. This makes it possible to present small CG shifts and CG jumps that are difficult for the user to notice, improving the user's MR, AR, and VR experience.
[0172] In the eighth embodiment, the position and orientation of the sensor to be calculated after the map is updated is predicted in advance based on the changes in elements accompanying the map update, and a control value for moving the moving body in advance to the predicted position and orientation is calculated. In this way, sudden changes in the speed and direction of the moving body are reduced.
[0173] In the ninth embodiment, the moving object is controlled so as to move out of the area where the change in the sensor position and orientation and the moving object control value caused by the map update calculated based on the difference is large. In this way, the sudden change in the speed and direction of the moving object is reduced.
[0174] <Summary of definitions> The update information input unit may be anything that inputs update information for map elements. For example, if the map element is a key frame or a feature point, the update values of the position and orientation of the key frame and the three-dimensional coordinates of the feature point may be input. Note that a key frame is the smallest unit of map element for calculating the position and orientation of a sensor. A feature point is an index required for estimating the position and orientation. If the map element is an Occupancy Grid Map (a map with a data structure in which passable areas and passable areas, i.e. areas with walls, etc., are plotted in a grid), the update values of the values held in each grid may be input.
[0175] The difference acquisition unit may be any unit that calculates a value that increases as the amount of change in the position and orientation of the sensor accompanying the map update increases.
[0176] For example, the calculation may be based on the update area of the map. That is, the larger the update area of the map is, and the closer the distance between the update area and the sensor is, the larger the calculated difference value may be. If the sensor is located in the update area, the calculation may be performed so that the difference value is larger than when the sensor is not located in the update area.
[0177] The calculation may be based on the amount of change in map update elements, i.e., the amount of movement of map elements due to map update, or the ratio of map elements used to calculate the position and orientation of the sensor that have a larger amount of change due to map update than a predetermined amount.
[0178] The difference value is increased as the amount of change in the position and orientation of the sensor calculated before and after the map update increases.
[0179] The greater the change in the control value for controlling the moving object that occurs with map update, the greater the difference that may be calculated.
[0180] The difference may be calculated based on the surrounding conditions of the sensor. That is, the closer the distance to the surrounding object, the larger the difference may be calculated. The difference may be calculated so that the difference increases as the type, size, number, moving speed, weight, or price of the surrounding object increases as a specific surrounding condition.
[0181] The difference may be calculated based on the state of the moving body on which the sensor is mounted. That is, the heavier the moving body or the object mounted thereon is, the higher the difference may be calculated. The less stable the stacking of the mounted objects is, the higher the difference may be calculated.
[0182] The update method determination unit may be any unit that calculates a value that does not update the map as the difference becomes larger. For example, the update method value may be a real number normalized between 0 and 1, and the smaller the difference value, the closer the update method is to 0, and the larger the difference value, the closer the update method is to 1. In this case, any method for normalizing the difference value may be used. That is, the inverse cotangent function of the difference value may be used, or an exponential function with the negative value of the difference value as the base may be used. A function obtained by substituting the difference value into a sigmoid function, multiplying it by -1, and adding 1 may be used.
[0183] The control value determination unit may use any calculation method as long as the method reduces the change in the position and orientation of the sensor accompanying the map update or the change in the control value accompanying the map update. For example, the control value may be calculated to control the moving body so as to obtain the position and orientation after the map update, or the control value may be calculated to approach the control value calculated after the map update. In addition, the control value may be calculated so as to reduce the difference calculated by the difference acquisition unit.
[0184] Among the above-mentioned processing units, the position and orientation estimation unit 13, the update information generation unit 15, etc. may use a trained model that has been machine-learned instead. In that case, for example, a plurality of combinations of input data and output data to the processing unit are prepared as training data, knowledge is acquired from them by machine learning, and a trained model that outputs output data for the input data as a result based on the acquired knowledge is generated. The trained model can be configured, for example, as a neural network model. The trained model performs the processing of the processing unit by operating in cooperation with a CPU or GPU as a program for performing the same processing as the processing unit. The trained model may be updated after a certain processing as necessary.
[0185] The present invention can also be realized by a process in which a program for implementing one or more of the functions of the above-described embodiments is supplied to a system or device via a network or a storage medium, and one or more processors in a computer of the system or device read and execute the program. The present invention can also be realized by a circuit (e.g., ASIC) that implements one or more of the functions. [Explanation of symbols]
[0186] 1. Information processing device 10 Sensors 11 Control device 12 Sensor information input section 13 Position and orientation estimation section 14 Map holder 15 Update information generation section 16 Map Update Division 17 Control value determination unit 110 Update information input section 120 Difference acquisition part 130 Update method determination section
Claims
1. an acquisition means for acquiring map information indicating positions of feature points previously measured in an environment in which the mobile object moves, and sensor information including feature points measured while the mobile object is moving in the environment; an update means for updating the map information based on the sensor information; a first estimation means for estimating a first position of the moving object based on feature points registered in the map information and feature points included in the sensor information; a second estimation means for estimating a second position of the moving object based on positions of feature points included in the map information after the update by the update means and feature points included in the sensor information; a control means for calculating a control value of the moving body so as to reduce a difference between the first position and the second position; 13. An information processing device comprising:
2. 2. The information processing apparatus according to claim 1, wherein the control means decelerates or stops the moving body when the difference between the first and second positions is greater than a threshold value.
3. 2 . The information processing apparatus according to claim 1 , wherein, when a difference between the first and second positions is greater than a threshold value, the control means moves the object to a position where a magnitude of change between the first and second positions is smaller than the threshold value.
4. 2 . The information processing apparatus according to claim 1 , wherein the control means reduces at least one of the velocity, acceleration, angular velocity, and angular acceleration of the moving object when the difference between the first and second positions is greater than a threshold value.
5. A program for causing a computer to function as each of the means included in the information processing device according to any one of claims 1 to 4.
6. an acquisition step of acquiring map information indicating positions of feature points previously measured in an environment in which the mobile object moves, and sensor information including feature points measured while the mobile object is moving in the environment; an updating step of updating the map information based on the sensor information; a first estimation step of estimating a first position of the moving object based on feature points registered in the map information and feature points included in the sensor information; a second estimation step of estimating a second position of the moving object based on positions of feature points included in the map information after the update step and feature points included in the sensor information; a control step of calculating a control value of the moving object so that a difference between the first position and the second position is reduced; 2. An information processing method executed by an information processing device, comprising:
Citation Information
Patent Citations
Plasticcmade clip
JP1979044952A
Position estimation device, program and position estimation method
JP2017134617A
Information processing device, data managing device, data managing system, method, and program
JP2018124787A
Moving body and jig
JP2019109775A
Localization and Mapping Using Physical Features
US20160271795A1
