WO2021168678A1 - Path planning method, tracking device, storage medium, and computer program product - Google Patents

Path planning method, tracking device, storage medium, and computer program product Download PDF

Info

Publication number
WO2021168678A1
WO2021168678A1 PCT/CN2020/076729 CN2020076729W WO2021168678A1 WO 2021168678 A1 WO2021168678 A1 WO 2021168678A1 CN 2020076729 W CN2020076729 W CN 2020076729W WO 2021168678 A1 WO2021168678 A1 WO 2021168678A1
Authority
WO
WIPO (PCT)
Prior art keywords
obstacle
target
tracking
cost
tracking device
Prior art date
Application number
PCT/CN2020/076729
Other languages
French (fr)
Chinese (zh)
Inventor
郭晓东
吴博
Original Assignee
深圳市大疆创新科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳市大疆创新科技有限公司 filed Critical 深圳市大疆创新科技有限公司
Priority to CN202080004124.0A priority Critical patent/CN112513766A/en
Priority to PCT/CN2020/076729 priority patent/WO2021168678A1/en
Publication of WO2021168678A1 publication Critical patent/WO2021168678A1/en

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D1/00Control of position, course or altitude of land, water, air, or space vehicles, e.g. automatic pilot
    • G05D1/12Target-seeking control
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C21/00Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
    • G01C21/20Instruments for performing navigational calculations
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D1/00Control of position, course or altitude of land, water, air, or space vehicles, e.g. automatic pilot
    • G05D1/0094Control of position, course or altitude of land, water, air, or space vehicles, e.g. automatic pilot involving pointing a payload, e.g. camera, weapon, sensor, towards a fixed or moving target

Definitions

  • This application relates to the field of path planning, and more specifically, to a method, tracking device, storage medium, and computer program product for path planning.
  • drones can be used to intelligently follow targets such as people, cars, and boats to monitor the status of the target; another example, underwater robots can be used to track and camera fish to learn about the habits of the fish.
  • the present application provides a path planning method, tracking device, computer readable storage medium, and computer program product, which can improve the success rate of target tracking by the tracking device.
  • a method for path planning includes: obtaining movement information of a target and the position of an obstacle in an environment in which the target is located, wherein the movement information is obtained based on a visual sensor of a tracking device; The motion information of the target and the position of the obstacle are planned, and the tracking path of the tracking device to the target is planned, so that when the tracking device moves along the tracking path, the target is kept in the visual field. Within the observation range of the sensor.
  • a tracking device including: a memory for storing a program; and a processor for executing the method as described in the first aspect.
  • a tracking device which includes a module for executing the method described in the first aspect.
  • a machine-readable storage medium on which instructions for executing the method described in the first aspect are stored.
  • a computer program product including instructions for executing the method as described in the first aspect.
  • the present application can keep the target within the observation range of the visual sensor when the tracking device moves along the tracking path, thereby helping to improve the tracking success rate of the tracking device.
  • FIG. 1 is a schematic flowchart of a path planning method provided by an embodiment of the present application.
  • FIG. 2 is a flowchart of a possible implementation manner of step S120 in FIG. 1.
  • FIG. 3 is a schematic flowchart of a specific implementation manner of the embodiment in FIG. 2.
  • FIG. 4 is a schematic flowchart of another specific implementation manner of the embodiment in FIG. 2.
  • Fig. 5 is a structural diagram of a tracking device provided by an embodiment of the present application.
  • Fig. 6 is a structural diagram of a tracking device provided by another embodiment of the present application.
  • the problem of tracking failure (that is, the tracking target is lost) is prone to occur.
  • the problem mainly exists: when the related technology is planning the tracking path, the main concern is whether the tracking device may collide with the obstacle when the tracking device moves along the tracking path, but ignores the tracking device’s impact on the target.
  • the observation line of sight may be blocked by obstacles.
  • the tracking path planning results in the tracking device's observing sight of the target being blocked by obstacles, it may cause the tracking device to fail to observe or recognize the target, resulting in tracking failure.
  • the tracking function can be divided into three functional modules: machine learning module, target estimation module, and tracking planning module.
  • the machine learning module can use the images collected by the camera to identify the target.
  • the target estimation module can use the output result of the machine learning module and the current observation information of the drone to estimate the movement information of the target (such as the position and/or speed of the target) online.
  • the tracking planning module can use the estimated position and/or speed of the target to plan the tracking path of the tracking device.
  • the UAV can use the flight control system to control the UAV to move along the tracking path to keep the UAV tracking the target.
  • the above implementation may use the UAV's obstacle avoidance function to avoid obstacles that may collide with the UAV, but the above implementation does not consider whether the UAV's observation line of sight to the target will be obstructed.
  • Object occlusion leading to the realization of this tracking technology is very easy to lose the tracking target in a scene with many obstacles.
  • the embodiment of the present application provides a path planning method to improve the tracking success rate of the tracking device.
  • the embodiments of the present application will be described in detail below with reference to the accompanying drawings.
  • FIG. 1 is a schematic flowchart of a path planning method provided by an embodiment of the present application. The method in Figure 1 can be executed by a tracking device.
  • the tracking device may be any device capable of tracking a target through machine vision.
  • the tracking device may be a movable platform.
  • the movable platform may be, for example, one of the following equipment: drones, unmanned vehicles, underwater robots or walking robots.
  • the method in FIG. 1 may include step S110 and step S120. These steps are described in detail below.
  • step S110 the motion information of the target and the position of the obstacle in the environment where the target is located are acquired, wherein the motion information is acquired based on the visual sensor of the tracking device.
  • the vision sensor can be a monocular/binocular or a multi-eye vision sensor.
  • the visual perception spectrum is not limited to the visible spectrum, it can also be an infrared spectrum, or even a combination of multiple spectra.
  • step S120 plan the tracking path of the tracking device to the target according to the movement information of the target and the position of the obstacle, so that when the tracking device moves along the tracking path, the target is kept within the observation range of the vision sensor .
  • the present application can keep the target within the observation range of the vision sensor when the tracking device moves along the tracking path, thereby facilitating the vision sensor to obtain the movement information of the target and further improving the tracking success of the tracking device Rate.
  • the tracking path planned in the embodiment of the present application keeps the obstacle away from the observation line of sight of the tracked target by the tracking device.
  • the motion information of the target may include one or more of the following information: historical motion information of the target, current motion information of the target, and future motion information of the target.
  • the future motion information of the target can be obtained through prediction. For example, it is possible to estimate the movement trend of the target according to the historical movement information of the target and/or the current movement information, so as to determine the position and/or speed of the target at a certain time in the future.
  • the embodiments of this application do not specifically limit the content of the target's motion information.
  • the target's motion information may include one or more of the following: position information, speed information, acceleration information, and orientation information , Posture information.
  • the tracking device may be provided with a target estimation module as shown in FIG. 5, and the motion information of the target may be completed by the target estimation module.
  • the obstacles in the environment where the target is located may include obstacles around the tracking device and/or obstacles around the target.
  • the tracking equipment and/or obstacles within the preset range of the target's forward direction can be considered to plan the tracking path in advance; when the target is simple, In an environment with fewer obstacles, only the obstacles in the forward direction that are closest to the tracking device and/or the target can be considered, so as to plan the current tracking path.
  • the location of the obstacle can be found in the map data.
  • the tracking device uses machine vision to sense the environment, continuously reconstructs a 3D map of the surrounding environment, and uses the 3D map to locate obstacles.
  • the location of the obstacle may also be acquired based on the sensor of the tracking device.
  • the radar or depth camera on the tracking device can be used to detect surrounding objects to obtain the location of obstacles.
  • the planning module relies on the map module to judge the obstacles around the drone.
  • UAVs use depth sensors (such as binocular systems) to build the surrounding environment. Through the local map, you can query whether a coordinate point is occupied by an obstacle, or you can query a coordinate point and the distance to the nearest obstacle.
  • the method of FIG. 1 may further include: acquiring movement information of the tracking device.
  • Step S120 in FIG. 1 can be replaced with: planning the tracking path of the tracking device to the target according to the movement information of the target, the location of the obstacle, and the movement information of the tracking device.
  • the motion information of the tracking device may include one or more of the following information of the tracking device: position information, speed information, acceleration information, orientation information, and posture information.
  • the embodiment of the present application further considers the movement information of the tracking device, which can effectively avoid the problem that the planned tracking path does not match the current movement state of the tracking device, and makes the planned tracking path more reasonable. For example, when planning a tracking path, consider the current position and speed of the tracking device, so that the tracking device can smoothly transition from the current motion state to a motion state that can track the target along the tracking path, avoiding trajectory conflicts and position during the transition process / Speed change and other issues.
  • Step S120 can be implemented in multiple ways. For example, a tracking path that can avoid obstacles can be directly planned, or initial path planning information can be generated first, and then the final tracking path setting can be calculated according to the initial path planning information. In the following, an example of the implementation of step S120 will be described with reference to FIG. 2.
  • FIG. 2 is a schematic flowchart of a possible implementation manner of step S120.
  • step S120 may include step S122 to step S126. These steps are described in detail below.
  • step S122 initial path planning information is generated at least according to the movement information of the target.
  • the initial path planning information may also be generated based on the movement information of the target and the movement information of the tracking device.
  • step S124 the cost of obstructing the observation line of sight of the tracking device to the target by the obstacle is determined according to the position of the obstacle and the initial path planning information.
  • the observation line of sight may refer to a narrower range of the observation range of the visual sensor of the tracking device.
  • the light emitted/reflected by the target is imaged on the sensing element of the vision sensor along the observation line of sight. Further, the tracking device can calculate the movement information of the target according to the imaging change of the target.
  • the cost is determined based on distance information between the obstacle and the observation line of sight.
  • the cost of the observing line of sight of the tracking device to the target being obscured by obstacles can be used to characterize whether the observing line of sight is obscured by obstacles, or to characterize the degree to which the observing line of sight is blocked by obstacles, or to characterize that the observing line of sight is blocked by obstacles Possibility of occlusion.
  • the higher the cost the greater the degree (or probability) that the observation line of sight is blocked by obstacles.
  • step S126 a tracking path is planned based on the cost of observing the line of sight being blocked by obstacles and the initial path planning information.
  • the embodiment of the present application considers the cost of the observing sight of the tracking device to the target being blocked by obstacles, thereby helping to obtain a tracking path with less or no obstruction by obstacles, thereby improving the performance of the tracking device. Track success rate.
  • step S126 in addition to the cost related to obstruction by obstacles, other costs may also be considered when planning the tracking path.
  • obstacle avoidance cost and/or distance cost can be used to indicate the possibility of a collision between the tracking device and an obstacle;
  • the distance cost can be used to indicate the difference between the tracking parameters of the tracking device and the desired tracking parameters.
  • the aforementioned tracking parameters may include one or more of the following parameters: tracking distance, tracking height, and tracking angle.
  • the desired tracking parameters can be configured according to actual tracking tasks or tracking requirements.
  • the desired tracking parameters can be preset values or input by the user of the tracking device.
  • the initial path planning information may include information on multiple initial paths; and/or the initial path information may include information on multiple initial target points (the end points of the preliminary tracking path).
  • the definition of the initial path planning information is different, and the specific implementation of Fig. 2 is also different. Two examples are given below in conjunction with Figs. 3 and 4.
  • the initial path planning information includes multiple initial path information.
  • Step S322, step S324, and step S326 in FIG. 3 correspond to step S122, step 124, and step S126 in FIG. 2, respectively. These steps are described in detail below.
  • step S322 multiple initial paths are generated at least according to the movement information of the target.
  • the tracking device can directly generate multiple initial paths based on the movement information of the target.
  • the tracking device may comprehensively consider its own motion information, target motion information, and/or desired tracking parameters, etc., before generating multiple initial paths.
  • a reference path generation module as shown in FIG. 5 may be provided for the tracking device, and the function of generating multiple initial paths may be completed by the reference path generation module.
  • step S324 according to the position of the obstacle, the cost of the observation line of sight corresponding to each of the multiple initial paths being blocked by the obstacle is determined.
  • each initial path can correspond to a cost. Since the relative positions of different initial paths and obstacles are not exactly the same, the situation of the target being blocked by obstacles may be different when the tracking device moves along different initial paths, which may result in different The initial path corresponds to different costs.
  • the cost corresponding to each initial path can be calculated according to the minimum distance between the initial path and the obstacle, the smaller the distance, the higher the cost; or, the corresponding cost of each initial path can be calculated according to the number of obstacles in a certain range around the initial path The higher the number of obstacles, the higher the cost; or, the cost corresponding to each initial path can be calculated by comprehensively considering the above factors, and different factors can be set with the same or different weights.
  • step S326 a tracking path is selected from the multiple initial paths based on the cost of the observation line of sight corresponding to each of the multiple initial paths being blocked by obstacles.
  • the initial path with the smallest corresponding cost among the plurality of initial paths may be determined as the tracking path. In other embodiments, any one of the multiple initial paths whose corresponding cost is less than the preset threshold may be determined as the tracking path.
  • the initial path planning information includes information of multiple initial target points.
  • Step S422, step S424, and step S426 in FIG. 4 correspond to step S122, step 124, and step S126 in FIG. 2, respectively. These steps are described in detail below.
  • step S422 a plurality of initial target points are determined at least according to the motion information of the target.
  • the tracking device can directly generate multiple initial target points based on the motion information of the target.
  • the tracking device may comprehensively consider its own motion information, target motion information, and/or desired tracking parameters, etc., before generating multiple initial target points.
  • a reference path generation module as shown in FIG. 5 may be provided for the tracking device, and the function of generating multiple initial target points may be completed by the reference path generation module.
  • step S424 according to the position of the obstacle, the cost of the observation line of sight corresponding to each of the multiple initial target points being blocked by the obstacle is determined.
  • each initial target point can correspond to a cost. Because the positions of different initial target points are different, the situation of the target being blocked by obstacles may be different when the tracking device moves to different initial target points, which may result in different initial target points.
  • the target points correspond to different costs.
  • the distance between each point on the line between the starting point and the initial target point of the tracking device and the obstacle can be calculated according to the position of the obstacle. Integrate to obtain the cost of obstructing the observation line of sight corresponding to multiple initial target points.
  • the distance between the line between the initial target point and the target and the obstacle can be determined; according to the distance between the line and the obstacle, and the mapping relationship between the preset distance and the cost, multiple initial target points can be obtained The corresponding observation line of sight is blocked by obstacles.
  • each sampling point on the line between the starting point and the initial target point of the tracking device determines each sampling point on the line between the starting point and the initial target point of the tracking device; when calculating that the tracking device is at the sampling point, the observation line of sight is subject to The cost of occlusion: integrating the costs corresponding to the multiple sampling points to obtain the cost at which the observation line of sight corresponding to each of the multiple initial target points is blocked by the obstacle.
  • step S426 a tracking path is planned based on the cost of the observation line of sight corresponding to each of the multiple initial target points being blocked by obstacles.
  • the target point with the lowest cost can be selected from multiple candidate target points; the tracking path can be planned according to the target point with the lowest cost.
  • any target point whose corresponding cost meets a preset threshold can be selected from a plurality of candidate target points, and a tracking path can be planned according to the target point.
  • the cost of the initial target point may not only include the cost of obstacle occlusion described above (hereinafter referred to as occlusion cost), but also include obstacle avoidance cost and/or distance cost.
  • occlusion cost the cost of obstacle occlusion described above
  • obstacle avoidance cost the cost of obstacle avoidance cost and/or distance cost.
  • J Obs represents the cost of avoiding obstacles
  • J dis represents the cost of distance
  • Joccu represents the cost of occlusion
  • ⁇ Obs in the formula (2) represents the weight of the obstacle avoidance cost in the cost of the initial target point.
  • the value of the weight can be input by the user, or the default value can be adopted.
  • P u represents the location of the tracking device
  • Me (P u ) is the distance between the closest obstacle to the tracking device and the tracking device.
  • ⁇ 0 represents the cutoff distance.
  • the value of the cutoff distance is related to the shape and size of the tracking device. It can be set by the user or the default value can be used. Taking the tracking device as an unmanned aerial vehicle as an example, the value of ⁇ 0 can be 0.5 meters.
  • the ⁇ dis in formula (4) represents the weight of the distance cost in the cost of the initial target point.
  • the value of the weight can be input by the user, or the default value can be used.
  • C dis represents the distance between the initial target point and the desired target point.
  • the ⁇ occu in formula (5) represents the weight of the occlusion cost in the cost of the initial target point.
  • the value of the weight can be input by the user or a default value.
  • l u represents the starting point of the tracking device (the current position of the tracking device can be used as the starting point, or a position near the current position of the tracking device can be used as the starting point) and the initial target point.
  • l u ( ⁇ ) represents the starting point of the path; when the value of ⁇ is 1, l u ( ⁇ ) represents the end point of the path (the end point is the initial target point).
  • the value of ⁇ from 0 to 1 means to traverse the points on the path.
  • the occlusion cost when the tracking device moves along the line between the starting point and the initial target point, the fewer obstacles between the tracking device and the target, the smaller the value of the occlusion cost. Therefore, the occlusion cost helps to select the initial target point with fewer obstacles between the tracking device and the target, thereby improving the tracking success rate.
  • the occlusion cost may be expressed in a binary manner of 0/1. With a certain query radius, query the connection path from the initial target point to the target to be followed. The distance of the obstacle is less than the set value and it is considered to be occluded, and the distance greater than the set value is that it is not to be occluded. If occlusion occurs, a larger cost weight can be assigned to the initial target point where the occlusion occurs.
  • the tracking device may be provided with a local obstacle avoidance module as shown in FIG. 5, and the path planning function described above may be completed by using the local obstacle avoidance module.
  • Fig. 6 is a schematic structural diagram of a tracking device provided by an embodiment of the present application. As shown in FIG. 6, the tracking device 600 includes a memory 610 and a processor 620.
  • the memory 610 can be used to store programs.
  • the processor 620 may be used to execute a program in the memory to perform the following operations: obtain the movement information of the target and the position of the obstacle in the environment where the target is located, wherein the movement information is obtained based on the visual sensor of the tracking device ; According to the movement information of the target and the position of the obstacle, plan the tracking path of the tracking device to the target, so that the tracking device keeps the target in place when the tracking device moves along the tracking path Within the observation range of the visual sensor.
  • the obstacle is kept away from the observation line of sight of the tracking device to the target.
  • the planning the tracking path of the tracking device to the target according to the movement information of the target and the position of the obstacle includes: generating an initial track based on at least the movement information of the target Path planning information; determine the cost of the observing line of sight of the tracking device to the target being blocked by the obstacle according to the location of the obstacle and the initial path planning information; based on the obstruction of the observing line of sight by the obstacle And the initial path planning information plan to obtain the tracking path.
  • the cost is determined based on distance information between the obstacle and the observation line of sight.
  • the generating initial path planning information at least according to the movement information of the target includes: generating a plurality of initial paths at least according to the movement information of the target; The location and the initial path planning information determine the cost of obstructing the observation line of sight by the obstacle, including: determining that the observation line of sight corresponding to each of the plurality of initial paths is subject to the obstacle according to the position of the obstacle The cost of object occlusion; the planning to obtain the tracking path based on the cost of the observation line of sight being blocked by the obstacle and the initial path planning information includes: the observation line of sight corresponding to each of the multiple initial paths At the cost of being blocked by the obstacle, the tracking path is selected from the plurality of initial paths.
  • the selecting the tracking path from the plurality of initial paths based on the cost that the observation line of sight corresponding to each of the plurality of initial paths is blocked by the obstacle includes : Determine the initial path with the smallest corresponding cost among the multiple initial paths as the tracking path.
  • the generating initial path planning information at least according to the movement information of the target includes: determining a plurality of initial target points according to at least the movement information of the target; The location of the object and the initial path planning information determine the cost of obstructing the observation line of sight by the obstacle, including: determining that the observation line of sight corresponding to each of the multiple initial target points is subject to the obstruction according to the location of the obstacle.
  • the cost of obstruction by the obstacle; the planning to obtain the tracking path based on the cost of the observation line of sight being obscured by the obstacle and the initial path planning information includes: based on the respective corresponding to the plurality of initial target points At the cost of obstructing the observation line of sight by the obstacle, the tracking path is obtained by planning.
  • the planning to obtain the tracking path based on the cost of the observation line of sight corresponding to each of the plurality of initial target points being blocked by the obstacle includes: The target point corresponding to the smallest cost is selected among the candidate target points; and the tracking path is planned according to the target point with the smallest cost.
  • the determining the cost of the observation line of sight corresponding to each of the plurality of initial target points being blocked by the obstacle according to the position of the obstacle includes: according to the obstacle The position of the object, the distance between each point on the line between the starting point of the tracking device and the initial target point and the obstacle is integrated to obtain the observation line of sight corresponding to each of the multiple initial target points The cost of being blocked by the obstacle.
  • the determining the cost of the observation line of sight corresponding to each of the plurality of initial target points being blocked by the obstacle according to the position of the obstacle includes: according to the obstacle The position of the object is determined, and each sampling point on the line between the starting point of the tracking device and the initial target point is determined; the cost of obstructing the observation line of sight when the tracking device is at the sampling point is calculated; The costs corresponding to the sampling points are integrated to obtain the costs at which the observation line of sight corresponding to each of the multiple initial target points is blocked by the obstacle.
  • the determining the cost of the observation line of sight corresponding to each of the plurality of initial target points being blocked by the obstacle according to the position of the obstacle includes: determining the initial The distance between the line between the target point and the target and the obstacle; according to the distance between the line and the obstacle, and the preset mapping relationship between the distance and the cost, the A cost at which the observation line of sight corresponding to each of the multiple initial target points is blocked by the obstacle.
  • the tracking path planning is also based on obstacle avoidance cost and/or distance cost, and the obstacle avoidance cost is used to indicate the possibility of collision between the tracking device and an obstacle, and The distance cost is used to represent the difference between the tracking parameters of the tracking device and the desired tracking parameters.
  • the desired tracking parameter is a preset value or input by a user of the tracking device.
  • the tracking parameters include one or more of the following parameters: tracking distance, tracking height, and tracking angle.
  • the processor is further configured to perform the following operations: obtain movement information of the tracking device; and plan the tracking device according to the movement information of the target and the location of the obstacle
  • the tracking path of the target includes: planning the tracking path of the tracking device to the target according to the motion information of the target, the location of the obstacle, and the motion information of the tracking device.
  • the motion information includes one or more of the following information: position information, speed information, acceleration information, orientation information, and posture information.
  • the obstacles include obstacles around the tracking device and/or obstacles around the target.
  • the acquiring the location of the obstacle in the environment where the target is located includes: finding the location of the obstacle in map data and/or acquiring based on the sensor of the tracking device The location of the obstacle.
  • the planning module relies on the map module to judge the obstacles around the drone.
  • UAVs use depth sensors (such as binocular systems) to build the surrounding environment. Through the local map, you can query whether a coordinate point is occupied by an obstacle, or you can query a coordinate point and the distance to the nearest obstacle.
  • the tracking device is a drone, an unmanned vehicle, an underwater robot, or a walking robot.
  • the computer program product includes one or more computer instructions.
  • the computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices.
  • the computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from a website, computer, server, or data center.
  • the computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server or a data center integrated with one or more available media.
  • the usable medium may be a magnetic medium (for example, a floppy disk, a hard disk, a tape), an optical medium (for example, a digital video disc (DVD)), or a semiconductor medium (for example, a solid state disk (SSD)), etc. .
  • the disclosed system, device, and method can be implemented in other ways.
  • the device embodiments described above are only illustrative.
  • the division of the units is only a logical function division, and there may be other divisions in actual implementation, for example, multiple units or components may be combined or It can be integrated into another system, or some features can be ignored or not implemented.
  • the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
  • the functional units in the various embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.

Abstract

Disclosed are a path planning method, a tracking device, a storage medium, and a computer program product. The method comprises: acquiring movement information of a target and the position of an obstacle in an environment where the target is located, wherein the movement information is acquired on the basis of a vision sensor of a tracking device (S110); and planning a tracking path of the tracking device for the target according to the movement information of the target and the position of the obstacle, such that the target keeps within an observation range of the vision sensor when the tracking device moves along the tracking path (S120). The tracking path planned by means of the method enables an obstacle to be far away from the observation sight of a tracking device for a tracked target, thereby helping to improve the tracking success rate of a tracking device for a target.

Description

路径规划的方法、跟踪设备、存储介质和计算机程序产品Path planning method, tracking device, storage medium and computer program product
版权申明Copyright statement
本专利文件披露的内容包含受版权保护的材料。该版权为版权所有人所有。版权所有人不反对任何人复制专利与商标局的官方记录和档案中所存在的该专利文件或者该专利披露。The content disclosed in this patent document contains copyrighted material. The copyright belongs to the copyright owner. The copyright owner does not object to anyone copying the patent document or the patent disclosure in the official records and archives of the Patent and Trademark Office.
技术领域Technical field
本申请涉及路径规划领域,更为具体地,涉及一种路径规划的方法、跟踪设备、存储介质和计算机程序产品。This application relates to the field of path planning, and more specifically, to a method, tracking device, storage medium, and computer program product for path planning.
背景技术Background technique
目前,智能跟踪技术的应用越来越广泛。例如,可以利用无人机对人、车、船等目标进行智能跟拍,以监控目标的状态;又如,可以利用水下机器人对鱼进行跟踪摄像,以获知鱼类的生活习性。At present, the application of intelligent tracking technology is becoming more and more extensive. For example, drones can be used to intelligently follow targets such as people, cars, and boats to monitor the status of the target; another example, underwater robots can be used to track and camera fish to learn about the habits of the fish.
传统智能跟踪技术存在跟踪成功率不高的问题。因此,如何提高跟踪设备对目标的跟踪成功率一直是该领域的研究热点。Traditional intelligent tracking technology has the problem of low tracking success rate. Therefore, how to improve the tracking success rate of the tracking device to the target has always been a research hotspot in this field.
发明内容Summary of the invention
本申请提供一种路径规划的方法、跟踪设备、计算机可读存储介质和计算机程序产品,能够提高跟踪设备对目标跟踪的成功率。The present application provides a path planning method, tracking device, computer readable storage medium, and computer program product, which can improve the success rate of target tracking by the tracking device.
第一方面,提供一种路径规划的方法,包括:获取目标的运动信息和所述目标所处环境中的障碍物的位置,其中,所述运动信息是基于跟踪设备的视觉传感器获取的;根据所述目标的运动信息和所述障碍物的位置,规划所述跟踪设备对所述目标的跟踪路径,以在所述跟踪设备沿所述跟踪路径运动时,使所述目标保持处于所述视觉传感器的观测范围内。In a first aspect, a method for path planning is provided, which includes: obtaining movement information of a target and the position of an obstacle in an environment in which the target is located, wherein the movement information is obtained based on a visual sensor of a tracking device; The motion information of the target and the position of the obstacle are planned, and the tracking path of the tracking device to the target is planned, so that when the tracking device moves along the tracking path, the target is kept in the visual field. Within the observation range of the sensor.
第二方面,提供一种跟踪设备,包括:存储器,用于存储程序;处理器,用于执行如第一方面所述的方法。In a second aspect, a tracking device is provided, including: a memory for storing a program; and a processor for executing the method as described in the first aspect.
第三方面,提供一种跟踪设备,包括用于执行如第一方面所述方法的模块。In a third aspect, a tracking device is provided, which includes a module for executing the method described in the first aspect.
第四方面,提供一种机器可读存储介质,其上存储有用于执行如第一方 面所述的方法的指令。In a fourth aspect, a machine-readable storage medium is provided, on which instructions for executing the method described in the first aspect are stored.
第五方面,提供一种计算机程序产品,包括用于执行如第一方面所述的方法的指令。In a fifth aspect, a computer program product is provided, including instructions for executing the method as described in the first aspect.
本申请可以在所述跟踪设备沿所述跟踪路径运动时,使所述目标保持处于所述视觉传感器的观测范围内,从而有助于提高跟踪设备的跟踪成功率。The present application can keep the target within the observation range of the visual sensor when the tracking device moves along the tracking path, thereby helping to improve the tracking success rate of the tracking device.
附图说明Description of the drawings
图1是本申请实施例提供的路径规划的方法的示意性流程图。FIG. 1 is a schematic flowchart of a path planning method provided by an embodiment of the present application.
图2是图1中的步骤S120的一种可能的实现方式的流程图。FIG. 2 is a flowchart of a possible implementation manner of step S120 in FIG. 1.
图3是图2实施例的一种具体实现方式的示意性流程图。FIG. 3 is a schematic flowchart of a specific implementation manner of the embodiment in FIG. 2.
图4是图2实施例的另一具体实现方式的示意性流程图。FIG. 4 is a schematic flowchart of another specific implementation manner of the embodiment in FIG. 2.
图5是本申请一个实施例提供的跟踪设备的结构图。Fig. 5 is a structural diagram of a tracking device provided by an embodiment of the present application.
图6是本申请另一实施例提供的跟踪设备的结构图。Fig. 6 is a structural diagram of a tracking device provided by another embodiment of the present application.
具体实施方式Detailed ways
相关技术在利用跟踪设备对目标进行跟踪过程中,容易出现跟踪失败的问题(即丢失跟踪目标)。经过仔细研究,发现问题主要存在于:相关技术在规划跟踪路径时,主要关注的是跟踪设备沿跟踪路径运动时,跟踪设备与障碍物之间是否可能发生碰撞,却忽略了跟踪设备对目标的观测视线可能会被障碍物遮挡。实际上,如果跟踪路径的规划导致跟踪设备对目标的观测视线被障碍物遮挡,就可能会导致跟踪设备无法观测或识别目标,从而导致跟踪失败。In the related technology, in the process of tracking a target using a tracking device, the problem of tracking failure (that is, the tracking target is lost) is prone to occur. After careful study, it is found that the problem mainly exists: when the related technology is planning the tracking path, the main concern is whether the tracking device may collide with the obstacle when the tracking device moves along the tracking path, but ignores the tracking device’s impact on the target. The observation line of sight may be blocked by obstacles. In fact, if the tracking path planning results in the tracking device's observing sight of the target being blocked by obstacles, it may cause the tracking device to fail to observe or recognize the target, resulting in tracking failure.
为了便于理解,下面以无人机为例,给出相关技术中的跟踪功能的一种可能的实现方式。In order to facilitate understanding, a possible implementation of the tracking function in related technologies is given below by taking a drone as an example.
跟踪功能可以被划分成三个功能模块:机器学习模块、目标估计模块,以及跟踪规划模块。The tracking function can be divided into three functional modules: machine learning module, target estimation module, and tracking planning module.
机器学习模块可以利用相机采集到的图像对目标进行识别。目标估计模块可以利用机器学习模块输出的结果以及无人机当前的观测信息,对目标的运动信息(如目标的位置和/或速度)进行在线估算。The machine learning module can use the images collected by the camera to identify the target. The target estimation module can use the output result of the machine learning module and the current observation information of the drone to estimate the movement information of the target (such as the position and/or speed of the target) online.
跟踪规划模块可以利用估算出的目标的位置和/或速度,对跟踪设备的跟踪路径进行规划。The tracking planning module can use the estimated position and/or speed of the target to plan the tracking path of the tracking device.
在得到跟踪路径之后,无人机可以利用飞控系统控制无人机沿着该跟踪路径运动,以保持无人机对目标的跟踪。After obtaining the tracking path, the UAV can use the flight control system to control the UAV to move along the tracking path to keep the UAV tracking the target.
在跟踪过程中,上述实现方式可能会利用无人机的避障功能避开可能与无人机发生碰撞的障碍物,但上述实现方式并没有考虑无人机对目标的观测视线是否会被障碍物遮挡,导致这种跟踪技术的实现方式在障碍物比较多的场景下非常容易丢失跟踪目标。In the tracking process, the above implementation may use the UAV's obstacle avoidance function to avoid obstacles that may collide with the UAV, but the above implementation does not consider whether the UAV's observation line of sight to the target will be obstructed. Object occlusion, leading to the realization of this tracking technology is very easy to lose the tracking target in a scene with many obstacles.
本申请实施例提供一种路径规划的方法,以提高跟踪设备的跟踪成功率。下面结合附图,对本申请实施例进行详细描述。The embodiment of the present application provides a path planning method to improve the tracking success rate of the tracking device. The embodiments of the present application will be described in detail below with reference to the accompanying drawings.
图1是本申请实施例提供的路径规划的方法的示意性流程图。图1的方法可以由跟踪设备执行。FIG. 1 is a schematic flowchart of a path planning method provided by an embodiment of the present application. The method in Figure 1 can be executed by a tracking device.
跟踪设备可以是能够通过机器视觉对目标进行跟踪的任意设备。在一些实施例中,跟踪设备可以是可移动平台。该可移动平台例如可以是以下设备中的一种:无人机、无人车、水下机器人或行走机器人。图1的方法可以包括步骤S110和步骤S120。下面分别对这些步骤进行详细说明。The tracking device may be any device capable of tracking a target through machine vision. In some embodiments, the tracking device may be a movable platform. The movable platform may be, for example, one of the following equipment: drones, unmanned vehicles, underwater robots or walking robots. The method in FIG. 1 may include step S110 and step S120. These steps are described in detail below.
在步骤S110,获取目标的运动信息和目标所处环境中的障碍物的位置其中,所述运动信息是基于跟踪设备的视觉传感器获取的。In step S110, the motion information of the target and the position of the obstacle in the environment where the target is located are acquired, wherein the motion information is acquired based on the visual sensor of the tracking device.
该视觉传感器可以是单目/双目,或者是多目视觉传感器。其视觉感知光谱不限于可见光谱,也可以是红外线光谱,甚至是多光谱的组合。The vision sensor can be a monocular/binocular or a multi-eye vision sensor. The visual perception spectrum is not limited to the visible spectrum, it can also be an infrared spectrum, or even a combination of multiple spectra.
在步骤S120,根据目标的运动信息和障碍物的位置,规划所述跟踪设备对目标的跟踪路径,以在跟踪设备沿跟踪路径运动时,使所述目标保持处于所述视觉传感器的观测范围内。In step S120, plan the tracking path of the tracking device to the target according to the movement information of the target and the position of the obstacle, so that when the tracking device moves along the tracking path, the target is kept within the observation range of the vision sensor .
本申请可以在所述跟踪设备沿所述跟踪路径运动时,使所述目标保持处于所述视觉传感器的观测范围内,从而有利于该视觉传感器获取目标的运动信息,进一步提高跟踪设备的跟踪成功率。The present application can keep the target within the observation range of the vision sensor when the tracking device moves along the tracking path, thereby facilitating the vision sensor to obtain the movement information of the target and further improving the tracking success of the tracking device Rate.
具体的,本申请实施例规划出的跟踪路径使障碍物远离跟踪设备对被跟踪的目标的观测视线。Specifically, the tracking path planned in the embodiment of the present application keeps the obstacle away from the observation line of sight of the tracked target by the tracking device.
目标的运动信息可以包括以下信息中的一种或多种:目标的历史运动信息,目标当前的运动信息,以及目标将来的运动信息。目标将来的运动信息可以通过预测的方式获得。例如,可以根据目标历史运动信息和/或当前的运动信息,估计目标的运动趋势,从而确定目标在未来某个时刻的位置和/或速度等信息。本申请实施例对目标的运动信息的内容不做具体限定,在某些实 施例中,目标的运动信息可以包括以下内容中的一种或多种:位置信息、速度信息、加速度信息、朝向信息、姿态信息。在一些实施例中,可以为跟踪设备设置如图5所示的目标估计模块,目标的运动信息可以由该目标估计模块完成。The motion information of the target may include one or more of the following information: historical motion information of the target, current motion information of the target, and future motion information of the target. The future motion information of the target can be obtained through prediction. For example, it is possible to estimate the movement trend of the target according to the historical movement information of the target and/or the current movement information, so as to determine the position and/or speed of the target at a certain time in the future. The embodiments of this application do not specifically limit the content of the target's motion information. In some embodiments, the target's motion information may include one or more of the following: position information, speed information, acceleration information, and orientation information , Posture information. In some embodiments, the tracking device may be provided with a target estimation module as shown in FIG. 5, and the motion information of the target may be completed by the target estimation module.
目标所处环境中的障碍物的定义方式可以有多种。在一些实施例中,目标所处环境中的障碍物可以包括跟踪设备周围的障碍物和/或目标周围的障碍物。There are many ways to define obstacles in the environment where the target is located. In some embodiments, the obstacles in the environment where the target is located may include obstacles around the tracking device and/or obstacles around the target.
无论是运动信息的具体形式还是障碍物的选取范围,均可以根据跟踪任务的具体情况灵活设置。例如,当需要精确跟踪时,则不但要考虑目标的位置、速度,还要考虑目标的加速度和姿态;当进行普通跟踪时,可以仅考虑目标的位置和速度,而不考虑目标的加速度和姿态。又如,当目标处于复杂、障碍物较多的环境中时,可以考虑跟踪设备和/或目标前进方向上的预设范围内的障碍物,从而对跟踪路径进行超前规划;当目标处于简单、障碍物较少的环境中时,可以仅考虑前进方向上的与跟踪设备和/或目标距离最近的障碍物,从而规划当前的跟踪路径即可。Whether it is the specific form of motion information or the selection range of obstacles, it can be flexibly set according to the specific conditions of the tracking task. For example, when accurate tracking is required, not only the position and speed of the target must be considered, but also the acceleration and attitude of the target; when performing ordinary tracking, only the position and speed of the target can be considered, without considering the acceleration and attitude of the target . For another example, when the target is in a complex environment with many obstacles, the tracking equipment and/or obstacles within the preset range of the target's forward direction can be considered to plan the tracking path in advance; when the target is simple, In an environment with fewer obstacles, only the obstacles in the forward direction that are closest to the tracking device and/or the target can be considered, so as to plan the current tracking path.
障碍物的位置信息的获取方式可以有多种。在一些实施例中,可以在地图数据中查找障碍物的位置。例如,跟踪设备利用机器视觉对环境进行感测,不断重构周围环境的3D地图,并利用该3D地图对障碍物进行定位。在另一些实施例中,也可以基于跟踪设备的传感器获取障碍物的位置。例如,可以利用跟踪设备上的雷达或深度相机对周围物体进行探测,以获取障碍物的位置。There are many ways to obtain the location information of the obstacle. In some embodiments, the location of the obstacle can be found in the map data. For example, the tracking device uses machine vision to sense the environment, continuously reconstructs a 3D map of the surrounding environment, and uses the 3D map to locate obstacles. In other embodiments, the location of the obstacle may also be acquired based on the sensor of the tracking device. For example, the radar or depth camera on the tracking device can be used to detect surrounding objects to obtain the location of obstacles.
规划模块依赖地图模块来对无人机周围的障碍物情况进行判断。无人机利用深度传感器(如双目系统),对周围的环境进行构建。通过局部地图,可以查询一个坐标点是不是被障碍物占据,也可以查询一个坐标点,与最近的障碍物的距离。The planning module relies on the map module to judge the obstacles around the drone. UAVs use depth sensors (such as binocular systems) to build the surrounding environment. Through the local map, you can query whether a coordinate point is occupied by an obstacle, or you can query a coordinate point and the distance to the nearest obstacle.
在一些实施例中,在规划跟踪路径时,不但可以考虑目标的运动信息,还可以考虑跟踪设备的运动信息。在该实施例中,图1的方法还还可包括:获取跟踪设备的运动信息。图1的步骤S120可替换为:根据目标的运动信息、障碍物的位置和跟踪设备的运动信息规划跟踪设备对目标的跟踪路径。In some embodiments, when planning the tracking path, not only the motion information of the target may be considered, but also the motion information of the tracking device may be considered. In this embodiment, the method of FIG. 1 may further include: acquiring movement information of the tracking device. Step S120 in FIG. 1 can be replaced with: planning the tracking path of the tracking device to the target according to the movement information of the target, the location of the obstacle, and the movement information of the tracking device.
跟踪设备的运动信息可以包括跟踪设备的以下一种或多种信息:位置信息、速度信息、加速度信息、朝向信息、姿态信息。The motion information of the tracking device may include one or more of the following information of the tracking device: position information, speed information, acceleration information, orientation information, and posture information.
本申请实施例进一步考虑了跟踪设备的运动信息,这样可以有效避免规划出的跟踪路径与跟踪设备当前的运动状态不匹配的问题,使得规划出的跟踪路径更合理。例如,在规划跟踪路径时,考虑跟踪设备当前的位置和速度,使得跟踪设备能够从当前的运动状态顺利过渡至可以沿跟踪路径对目标进行跟踪的运动状态,避免过渡过程产生的轨迹冲突、位置/速度突变等问题。The embodiment of the present application further considers the movement information of the tracking device, which can effectively avoid the problem that the planned tracking path does not match the current movement state of the tracking device, and makes the planned tracking path more reasonable. For example, when planning a tracking path, consider the current position and speed of the tracking device, so that the tracking device can smoothly transition from the current motion state to a motion state that can track the target along the tracking path, avoiding trajectory conflicts and position during the transition process / Speed change and other issues.
步骤S120的实现方式可以有多种,例如,可以直接规划出一条能够避开障碍物遮挡的跟踪路径,也可以先生成初始路径规划信息,再根据初始路径规划信息计算最终的跟踪路径定。下面结合图2,对步骤S120的实现方式的进行举例说明。Step S120 can be implemented in multiple ways. For example, a tracking path that can avoid obstacles can be directly planned, or initial path planning information can be generated first, and then the final tracking path setting can be calculated according to the initial path planning information. In the following, an example of the implementation of step S120 will be described with reference to FIG. 2.
图2是步骤S120的一种可能的实现方式的示意性流程图。在图2中,步骤S120可以包括步骤S122至步骤S126。下面分别对这些步骤进行详细描述。FIG. 2 is a schematic flowchart of a possible implementation manner of step S120. In FIG. 2, step S120 may include step S122 to step S126. These steps are described in detail below.
在步骤S122,至少根据目标的运动信息生成初始路径规划信息。In step S122, initial path planning information is generated at least according to the movement information of the target.
在一些实施例中,还可以根据目标的运动信息和跟踪设备的运动信息生成初始路径规划信息。In some embodiments, the initial path planning information may also be generated based on the movement information of the target and the movement information of the tracking device.
在步骤S124,根据障碍物的位置和初始路径规划信息确定所述跟踪设备对所述目标的观测视线受到障碍物遮挡的代价。In step S124, the cost of obstructing the observation line of sight of the tracking device to the target by the obstacle is determined according to the position of the obstacle and the initial path planning information.
其中,所述观测视线可以指所述跟踪设备视觉传感器的观测范围中一较窄的范围。所述目标的发出/反射的光线沿该观测视线成像于所述视觉传感器的传感元件。进一步的,跟踪设备可以根据该目标的成像变化计算得出该目标的运动信息。Wherein, the observation line of sight may refer to a narrower range of the observation range of the visual sensor of the tracking device. The light emitted/reflected by the target is imaged on the sensing element of the vision sensor along the observation line of sight. Further, the tracking device can calculate the movement information of the target according to the imaging change of the target.
可选地,在一些实施例中,所述代价是基于所述障碍物与所述观测视线之间的距离信息确定的。Optionally, in some embodiments, the cost is determined based on distance information between the obstacle and the observation line of sight.
跟踪设备对目标的观测视线受到障碍物遮挡的代价可用于表征该观测视线是否受到障碍物的遮挡,或者用于表征该观测视线受障碍物遮挡的程度,或者用于表征该观测视线受障碍物遮挡的可能性。例如,在一些实施例中,该代价越高,则该观测视线受到障碍物遮挡的程度(或可能性)越大。The cost of the observing line of sight of the tracking device to the target being obscured by obstacles can be used to characterize whether the observing line of sight is obscured by obstacles, or to characterize the degree to which the observing line of sight is blocked by obstacles, or to characterize that the observing line of sight is blocked by obstacles Possibility of occlusion. For example, in some embodiments, the higher the cost, the greater the degree (or probability) that the observation line of sight is blocked by obstacles.
在步骤S126,基于观测视线受到障碍物遮挡的代价和初始路径规划信息规划得到跟踪路径。In step S126, a tracking path is planned based on the cost of observing the line of sight being blocked by obstacles and the initial path planning information.
本申请实施例在规划跟踪路径的过程中考虑了跟踪设备对目标的观测视线受到障碍物遮挡的代价,从而有助于得到障碍物遮挡较少或没有遮挡的 跟踪路径,进而能够提高跟踪设备的跟踪成功率。In the process of planning the tracking path, the embodiment of the present application considers the cost of the observing sight of the tracking device to the target being blocked by obstacles, thereby helping to obtain a tracking path with less or no obstruction by obstacles, thereby improving the performance of the tracking device. Track success rate.
在步骤S126中,除了有关障碍物遮挡的代价之外,在规划跟踪路径时,还可以考虑其他代价。如避障代价和/或距离代价。其中,避障代价可用于表示跟踪设备与障碍物发生碰撞的可能性;距离代价可用于表示跟踪设备的跟踪参数与期望的跟踪参数之间的差异。In step S126, in addition to the cost related to obstruction by obstacles, other costs may also be considered when planning the tracking path. Such as obstacle avoidance cost and/or distance cost. Among them, the obstacle avoidance cost can be used to indicate the possibility of a collision between the tracking device and an obstacle; the distance cost can be used to indicate the difference between the tracking parameters of the tracking device and the desired tracking parameters.
上述跟踪参数可以包括以下参数中的一种或多种:跟踪距离、跟踪高度、跟踪角度。期望的跟踪参数可以根据实际的跟踪任务或跟踪需求配置,该期望的跟踪参数可以为预设值,也可以由跟踪设备的用户输入。The aforementioned tracking parameters may include one or more of the following parameters: tracking distance, tracking height, and tracking angle. The desired tracking parameters can be configured according to actual tracking tasks or tracking requirements. The desired tracking parameters can be preset values or input by the user of the tracking device.
初始路径规划信息的定义方式可以有多种,本申请实施例对此并不限定。例如,初始路径规划信息可以包括多条初始路径的信息;和/或初始路径信息可以包括多个初始目标点(初拟的跟踪路径的终点)的信息。初始路径规划信息的定义方式不同,图2的具体实现方式也有所差异,下面结合图3和图4,给出两个示例。There may be multiple ways to define the initial path planning information, which is not limited in the embodiment of the present application. For example, the initial path planning information may include information on multiple initial paths; and/or the initial path information may include information on multiple initial target points (the end points of the preliminary tracking path). The definition of the initial path planning information is different, and the specific implementation of Fig. 2 is also different. Two examples are given below in conjunction with Figs. 3 and 4.
图3对应的实施例中,初始路径规划信息包括多条初始路径的信息。图3中的步骤S322、步骤S324、步骤S326分别对应于图2中的步骤S122、步骤124、步骤S126。下面分别对这些步骤进行详细描述。In the embodiment corresponding to FIG. 3, the initial path planning information includes multiple initial path information. Step S322, step S324, and step S326 in FIG. 3 correspond to step S122, step 124, and step S126 in FIG. 2, respectively. These steps are described in detail below.
在步骤S322,至少根据目标的运动信息生成多条初始路径。In step S322, multiple initial paths are generated at least according to the movement information of the target.
例如,跟踪设备可以直接根据目标的运动信息生成多条初始路径。又如,跟踪设备可以综合考虑自身的运动信息、目标的运动信息和/或期望的跟踪参数等之后,再生成多条初始路径。For example, the tracking device can directly generate multiple initial paths based on the movement information of the target. For another example, the tracking device may comprehensively consider its own motion information, target motion information, and/or desired tracking parameters, etc., before generating multiple initial paths.
此外,在一些实施例中,可以为跟踪设备设置如图5所示的参考路径生成模块,生成多条初始路径的功能可以由该参考路径生成模块完成。In addition, in some embodiments, a reference path generation module as shown in FIG. 5 may be provided for the tracking device, and the function of generating multiple initial paths may be completed by the reference path generation module.
在步骤S324,根据障碍物的位置,确定多条初始路径各自对应的观测视线受到障碍物遮挡的代价。In step S324, according to the position of the obstacle, the cost of the observation line of sight corresponding to each of the multiple initial paths being blocked by the obstacle is determined.
换句话说,每条初始路径可以对应一个代价,由于不同初始路径与障碍物的相对位置不完全相同,导致跟踪设备沿不同初始路径运动时目标被障碍物遮挡的情况可能不同,从而可能导致不同初始路径对应不同的代价。In other words, each initial path can correspond to a cost. Since the relative positions of different initial paths and obstacles are not exactly the same, the situation of the target being blocked by obstacles may be different when the tracking device moves along different initial paths, which may result in different The initial path corresponds to different costs.
每条初始路径对应的代价的计算方式可以有多种。例如,可以根据初始路径与障碍物的最小距离计算每条初始路径对应的代价,距离越小,代价越高;或者,可以根据初始路径周围一定范围内的障碍物的数量计算每条初始路径对应的代价,障碍物的数量越多,代价越高;或者,还可以综合考虑上 述因素计算每条初始路径对应的代价,其中不同因素可以设置相同或不同的权重。There are many ways to calculate the cost corresponding to each initial path. For example, the cost corresponding to each initial path can be calculated according to the minimum distance between the initial path and the obstacle, the smaller the distance, the higher the cost; or, the corresponding cost of each initial path can be calculated according to the number of obstacles in a certain range around the initial path The higher the number of obstacles, the higher the cost; or, the cost corresponding to each initial path can be calculated by comprehensively considering the above factors, and different factors can be set with the same or different weights.
在步骤S326,基于多条初始路径各自对应的观测视线受到障碍物遮挡的代价,从多条初始路径中选取跟踪路径。In step S326, a tracking path is selected from the multiple initial paths based on the cost of the observation line of sight corresponding to each of the multiple initial paths being blocked by obstacles.
在一些实施例中,可以将多条初始路径中的对应代价最小的初始路径确定为跟踪路径。在另一些实施例中,也可以将多条初始路径中的对应代价小于预设阈值的任一初始路径确定为跟踪路径。In some embodiments, the initial path with the smallest corresponding cost among the plurality of initial paths may be determined as the tracking path. In other embodiments, any one of the multiple initial paths whose corresponding cost is less than the preset threshold may be determined as the tracking path.
在图4对应的实施例中,初始路径规划信息包括多个初始目标点的信息。图4中的步骤S422、步骤S424、步骤S426分别对应于图2中的步骤S122、步骤124、步骤S126。下面分别对这些步骤进行详细描述。In the embodiment corresponding to FIG. 4, the initial path planning information includes information of multiple initial target points. Step S422, step S424, and step S426 in FIG. 4 correspond to step S122, step 124, and step S126 in FIG. 2, respectively. These steps are described in detail below.
在步骤S422,至少根据目标的运动信息,确定多个初始目标点。In step S422, a plurality of initial target points are determined at least according to the motion information of the target.
例如,跟踪设备可以直接根据目标的运动信息生成多个初始目标点。又如,跟踪设备可以综合考虑自身的运动信息、目标的运动信息和/或期望的跟踪参数等之后,再生成多个初始目标点。For example, the tracking device can directly generate multiple initial target points based on the motion information of the target. For another example, the tracking device may comprehensively consider its own motion information, target motion information, and/or desired tracking parameters, etc., before generating multiple initial target points.
此外,在一些实施例中,可以为跟踪设备设置如图5所示的参考路径生成模块,生成多个初始目标点的功能可以由该参考路径生成模块完成。In addition, in some embodiments, a reference path generation module as shown in FIG. 5 may be provided for the tracking device, and the function of generating multiple initial target points may be completed by the reference path generation module.
在步骤S424,根据障碍物的位置,确定多个初始目标点各自对应的观测视线受到障碍物遮挡的代价。In step S424, according to the position of the obstacle, the cost of the observation line of sight corresponding to each of the multiple initial target points being blocked by the obstacle is determined.
换句话说,每个初始目标点可以对应一个代价,由于不同初始目标点的位置不同,导致跟踪设备运动至不同初始目标点过程中,目标被障碍物遮挡的情况可能不同,从而可能导致不同初始目标点对应不同的代价。In other words, each initial target point can correspond to a cost. Because the positions of different initial target points are different, the situation of the target being blocked by obstacles may be different when the tracking device moves to different initial target points, which may result in different initial target points. The target points correspond to different costs.
每个初始目标点对应的代价的计算方式可以有多种,例如,可以根据障碍物的位置,对跟踪设备的起始点和初始目标点之间的连线上的各个点与障碍物的距离进行积分,得到多个初始目标点各自对应的观测视线受到障碍物遮挡的代价。或者,可以确定初始目标点和目标之间的连线与障碍物的距离;根据连线与障碍物之间的距离,以及预设的距离与代价之间的映射关系,得到多个初始目标点各自对应的观测视线受到障碍物遮挡的代价。或者,根据所述障碍物的位置,确定所述跟踪设备的起始点和初始目标点之间的连线上的各个采样点;计算所述跟踪设备在所述采样点时,所述观测视线受到遮挡的代价;将多个所述采样点对应的代价进行积分,得到所述多个初始目标点各自对应的所述观测视线受到所述障碍物遮挡的代价。There are many ways to calculate the cost corresponding to each initial target point. For example, the distance between each point on the line between the starting point and the initial target point of the tracking device and the obstacle can be calculated according to the position of the obstacle. Integrate to obtain the cost of obstructing the observation line of sight corresponding to multiple initial target points. Alternatively, the distance between the line between the initial target point and the target and the obstacle can be determined; according to the distance between the line and the obstacle, and the mapping relationship between the preset distance and the cost, multiple initial target points can be obtained The corresponding observation line of sight is blocked by obstacles. Or, according to the position of the obstacle, determine each sampling point on the line between the starting point and the initial target point of the tracking device; when calculating that the tracking device is at the sampling point, the observation line of sight is subject to The cost of occlusion: integrating the costs corresponding to the multiple sampling points to obtain the cost at which the observation line of sight corresponding to each of the multiple initial target points is blocked by the obstacle.
在步骤S426,基于多个初始目标点各自对应的观测视线受到障碍物遮挡的代价,规划得到跟踪路径。In step S426, a tracking path is planned based on the cost of the observation line of sight corresponding to each of the multiple initial target points being blocked by obstacles.
例如,可以从多个备选目标点中选取对应代价最小的目标点;根据代价最小的目标点,规划跟踪路径。又如,可以从多个备选目标点中选取对应代价满足预设阈值的任一目标点,并根据该目标点规划跟踪路径。For example, the target point with the lowest cost can be selected from multiple candidate target points; the tracking path can be planned according to the target point with the lowest cost. For another example, any target point whose corresponding cost meets a preset threshold can be selected from a plurality of candidate target points, and a tracking path can be planned according to the target point.
初始目标点的代价除了可以包括上文描述的有关障碍物遮挡的代价(下文简称遮挡代价),还可以包括避障代价和/或距离代价。下面给出初始目标点的代价的一种可能的计算方式。The cost of the initial target point may not only include the cost of obstacle occlusion described above (hereinafter referred to as occlusion cost), but also include obstacle avoidance cost and/or distance cost. A possible calculation method for the cost of the initial target point is given below.
初始目标点的代价J total满足公式(1): The cost J total of the initial target point satisfies formula (1):
J total=J Obs+J dis+J occu    (1) J total =J Obs +J dis +J occu (1)
公式(1)中的J Obs表示避障代价,J dis表示距离代价,J occu表示遮挡代价。 In formula (1), J Obs represents the cost of avoiding obstacles, J dis represents the cost of distance, and Joccu represents the cost of occlusion.
避障代价J Obs满足公式(2): The obstacle avoidance cost J Obs satisfies formula (2):
J Obs=λ ObsC Obs(2) J ObsObs C Obs (2)
公式(2)中的λ Obs表示避障代价在初始目标点的代价中占的权重,权重的取值可以由用户输入,也可以采用默认值。 Λ Obs in the formula (2) represents the weight of the obstacle avoidance cost in the cost of the initial target point. The value of the weight can be input by the user, or the default value can be adopted.
公式(2)中的C Obs满足公式(3): C Obs in formula (2) satisfies formula (3):
Figure PCTCN2020076729-appb-000001
Figure PCTCN2020076729-appb-000001
在公式(3)中,P u表示跟踪设备的位置,M e(P u)为距跟踪设备最近的障碍物与跟踪设备之间的距离。ε 0表示截断距离,截断距离的取值与跟踪设备的形状和尺寸有关,可以由用户设定,也可以采用默认值。以跟踪设备为无人机为例,ε 0的取值可以为0.5米。 In formula (3), P u represents the location of the tracking device, and Me (P u ) is the distance between the closest obstacle to the tracking device and the tracking device. ε 0 represents the cutoff distance. The value of the cutoff distance is related to the shape and size of the tracking device. It can be set by the user or the default value can be used. Taking the tracking device as an unmanned aerial vehicle as an example, the value of ε 0 can be 0.5 meters.
结合公式(2)和(3)可以看出,避障代价的设置有助于选择到不会与障碍物发生碰撞的初始目标点。Combining formulas (2) and (3), it can be seen that the setting of obstacle avoidance cost helps to select the initial target point that will not collide with obstacles.
在该示例中,距离代价J dis满足公式(4): In this example, the distance cost J dis satisfies formula (4):
J dis=λ disC dis(4) J dis =λ dis C dis (4)
公式(4)中的λ dis表示距离代价在初始目标点的代价中占的权重,权重的取值可以由用户输入,也可以采用默认值。C dis表示初始目标点与期望目标点之间的距离。 The λ dis in formula (4) represents the weight of the distance cost in the cost of the initial target point. The value of the weight can be input by the user, or the default value can be used. C dis represents the distance between the initial target point and the desired target point.
由公式(4)可以看出,距离代价的设置有助于选择到与期望目标点距离最近的初始目标点,从而有助于更好地完成跟踪任务。It can be seen from formula (4) that the setting of the distance cost helps to select the initial target point that is closest to the desired target point, thereby helping to better complete the tracking task.
在该示例中,遮挡代价J occu满足公式(5): In this example, the occlusion cost J occu satisfies formula (5):
Figure PCTCN2020076729-appb-000002
Figure PCTCN2020076729-appb-000002
公式(5)中的λ occu表示遮挡代价在初始目标点的代价中占的权重,权重的取值可以由用户输入,也可以采用默认值。 The λ occu in formula (5) represents the weight of the occlusion cost in the cost of the initial target point. The value of the weight can be input by the user or a default value.
公式(5)中的C occu满足公式(6): C occu in formula (5) satisfies formula (6):
Figure PCTCN2020076729-appb-000003
Figure PCTCN2020076729-appb-000003
上式中,l u表示跟踪设备的起始点(可以将跟踪设备的当前位置作为起始点,也可以将跟踪设备的当前位置附近的一个位置作为起始点)与初始目标点之间的连线所形成的路径上的点。τ取值为0时,l u(τ)表示该路径的起始点;τ取值为1时,l u(τ)表示该路径的终点(终点即为初始目标点)。τ取值从0至1表示对该路径上的点进行遍历。对于遮挡代价而言,当跟踪设备沿着起始点与初始目标点之间的连线运动时,跟踪设备与目标之间的障碍物越少,该遮挡代价的取值越小。因此,该遮挡代价有助于选择到跟踪设备与目标之间障碍物较少的初始目标点,从而提高跟踪成功率。 In the above formula, l u represents the starting point of the tracking device (the current position of the tracking device can be used as the starting point, or a position near the current position of the tracking device can be used as the starting point) and the initial target point. Point on the path formed. When the value of τ is 0, l u (τ) represents the starting point of the path; when the value of τ is 1, l u (τ) represents the end point of the path (the end point is the initial target point). The value of τ from 0 to 1 means to traverse the points on the path. As for the occlusion cost, when the tracking device moves along the line between the starting point and the initial target point, the fewer obstacles between the tracking device and the target, the smaller the value of the occlusion cost. Therefore, the occlusion cost helps to select the initial target point with fewer obstacles between the tracking device and the target, thereby improving the tracking success rate.
观测视线受障碍物遮挡的代价的计算方式可以有多种,公式(5)和(6)仅是一个示例。例如,在一些实施例中,可以0/1的二值化方式表示遮挡代价。以一定的查询半径,查询初始目标点到被跟随的目标的连线路径,障碍物距离小于设定值即认为遮挡,大于设定值即认为不遮挡。如果发生遮挡,则可以给发生遮挡的初始目标点赋予一个较大的代价权重。又如,在一些实施例中,可以查询初始目标点到被跟踪的目标的连线与障碍物距离的最小值,然后设计适当的映射函数,使该距离越小,计算出的初始目标点的代价越大,从而尽可能排除具有遮挡的初始目标点。There are many ways to calculate the cost of observing the line of sight blocked by obstacles, and formulas (5) and (6) are only an example. For example, in some embodiments, the occlusion cost may be expressed in a binary manner of 0/1. With a certain query radius, query the connection path from the initial target point to the target to be followed. The distance of the obstacle is less than the set value and it is considered to be occluded, and the distance greater than the set value is that it is not to be occluded. If occlusion occurs, a larger cost weight can be assigned to the initial target point where the occlusion occurs. For another example, in some embodiments, you can query the minimum distance between the initial target point and the tracked target and the obstacle distance, and then design an appropriate mapping function, so that the smaller the distance, the calculated initial target point The higher the cost, the more occluded initial target points are excluded as much as possible.
通过设计合理的遮挡项代价函数,选择合理的备选目标点,避免飞行路线上障碍物对跟随目标的遮挡,可以使无人机对目标长时间的稳定跟踪,不容易跟丢。另外,减少障碍物对目标的遮挡,提高视觉估计目标位置和速度的精度,可以提高跟随目标平稳性和准确性。By designing a reasonable cost function of the occlusion item and selecting a reasonable candidate target point, avoiding the obstruction of the following target by obstacles on the flight path can make the UAV track the target stably for a long time, and it is not easy to follow it. In addition, the occlusion of the target by obstacles is reduced, the accuracy of visual estimation of the target position and speed is improved, and the stability and accuracy of following the target can be improved.
在一些实施例中,可以为跟踪设备设置如图5所示的局部避障模块,前文描述的路径规划功能可以利用该局部避障模块完成。In some embodiments, the tracking device may be provided with a local obstacle avoidance module as shown in FIG. 5, and the path planning function described above may be completed by using the local obstacle avoidance module.
上文结合图1至图5,详细描述了本申请实施例提供的跟踪目标的方法,下文结合图6,详细描述本申请实施例提供的跟踪设备。应理解,方法侧的 描述与设备侧的描述相互对应,为了简洁,适当省略重复的描述。The foregoing describes in detail the method for tracking a target provided in the embodiment of the present application in conjunction with FIGS. 1 to 5, and the following describes in detail the tracking device provided in the embodiment of the present application in conjunction with FIG. 6. It should be understood that the description on the method side and the description on the device side correspond to each other, and repeated descriptions are appropriately omitted for brevity.
图6是本申请实施例提供的跟踪设备的示意性结构图。如图6所示,跟踪设备600包括存储器610和处理器620。Fig. 6 is a schematic structural diagram of a tracking device provided by an embodiment of the present application. As shown in FIG. 6, the tracking device 600 includes a memory 610 and a processor 620.
存储器610可用于存储程序。The memory 610 can be used to store programs.
处理器620可用于执行存储器中的程序,以执行以下操作:获取目标的运动信息和所述目标所处环境中的障碍物的位置,其中,所述运动信息是基于跟踪设备的视觉传感器获取的;根据所述目标的运动信息和所述障碍物的位置,规划所述跟踪设备对所述目标的跟踪路径,以在所述跟踪设备沿所述跟踪路径运动时,使所述目标保持处于所述视觉传感器的观测范围内。The processor 620 may be used to execute a program in the memory to perform the following operations: obtain the movement information of the target and the position of the obstacle in the environment where the target is located, wherein the movement information is obtained based on the visual sensor of the tracking device ; According to the movement information of the target and the position of the obstacle, plan the tracking path of the tracking device to the target, so that the tracking device keeps the target in place when the tracking device moves along the tracking path Within the observation range of the visual sensor.
具体的,以在所述跟踪设备沿所述跟踪路径运动时,使所述障碍物远离所述跟踪设备对所述目标的观测视线。Specifically, when the tracking device moves along the tracking path, the obstacle is kept away from the observation line of sight of the tracking device to the target.
可选地,在一些实施例中,所述根据所述目标的运动信息和所述障碍物的位置,规划跟踪设备对所述目标的跟踪路径,包括:至少根据所述目标的运动信息生成初始路径规划信息;根据所述障碍物的位置和所述初始路径规划信息确定所述跟踪设备对所述目标的观测视线受到所述障碍物遮挡的代价;基于所述观测视线受到所述障碍物遮挡的代价和所述初始路径规划信息规划得到所述跟踪路径。Optionally, in some embodiments, the planning the tracking path of the tracking device to the target according to the movement information of the target and the position of the obstacle includes: generating an initial track based on at least the movement information of the target Path planning information; determine the cost of the observing line of sight of the tracking device to the target being blocked by the obstacle according to the location of the obstacle and the initial path planning information; based on the obstruction of the observing line of sight by the obstacle And the initial path planning information plan to obtain the tracking path.
可选地,在一些实施例中,所述代价是基于所述障碍物与所述观测视线之间的距离信息确定的。Optionally, in some embodiments, the cost is determined based on distance information between the obstacle and the observation line of sight.
可选地,在一些实施例中,所述至少根据所述目标的运动信息生成初始路径规划信息,包括:至少根据所述目标的运动信息生成多条初始路径;所述根据所述障碍物的位置和所述初始路径规划信息确定所述观测视线受到所述障碍物遮挡的代价,包括:根据所述障碍物的位置,确定所述多条初始路径各自对应的所述观测视线受到所述障碍物遮挡的代价;所述基于所述观测视线受到所述障碍物遮挡的代价和所述初始路径规划信息规划得到所述跟踪路径,包括:基于所述多条初始路径各自对应的所述观测视线受到所述障碍物遮挡的代价,从所述多条初始路径中选取所述跟踪路径。Optionally, in some embodiments, the generating initial path planning information at least according to the movement information of the target includes: generating a plurality of initial paths at least according to the movement information of the target; The location and the initial path planning information determine the cost of obstructing the observation line of sight by the obstacle, including: determining that the observation line of sight corresponding to each of the plurality of initial paths is subject to the obstacle according to the position of the obstacle The cost of object occlusion; the planning to obtain the tracking path based on the cost of the observation line of sight being blocked by the obstacle and the initial path planning information includes: the observation line of sight corresponding to each of the multiple initial paths At the cost of being blocked by the obstacle, the tracking path is selected from the plurality of initial paths.
可选地,在一些实施例中,所述基于所述多条初始路径各自对应的所述观测视线受到所述障碍物遮挡的代价,从所述多条初始路径中选取所述跟踪路径,包括:将所述多条初始路径中的对应代价最小的初始路径确定为所述跟踪路径。Optionally, in some embodiments, the selecting the tracking path from the plurality of initial paths based on the cost that the observation line of sight corresponding to each of the plurality of initial paths is blocked by the obstacle includes : Determine the initial path with the smallest corresponding cost among the multiple initial paths as the tracking path.
可选地,在一些实施例中,所述至少根据所述目标的运动信息生成初始路径规划信息,包括:至少根据所述目标的运动信息,确定多个初始目标点;所述根据所述障碍物的位置和所述初始路径规划信息确定所述观测视线受到所述障碍物遮挡的代价,包括:根据所述障碍物的位置,确定所述多个初始目标点各自对应的所述观测视线受到所述障碍物遮挡的代价;所述基于所述观测视线受到所述障碍物遮挡的代价和所述初始路径规划信息规划得到所述跟踪路径,包括:基于所述多个初始目标点各自对应的所述观测视线受到所述障碍物遮挡的代价,规划得到所述跟踪路径。Optionally, in some embodiments, the generating initial path planning information at least according to the movement information of the target includes: determining a plurality of initial target points according to at least the movement information of the target; The location of the object and the initial path planning information determine the cost of obstructing the observation line of sight by the obstacle, including: determining that the observation line of sight corresponding to each of the multiple initial target points is subject to the obstruction according to the location of the obstacle. The cost of obstruction by the obstacle; the planning to obtain the tracking path based on the cost of the observation line of sight being obscured by the obstacle and the initial path planning information includes: based on the respective corresponding to the plurality of initial target points At the cost of obstructing the observation line of sight by the obstacle, the tracking path is obtained by planning.
可选地,在一些实施例中,所述基于所述多个初始目标点各自对应的所述观测视线受到所述障碍物遮挡的代价,规划得到所述跟踪路径,包括:从所述多个备选目标点中选取对应代价最小的目标点;根据所述代价最小的目标点,规划所述跟踪路径。Optionally, in some embodiments, the planning to obtain the tracking path based on the cost of the observation line of sight corresponding to each of the plurality of initial target points being blocked by the obstacle includes: The target point corresponding to the smallest cost is selected among the candidate target points; and the tracking path is planned according to the target point with the smallest cost.
可选地,在一些实施例中,所述根据所述障碍物的位置,确定所述多个初始目标点各自对应的所述观测视线受到所述障碍物遮挡的代价,包括:根据所述障碍物的位置,对所述跟踪设备的起始点和初始目标点之间的连线上的各个点与所述障碍物的距离进行积分,得到所述多个初始目标点各自对应的所述观测视线受到所述障碍物遮挡的代价。Optionally, in some embodiments, the determining the cost of the observation line of sight corresponding to each of the plurality of initial target points being blocked by the obstacle according to the position of the obstacle includes: according to the obstacle The position of the object, the distance between each point on the line between the starting point of the tracking device and the initial target point and the obstacle is integrated to obtain the observation line of sight corresponding to each of the multiple initial target points The cost of being blocked by the obstacle.
可选地,在一些实施例中,所述根据所述障碍物的位置,确定所述多个初始目标点各自对应的所述观测视线受到所述障碍物遮挡的代价,包括:根据所述障碍物的位置,确定所述跟踪设备的起始点和初始目标点之间的连线上的各个采样点;计算所述跟踪设备在所述采样点时,所述观测视线受到遮挡的代价;将多个所述采样点对应的代价进行积分,得到所述多个初始目标点各自对应的所述观测视线受到所述障碍物遮挡的代价。Optionally, in some embodiments, the determining the cost of the observation line of sight corresponding to each of the plurality of initial target points being blocked by the obstacle according to the position of the obstacle includes: according to the obstacle The position of the object is determined, and each sampling point on the line between the starting point of the tracking device and the initial target point is determined; the cost of obstructing the observation line of sight when the tracking device is at the sampling point is calculated; The costs corresponding to the sampling points are integrated to obtain the costs at which the observation line of sight corresponding to each of the multiple initial target points is blocked by the obstacle.
可选地,在一些实施例中,所述根据所述障碍物的位置,确定所述多个初始目标点各自对应的所述观测视线受到所述障碍物遮挡的代价,包括:确定所述初始目标点和所述目标之间的连线与所述障碍物的距离;根据所述连线与所述障碍物之间的距离,以及预设的距离与代价之间的映射关系,得到所述多个初始目标点各自对应的所述观测视线受到所述障碍物遮挡的代价。Optionally, in some embodiments, the determining the cost of the observation line of sight corresponding to each of the plurality of initial target points being blocked by the obstacle according to the position of the obstacle includes: determining the initial The distance between the line between the target point and the target and the obstacle; according to the distance between the line and the obstacle, and the preset mapping relationship between the distance and the cost, the A cost at which the observation line of sight corresponding to each of the multiple initial target points is blocked by the obstacle.
可选地,在一些实施例中,所述跟踪路径的规划还基于避障代价和/或距离代价,所述避障代价用于表示所述跟踪设备与障碍物发生碰撞的可能性,所述距离代价用于表示所述跟踪设备的跟踪参数与期望的跟踪参数之间的 差异。Optionally, in some embodiments, the tracking path planning is also based on obstacle avoidance cost and/or distance cost, and the obstacle avoidance cost is used to indicate the possibility of collision between the tracking device and an obstacle, and The distance cost is used to represent the difference between the tracking parameters of the tracking device and the desired tracking parameters.
可选地,在一些实施例中,所述期望的跟踪参数为预设值或由所述跟踪设备的用户输入。Optionally, in some embodiments, the desired tracking parameter is a preset value or input by a user of the tracking device.
可选地,在一些实施例中,所述跟踪参数包括以下参数中的一种或多种:跟踪距离、跟踪高度、跟踪角度。Optionally, in some embodiments, the tracking parameters include one or more of the following parameters: tracking distance, tracking height, and tracking angle.
可选地,在一些实施例中,所述处理器还用于执行以下操作:获取所述跟踪设备的运动信息;所述根据所述目标的运动信息和所述障碍物的位置,规划跟踪设备对所述目标的跟踪路径,包括:根据所述目标的运动信息、所述障碍物的位置和所述跟踪设备的运动信息规划所述跟踪设备对所述目标的跟踪路径。Optionally, in some embodiments, the processor is further configured to perform the following operations: obtain movement information of the tracking device; and plan the tracking device according to the movement information of the target and the location of the obstacle The tracking path of the target includes: planning the tracking path of the tracking device to the target according to the motion information of the target, the location of the obstacle, and the motion information of the tracking device.
可选地,在一些实施例中,所述运动信息包括以下一种或多种信息:位置信息、速度信息、加速度信息、朝向信息、姿态信息。Optionally, in some embodiments, the motion information includes one or more of the following information: position information, speed information, acceleration information, orientation information, and posture information.
可选地,在一些实施例中,所述障碍物包括所述跟踪设备周围的障碍物和/或所述目标周围的障碍物。Optionally, in some embodiments, the obstacles include obstacles around the tracking device and/or obstacles around the target.
可选地,在一些实施例中,所述获取所述目标所处环境中的障碍物的位置,包括:在地图数据中查找所述障碍物的位置和/或基于所述跟踪设备的传感器获取所述障碍物的位置。Optionally, in some embodiments, the acquiring the location of the obstacle in the environment where the target is located includes: finding the location of the obstacle in map data and/or acquiring based on the sensor of the tracking device The location of the obstacle.
规划模块依赖地图模块来对无人机周围的障碍物情况进行判断。无人机利用深度传感器(如双目系统),对周围的环境进行构建。通过局部地图,可以查询一个坐标点是不是被障碍物占据,也可以查询一个坐标点,与最近的障碍物的距离。The planning module relies on the map module to judge the obstacles around the drone. UAVs use depth sensors (such as binocular systems) to build the surrounding environment. Through the local map, you can query whether a coordinate point is occupied by an obstacle, or you can query a coordinate point and the distance to the nearest obstacle.
可选地,在一些实施例中,所述跟踪设备为无人机、无人车、水下机器人或行走机器人。Optionally, in some embodiments, the tracking device is a drone, an unmanned vehicle, an underwater robot, or a walking robot.
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其他任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本发明实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线 (例如同轴电缆、光纤、数字用户线(digital subscriber line,DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质(例如,软盘、硬盘、磁带)、光介质(例如数字视频光盘(digital video disc,DVD))、或者半导体介质(例如固态硬盘(solid state disk,SSD))等。In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware or any other combination. When implemented by software, it can be implemented in the form of a computer program product in whole or in part. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on the computer, the processes or functions described in the embodiments of the present invention are generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from a website, computer, server, or data center. Transmission to another website, computer, server, or data center via wired (such as coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (such as infrared, wireless, microwave, etc.). The computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server or a data center integrated with one or more available media. The usable medium may be a magnetic medium (for example, a floppy disk, a hard disk, a tape), an optical medium (for example, a digital video disc (DVD)), or a semiconductor medium (for example, a solid state disk (SSD)), etc. .
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。A person of ordinary skill in the art may realize that the units and algorithm steps of the examples described in combination with the embodiments disclosed herein can be implemented by electronic hardware or a combination of computer software and electronic hardware. Whether these functions are executed by hardware or software depends on the specific application and design constraint conditions of the technical solution. Professionals and technicians can use different methods for each specific application to implement the described functions, but such implementation should not be considered beyond the scope of this application.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed system, device, and method can be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the units is only a logical function division, and there may be other divisions in actual implementation, for example, multiple units or components may be combined or It can be integrated into another system, or some features can be ignored or not implemented. In addition, the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, the functional units in the various embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。The above are only specific implementations of this application, but the protection scope of this application is not limited to this. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed in this application. Should be covered within the scope of protection of this application. Therefore, the protection scope of this application should be subject to the protection scope of the claims.

Claims (34)

  1. 一种路径规划的方法,其特征在于,包括:A method for path planning, characterized in that it includes:
    获取目标的运动信息和所述目标所处环境中的障碍物的位置,其中,所述运动信息是基于跟踪设备的视觉传感器获取的;Acquiring movement information of the target and the location of obstacles in the environment where the target is located, wherein the movement information is acquired based on a visual sensor of a tracking device;
    根据所述目标的运动信息和所述障碍物的位置,规划所述跟踪设备对所述目标的跟踪路径,以在所述跟踪设备沿所述跟踪路径运动时,使所述目标保持处于所述视觉传感器的观测范围内。According to the movement information of the target and the position of the obstacle, the tracking path of the tracking device to the target is planned, so that when the tracking device moves along the tracking path, the target remains at the Within the observation range of the vision sensor.
  2. 根据权利要求1所述的方法,其特征在于,所述根据所述目标的运动信息和所述障碍物的位置,规划跟踪设备对所述目标的跟踪路径,包括:The method according to claim 1, wherein the planning a tracking path for the target by a tracking device according to the motion information of the target and the position of the obstacle comprises:
    至少根据所述目标的运动信息生成初始路径规划信息;Generating initial path planning information at least according to the movement information of the target;
    根据所述障碍物的位置和所述初始路径规划信息确定所述跟踪设备对所述目标的观测视线受到所述障碍物遮挡的代价;Determining, according to the position of the obstacle and the initial path planning information, the cost of the observing line of sight of the tracking device to the target being blocked by the obstacle;
    基于所述观测视线受到所述障碍物遮挡的代价和所述初始路径规划信息规划得到所述跟踪路径。The tracking path is planned based on the cost of the observation line of sight being blocked by the obstacle and the initial path planning information.
  3. 根据权利要求2所述的方法,其特征在于,所述代价是基于所述障碍物与所述观测视线之间的距离信息确定的。The method according to claim 2, wherein the cost is determined based on distance information between the obstacle and the observation line of sight.
  4. 根据权利要求2所述的方法,其特征在于,所述至少根据所述目标的运动信息生成初始路径规划信息,包括:The method according to claim 2, wherein the generating initial path planning information at least according to the movement information of the target comprises:
    至少根据所述目标的运动信息生成多条初始路径;Generate multiple initial paths at least according to the movement information of the target;
    所述根据所述障碍物的位置和所述初始路径规划信息确定所述观测视线受到所述障碍物遮挡的代价,包括:The determining the cost of obstructing the observation line of sight by the obstacle according to the position of the obstacle and the initial path planning information includes:
    根据所述障碍物的位置,确定所述多条初始路径各自对应的所述观测视线受到所述障碍物遮挡的代价;Determine the cost of obstructing the observation line of sight corresponding to each of the multiple initial paths by the obstacle according to the position of the obstacle;
    所述基于所述观测视线受到所述障碍物遮挡的代价和所述初始路径规划信息规划得到所述跟踪路径,包括:The planning to obtain the tracking path based on the cost of the observation line of sight being blocked by the obstacle and the initial path planning information includes:
    基于所述多条初始路径各自对应的所述观测视线受到所述障碍物遮挡的代价,从所述多条初始路径中选取所述跟踪路径。The tracking path is selected from the plurality of initial paths based on the cost that the observation line of sight corresponding to each of the plurality of initial paths is blocked by the obstacle.
  5. 根据权利要求4所述的方法,其特征在于,所述基于所述多条初始路径各自对应的所述观测视线受到所述障碍物遮挡的代价,从所述多条初始路径中选取所述跟踪路径,包括:The method according to claim 4, wherein the tracking is selected from the plurality of initial paths based on the cost that the observation line of sight corresponding to each of the plurality of initial paths is blocked by the obstacle. Path, including:
    将所述多条初始路径中的对应代价最小的初始路径确定为所述跟踪路 径。The initial path with the smallest corresponding cost among the plurality of initial paths is determined as the tracking path.
  6. 根据权利要求2所述的方法,其特征在于,所述至少根据所述目标的运动信息生成初始路径规划信息,包括:The method according to claim 2, wherein the generating initial path planning information at least according to the movement information of the target comprises:
    至少根据所述目标的运动信息,确定多个初始目标点;Determine multiple initial target points at least according to the motion information of the target;
    所述根据所述障碍物的位置和所述初始路径规划信息确定所述观测视线受到所述障碍物遮挡的代价,包括:The determining the cost of obstructing the observation line of sight by the obstacle according to the position of the obstacle and the initial path planning information includes:
    根据所述障碍物的位置,确定所述多个初始目标点各自对应的所述观测视线受到所述障碍物遮挡的代价;Determine the cost of obstructing the observation line of sight corresponding to each of the multiple initial target points by the obstacle according to the position of the obstacle;
    所述基于所述观测视线受到所述障碍物遮挡的代价和所述初始路径规划信息规划得到所述跟踪路径,包括:The planning to obtain the tracking path based on the cost of the observation line of sight being blocked by the obstacle and the initial path planning information includes:
    基于所述多个初始目标点各自对应的所述观测视线受到所述障碍物遮挡的代价,规划得到所述跟踪路径。Based on the cost that the observation line of sight corresponding to each of the plurality of initial target points is blocked by the obstacle, the tracking path is obtained by planning.
  7. 根据权利要求6所述的方法,其特征在于,所述基于所述多个初始目标点各自对应的所述观测视线受到所述障碍物遮挡的代价,规划得到所述跟踪路径,包括:The method according to claim 6, wherein the planning to obtain the tracking path based on the cost of the observation line of sight corresponding to each of the plurality of initial target points being blocked by the obstacle comprises:
    从所述多个备选目标点中选取对应代价最小的目标点;Selecting a target point with the smallest corresponding cost from the multiple candidate target points;
    根据所述代价最小的目标点,规划所述跟踪路径。Plan the tracking path according to the target point with the least cost.
  8. 根据权利要求6所述的方法,其特征在于,所述根据所述障碍物的位置,确定所述多个初始目标点各自对应的所述观测视线受到所述障碍物遮挡的代价,包括:The method according to claim 6, wherein the determining the cost of the observation line of sight corresponding to each of the plurality of initial target points being blocked by the obstacle according to the position of the obstacle comprises:
    根据所述障碍物的位置,确定所述跟踪设备的起始点和初始目标点之间的连线上的各个采样点;Determine each sampling point on the line between the starting point and the initial target point of the tracking device according to the position of the obstacle;
    计算所述跟踪设备在所述采样点时,所述观测视线受到遮挡的代价;Calculating the cost of obstructing the observation line of sight when the tracking device is at the sampling point;
    将多个所述采样点对应的代价进行积分,得到所述多个初始目标点各自对应的所述观测视线受到所述障碍物遮挡的代价。The costs corresponding to the multiple sampling points are integrated to obtain the costs at which the observation line of sight corresponding to each of the multiple initial target points is blocked by the obstacle.
  9. 根据权利要求6所述的方法,其特征在于,所述根据所述障碍物的位置,确定所述多个初始目标点各自对应的所述观测视线受到所述障碍物遮挡的代价,包括:The method according to claim 6, wherein the determining the cost of the observation line of sight corresponding to each of the plurality of initial target points being blocked by the obstacle according to the position of the obstacle comprises:
    确定所述初始目标点和所述目标之间的连线与所述障碍物的距离;Determining the distance between the line between the initial target point and the target and the obstacle;
    根据所述连线与所述障碍物之间的距离,以及预设的距离与代价之间的映射关系,得到所述多个初始目标点各自对应的所述观测视线受到所述障碍 物遮挡的代价。According to the distance between the line and the obstacle, and the mapping relationship between the preset distance and the cost, it is obtained that the observation line of sight corresponding to each of the multiple initial target points is blocked by the obstacle cost.
  10. 根据权利要求2或3所述的方法,其特征在于,所述跟踪路径的规划还基于避障代价和/或距离代价,所述避障代价用于表示所述跟踪设备与障碍物发生碰撞的可能性,所述距离代价用于表示所述跟踪设备的跟踪参数与期望的跟踪参数之间的差异。The method according to claim 2 or 3, wherein the planning of the tracking path is also based on obstacle avoidance cost and/or distance cost, and the obstacle avoidance cost is used to indicate the collision between the tracking device and the obstacle. Possibly, the distance cost is used to indicate the difference between the tracking parameter of the tracking device and the desired tracking parameter.
  11. 根据权利要求10所述的方法,其特征在于,所述期望的跟踪参数为预设值或由所述跟踪设备的用户输入。The method according to claim 10, wherein the desired tracking parameter is a preset value or input by a user of the tracking device.
  12. 根据权利要求11所述的方法,其特征在于,所述跟踪参数包括以下参数中的一种或多种:跟踪距离、跟踪高度、跟踪角度。The method according to claim 11, wherein the tracking parameters include one or more of the following parameters: tracking distance, tracking height, and tracking angle.
  13. 根据权利要求1所述的方法,其特征在于,所述方法还包括:The method according to claim 1, wherein the method further comprises:
    获取所述跟踪设备的运动信息;Acquiring movement information of the tracking device;
    所述根据所述目标的运动信息和所述障碍物的位置,规划跟踪设备对所述目标的跟踪路径,包括:The planning the tracking path of the tracking device to the target according to the movement information of the target and the position of the obstacle includes:
    根据所述目标的运动信息、所述障碍物的位置和所述跟踪设备的运动信息规划所述跟踪设备对所述目标的跟踪路径。Planning the tracking path of the tracking device to the target according to the movement information of the target, the location of the obstacle, and the movement information of the tracking device.
  14. 根据权利要求1-13中任一项所述的方法,其特征在于,所述运动信息包括以下一种或多种信息:位置信息、速度信息、加速度信息、朝向信息、姿态信息。The method according to any one of claims 1-13, wherein the motion information includes one or more of the following information: position information, speed information, acceleration information, orientation information, and posture information.
  15. 根据权利要求1-13中任一项所述的方法,其特征在于,所述障碍物包括所述跟踪设备周围的障碍物和/或所述目标周围的障碍物。The method according to any one of claims 1-13, wherein the obstacle comprises an obstacle around the tracking device and/or an obstacle around the target.
  16. 根据权利要求1-13中任一项所述的方法,其特征在于,所述获取所述目标所处环境中的障碍物的位置,包括:The method according to any one of claims 1-13, wherein the obtaining the position of the obstacle in the environment where the target is located comprises:
    在地图数据中查找所述障碍物的位置和/或基于所述跟踪设备的传感器获取所述障碍物的位置。Find the location of the obstacle in the map data and/or obtain the location of the obstacle based on the sensor of the tracking device.
  17. 一种跟踪设备,其特征在于,包括:A tracking device, characterized in that it comprises:
    存储器,用于存储程序;Memory, used to store programs;
    处理器,用于执行所述存储器中存储的程序,以执行以下操作:The processor is configured to execute the program stored in the memory to perform the following operations:
    获取目标的运动信息和所述目标所处环境中的障碍物的位置,其中,所述运动信息是基于跟踪设备的视觉传感器获取的;Acquiring movement information of the target and the location of obstacles in the environment where the target is located, wherein the movement information is acquired based on a visual sensor of a tracking device;
    根据所述目标的运动信息和所述障碍物的位置,规划所述跟踪设备对所述目标的跟踪路径,以在所述跟踪设备沿所述跟踪路径运动时,所述目标保 持处于所述视觉传感器的观测范围内。According to the movement information of the target and the position of the obstacle, the tracking path of the tracking device to the target is planned, so that when the tracking device moves along the tracking path, the target remains in the visual field. Within the observation range of the sensor.
  18. 根据权利要求17所述的跟踪设备,其特征在于,所述根据所述目标的运动信息和所述障碍物的位置,规划跟踪设备对所述目标的跟踪路径,包括:The tracking device according to claim 17, wherein the planning a tracking path of the tracking device to the target according to the movement information of the target and the position of the obstacle comprises:
    至少根据所述目标的运动信息生成初始路径规划信息;Generating initial path planning information at least according to the movement information of the target;
    根据所述障碍物的位置和所述初始路径规划信息确定所述跟踪设备对所述目标的观测视线受到所述障碍物遮挡的代价;Determining, according to the position of the obstacle and the initial path planning information, the cost of the observing line of sight of the tracking device to the target being blocked by the obstacle;
    基于所述观测视线受到所述障碍物遮挡的代价和所述初始路径规划信息规划得到所述跟踪路径。The tracking path is planned based on the cost of the observation line of sight being blocked by the obstacle and the initial path planning information.
  19. 根据权利要求18所述的方法,其特征在于,所述代价是基于所述障碍物与所述观测视线之间的距离信息确定的。The method according to claim 18, wherein the cost is determined based on distance information between the obstacle and the observation line of sight.
  20. 根据权利要求18所述的跟踪设备,其特征在于,所述至少根据所述目标的运动信息生成初始路径规划信息,包括:The tracking device according to claim 18, wherein the generating initial path planning information at least according to the motion information of the target comprises:
    至少根据所述目标的运动信息生成多条初始路径;Generate multiple initial paths at least according to the movement information of the target;
    所述根据所述障碍物的位置和所述初始路径规划信息确定所述观测视线受到所述障碍物遮挡的代价,包括:The determining the cost of obstructing the observation line of sight by the obstacle according to the position of the obstacle and the initial path planning information includes:
    根据所述障碍物的位置,确定所述多条初始路径各自对应的所述观测视线受到所述障碍物遮挡的代价;Determine the cost of obstructing the observation line of sight corresponding to each of the multiple initial paths by the obstacle according to the position of the obstacle;
    所述基于所述观测视线受到所述障碍物遮挡的代价和所述初始路径规划信息规划得到所述跟踪路径,包括:The planning to obtain the tracking path based on the cost of the observation line of sight being blocked by the obstacle and the initial path planning information includes:
    基于所述多条初始路径各自对应的所述观测视线受到所述障碍物遮挡的代价,从所述多条初始路径中选取所述跟踪路径。The tracking path is selected from the plurality of initial paths based on the cost that the observation line of sight corresponding to each of the plurality of initial paths is blocked by the obstacle.
  21. 根据权利要求20所述的跟踪设备,其特征在于,所述基于所述多条初始路径各自对应的所述观测视线受到所述障碍物遮挡的代价,从所述多条初始路径中选取所述跟踪路径,包括:The tracking device according to claim 20, wherein the observation line of sight corresponding to each of the plurality of initial paths is selected from the plurality of initial paths at the cost of being blocked by the obstacle. Tracking path, including:
    将所述多条初始路径中的对应代价最小的初始路径确定为所述跟踪路径。The initial path with the smallest corresponding cost among the plurality of initial paths is determined as the tracking path.
  22. 根据权利要求18所述的跟踪设备,其特征在于,所述至少根据所述目标的运动信息生成初始路径规划信息,包括:The tracking device according to claim 18, wherein the generating initial path planning information at least according to the motion information of the target comprises:
    至少根据所述目标的运动信息,确定多个初始目标点;Determine multiple initial target points at least according to the motion information of the target;
    所述根据所述障碍物的位置和所述初始路径规划信息确定所述观测视 线受到所述障碍物遮挡的代价,包括:The determining the cost of obstructing the observation line of sight by the obstacle according to the position of the obstacle and the initial path planning information includes:
    根据所述障碍物的位置,确定所述多个初始目标点各自对应的所述观测视线受到所述障碍物遮挡的代价;Determine the cost of obstructing the observation line of sight corresponding to each of the multiple initial target points by the obstacle according to the position of the obstacle;
    所述基于所述观测视线受到所述障碍物遮挡的代价和所述初始路径规划信息规划得到所述跟踪路径,包括:The planning to obtain the tracking path based on the cost of the observation line of sight being blocked by the obstacle and the initial path planning information includes:
    基于所述多个初始目标点各自对应的所述观测视线受到所述障碍物遮挡的代价,规划得到所述跟踪路径。Based on the cost that the observation line of sight corresponding to each of the plurality of initial target points is blocked by the obstacle, the tracking path is obtained by planning.
  23. 根据权利要求22所述的跟踪设备,其特征在于,所述基于所述多个初始目标点各自对应的所述观测视线受到所述障碍物遮挡的代价,规划得到所述跟踪路径,包括:The tracking device according to claim 22, wherein the planning to obtain the tracking path based on the cost of the observation line of sight corresponding to each of the plurality of initial target points being blocked by the obstacle comprises:
    从所述多个备选目标点中选取对应代价最小的目标点;Selecting a target point with the smallest corresponding cost from the multiple candidate target points;
    根据所述代价最小的目标点,规划所述跟踪路径。Plan the tracking path according to the target point with the least cost.
  24. 根据权利要求22所述的跟踪设备,其特征在于,所述根据所述障碍物的位置,确定所述多个初始目标点各自对应的所述观测视线受到所述障碍物遮挡的代价,包括:The tracking device according to claim 22, wherein the determining the cost of the observation line of sight corresponding to each of the plurality of initial target points being blocked by the obstacle according to the position of the obstacle comprises:
    根据所述障碍物的位置,确定所述跟踪设备的起始点和初始目标点之间的连线上的各个采样点;Determine each sampling point on the line between the starting point and the initial target point of the tracking device according to the position of the obstacle;
    计算所述跟踪设备在所述采样点时,所述观测视线受到遮挡的代价;Calculating the cost of obstructing the observation line of sight when the tracking device is at the sampling point;
    将多个所述采样点对应的代价进行积分,得到所述多个初始目标点各自对应的所述观测视线受到所述障碍物遮挡的代价。The costs corresponding to the multiple sampling points are integrated to obtain the costs at which the observation line of sight corresponding to each of the multiple initial target points is blocked by the obstacle.
  25. 根据权利要求22所述的跟踪设备,其特征在于,所述根据所述障碍物的位置,确定所述多个初始目标点各自对应的所述观测视线受到所述障碍物遮挡的代价,包括:The tracking device according to claim 22, wherein the determining the cost of the observation line of sight corresponding to each of the plurality of initial target points being blocked by the obstacle according to the position of the obstacle comprises:
    确定所述初始目标点和所述目标之间的连线与所述障碍物的距离;Determining the distance between the line between the initial target point and the target and the obstacle;
    根据所述连线与所述障碍物之间的距离,以及预设的距离与代价之间的映射关系,得到所述多个初始目标点各自对应的所述观测视线受到所述障碍物遮挡的代价。According to the distance between the line and the obstacle, and the mapping relationship between the preset distance and the cost, it is obtained that the observation line of sight corresponding to each of the multiple initial target points is blocked by the obstacle cost.
  26. 根据权利要求18所述的跟踪设备,其特征在于,所述跟踪路径的规划还基于避障代价和/或距离代价,所述避障代价用于表示所述跟踪设备与障碍物发生碰撞的可能性,所述距离代价用于表示所述跟踪设备的跟踪参数与期望的跟踪参数之间的差异。The tracking device according to claim 18, wherein the planning of the tracking path is also based on an obstacle avoidance cost and/or a distance cost, and the obstacle avoidance cost is used to indicate the possibility of a collision between the tracking device and an obstacle The distance cost is used to indicate the difference between the tracking parameter of the tracking device and the desired tracking parameter.
  27. 根据权利要求26所述的跟踪设备,其特征在于,所述期望的跟踪参数为预设值或由所述跟踪设备的用户输入。The tracking device according to claim 26, wherein the desired tracking parameter is a preset value or input by a user of the tracking device.
  28. 根据权利要求27所述的跟踪设备,其特征在于,所述跟踪参数包括以下参数中的一种或多种:跟踪距离、跟踪高度、跟踪角度。The tracking device according to claim 27, wherein the tracking parameters comprise one or more of the following parameters: tracking distance, tracking height, and tracking angle.
  29. 根据权利要求17所述的跟踪设备,其特征在于,所述处理器还用于执行以下操作:The tracking device according to claim 17, wherein the processor is further configured to perform the following operations:
    获取所述跟踪设备的运动信息;Acquiring movement information of the tracking device;
    所述根据所述目标的运动信息和所述障碍物的位置,规划跟踪设备对所述目标的跟踪路径,包括:The planning the tracking path of the tracking device to the target according to the movement information of the target and the position of the obstacle includes:
    根据所述目标的运动信息、所述障碍物的位置和所述跟踪设备的运动信息规划所述跟踪设备对所述目标的跟踪路径。Planning the tracking path of the tracking device to the target according to the movement information of the target, the location of the obstacle, and the movement information of the tracking device.
  30. 根据权利要求17-29中任一项所述的跟踪设备,其特征在于,所述运动信息包括以下一种或多种信息:位置信息、速度信息、加速度信息、朝向信息、姿态信息。The tracking device according to any one of claims 17-29, wherein the motion information includes one or more of the following information: position information, speed information, acceleration information, orientation information, and posture information.
  31. 根据权利要求17-29中任一项所述的跟踪设备,其特征在于,所述障碍物包括所述跟踪设备周围的障碍物和/或所述目标周围的障碍物。The tracking device according to any one of claims 17-29, wherein the obstacle comprises an obstacle around the tracking device and/or an obstacle around the target.
  32. 根据权利要求17-29中任一项所述的跟踪设备,其特征在于,所述获取所述目标所处环境中的障碍物的位置,包括:The tracking device according to any one of claims 17-29, wherein the acquiring the position of the obstacle in the environment where the target is located comprises:
    在地图数据中查找所述障碍物的位置和/或基于所述跟踪设备的传感器获取所述障碍物的位置。Find the location of the obstacle in the map data and/or obtain the location of the obstacle based on the sensor of the tracking device.
  33. 一种机器可读存储介质,其特征在于,其上存储有用于执行如权利要求1-16中任一项所述的方法的指令。A machine-readable storage medium, characterized in that instructions for executing the method according to any one of claims 1-16 are stored thereon.
  34. 一种计算机程序产品,其特征在于,包括用于执行如权利要求1-16中任一项所述的方法的指令。A computer program product, characterized by comprising instructions for executing the method according to any one of claims 1-16.
PCT/CN2020/076729 2020-02-26 2020-02-26 Path planning method, tracking device, storage medium, and computer program product WO2021168678A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202080004124.0A CN112513766A (en) 2020-02-26 2020-02-26 Method, tracking device, storage medium and computer program product for path planning
PCT/CN2020/076729 WO2021168678A1 (en) 2020-02-26 2020-02-26 Path planning method, tracking device, storage medium, and computer program product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2020/076729 WO2021168678A1 (en) 2020-02-26 2020-02-26 Path planning method, tracking device, storage medium, and computer program product

Publications (1)

Publication Number Publication Date
WO2021168678A1 true WO2021168678A1 (en) 2021-09-02

Family

ID=74952829

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/076729 WO2021168678A1 (en) 2020-02-26 2020-02-26 Path planning method, tracking device, storage medium, and computer program product

Country Status (2)

Country Link
CN (1) CN112513766A (en)
WO (1) WO2021168678A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115716603A (en) * 2022-12-05 2023-02-28 北京京能电力股份有限公司 Bucket wheel machine material taking path planning method and system

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112965917A (en) * 2021-04-15 2021-06-15 北京航迹科技有限公司 Test method, device, equipment and storage medium for automatic driving
CN116382328B (en) * 2023-03-09 2024-04-12 南通大学 Dam intelligent detection method based on cooperation of multiple robots in water and air

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070250260A1 (en) * 2006-04-25 2007-10-25 Honeywell International Inc. Method and system for autonomous tracking of a mobile target by an unmanned aerial vehicle
US20090187299A1 (en) * 2008-01-23 2009-07-23 Fregene Kingsley Oc Method and System for Autonomous Tracking of a Mobile Target by an Unmanned Aerial Vehicle
CN103149939A (en) * 2013-02-26 2013-06-12 北京航空航天大学 Dynamic target tracking and positioning method of unmanned plane based on vision
CN104828256A (en) * 2015-04-21 2015-08-12 杨珊珊 Intelligent multi-mode flying shooting equipment and flying control method thereof
CN105759839A (en) * 2016-03-01 2016-07-13 深圳市大疆创新科技有限公司 Unmanned aerial vehicle (UAV) visual tracking method, apparatus, and UAV
CN107223219A (en) * 2016-09-26 2017-09-29 深圳市大疆创新科技有限公司 Control method, control device and delivery system
CN108121361A (en) * 2018-02-10 2018-06-05 安徽工程大学 A kind of quadrotor automated spacecraft

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070250260A1 (en) * 2006-04-25 2007-10-25 Honeywell International Inc. Method and system for autonomous tracking of a mobile target by an unmanned aerial vehicle
US20090187299A1 (en) * 2008-01-23 2009-07-23 Fregene Kingsley Oc Method and System for Autonomous Tracking of a Mobile Target by an Unmanned Aerial Vehicle
CN103149939A (en) * 2013-02-26 2013-06-12 北京航空航天大学 Dynamic target tracking and positioning method of unmanned plane based on vision
CN104828256A (en) * 2015-04-21 2015-08-12 杨珊珊 Intelligent multi-mode flying shooting equipment and flying control method thereof
CN105759839A (en) * 2016-03-01 2016-07-13 深圳市大疆创新科技有限公司 Unmanned aerial vehicle (UAV) visual tracking method, apparatus, and UAV
CN107223219A (en) * 2016-09-26 2017-09-29 深圳市大疆创新科技有限公司 Control method, control device and delivery system
CN108121361A (en) * 2018-02-10 2018-06-05 安徽工程大学 A kind of quadrotor automated spacecraft

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115716603A (en) * 2022-12-05 2023-02-28 北京京能电力股份有限公司 Bucket wheel machine material taking path planning method and system
CN115716603B (en) * 2022-12-05 2023-12-15 北京京能电力股份有限公司 Bucket wheel machine material taking path planning method and system

Also Published As

Publication number Publication date
CN112513766A (en) 2021-03-16

Similar Documents

Publication Publication Date Title
US11592845B2 (en) Image space motion planning of an autonomous vehicle
WO2021168678A1 (en) Path planning method, tracking device, storage medium, and computer program product
US20240062663A1 (en) User Interaction With An Autonomous Unmanned Aerial Vehicle
US9996944B2 (en) Systems and methods for mapping an environment
CN112567201B (en) Distance measuring method and device
US10102429B2 (en) Systems and methods for capturing images and annotating the captured images with information
CN113284240B (en) Map construction method and device, electronic equipment and storage medium
CN107329490B (en) Unmanned aerial vehicle obstacle avoidance method and unmanned aerial vehicle
JP6705465B2 (en) Observability grid-based autonomous environment search
US11788845B2 (en) Systems and methods for robust self-relocalization in a visual map
US11748998B1 (en) Three-dimensional object estimation using two-dimensional annotations
JP7166446B2 (en) System and method for estimating pose of robot, robot, and storage medium
JP7322670B2 (en) Self-localization model learning method, self-localization model learning device, self-localization model learning program, self-localization method, self-localization device, self-localization program, and robot
US20210402616A1 (en) Information processing apparatus, information processing method, mobile robot, and non-transitory computer-readable storage medium
JP2020064029A (en) Mobile body controller
WO2021223166A1 (en) State information determination method, apparatus and system, and movable platform and storage medium
Steenbeek CNN based dense monocular visual SLAM for indoor mapping and autonomous exploration
JP7199337B2 (en) Position estimation device, position estimation method and program
WO2022160101A1 (en) Orientation estimation method and apparatus, movable platform, and readable storage medium
US20240091950A1 (en) Probabilistic approach to unifying representations for robotic mapping
US10636205B2 (en) Systems and methods for outlier edge rejection
CN116740297A (en) Unmanned aerial vehicle-based autonomous indoor facility detection and scene reconstruction exploration and development system

Legal Events

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

Ref document number: 20920977

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20920977

Country of ref document: EP

Kind code of ref document: A1