WO2022061614A1 - Movable platform control method, control apparatus, movable platform, and computer storage medium - Google Patents

Movable platform control method, control apparatus, movable platform, and computer storage medium Download PDF

Info

Publication number
WO2022061614A1
WO2022061614A1 PCT/CN2020/117221 CN2020117221W WO2022061614A1 WO 2022061614 A1 WO2022061614 A1 WO 2022061614A1 CN 2020117221 W CN2020117221 W CN 2020117221W WO 2022061614 A1 WO2022061614 A1 WO 2022061614A1
Authority
WO
WIPO (PCT)
Prior art keywords
restricted area
movable platform
grid
area
restricted
Prior art date
Application number
PCT/CN2020/117221
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 PCT/CN2020/117221 priority Critical patent/WO2022061614A1/en
Publication of WO2022061614A1 publication Critical patent/WO2022061614A1/en

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D1/00Control of position, course, altitude or attitude of land, water, air or space vehicles, e.g. using automatic pilots
    • G05D1/10Simultaneous control of position or course in three dimensions

Definitions

  • the present invention generally relates to the technical field of data processing, and more particularly, to a control method of a movable platform, a control device, a movable platform and a computer storage medium.
  • airport restricted flight areas Most of the airport restricted flight areas consider drones in the horizontal and vertical directions respectively.
  • the common form of the airport restricted flight area is that there is an expanded area with a fixed height limit outside the no-fly area that is not allowed to take off at all.
  • control method for a movable platform comprising:
  • Movement of the movable platform is controlled based on the grid map of the restricted area.
  • control device for a movable platform, the control device comprising:
  • processors for executing the program instructions stored in the memory, causing the processors to perform the following steps:
  • Movement of the movable platform is controlled based on the grid map of the restricted area.
  • Another aspect of the present application also provides a movable platform, and the movable platform includes:
  • Yet another aspect of the present application provides a computer storage medium on which a computer program is stored, and when the computer program is executed by a processor, implements the aforementioned method for controlling a movable platform.
  • the data form of the restricted area is converted into the form of a grid map, and the data of the restricted area is stored in the form of a grid map.
  • the method of searching the grid map can quickly obtain the data information of the restricted area around the movable platform, which can save the airborne computing power and improve the search speed of the restricted area, so that the moving path can be reasonably planned according to the found restricted area, which can effectively avoid possible
  • FIG. 1 shows a schematic diagram of an aircraft in an embodiment of the present application
  • Fig. 2 shows the flow chart of the control method of the movable platform in one embodiment of the present application
  • FIG. 3 shows a schematic diagram of a scan line scanning restricted area in an embodiment of the present application
  • FIG. 4 shows a schematic diagram of a grid map of a restricted area in an embodiment of the present application
  • FIG. 5 shows a schematic flowchart of controlling the movement of an aircraft in an embodiment of the present application
  • FIG. 6 shows a schematic block diagram of a control apparatus of a movable platform in an embodiment of the present application.
  • the control method of the movable platform can be applied to the movable platform and any other application scenarios involving restricted areas (such as restricted areas), for example, the movable platform may include an aircraft (for example, unmanned aerial vehicles), robots, unmanned vehicles, and unmanned ships, the embodiments of the present application do not limit specific application scenarios.
  • the movable platform when the movable platform is an aircraft, the restricted area may be a restricted flying area, a no-flying area, or a restricted height area.
  • the restricted area may be a restricted activity area, a restricted activity area, or an area such as a restricted activity height.
  • the restricted area may be a restricted area, a restricted area, or an area such as a restricted driving height.
  • the restricted area can be a restricted area, a restricted area, and the like.
  • the restricted areas may include at least one of the following: (1) large civil aviation airports; (2) fixed-wing airports for general aviation; (3) heliports; (4) restricted areas in special areas (for example, restricted areas), such as Washington, Beijing, commercial areas, military areas, office areas, etc.; (5) other restricted areas (for example, restricted areas), such as temporary restricted areas (for example, restricted areas).
  • the case where the movable platform is an aircraft is mainly used as an example to describe the solution of the present application, but it can be understood that this is not intended to limit the application scenario of the present application.
  • FIG. 1 shows a schematic diagram of an aircraft 100 in one embodiment of the present application.
  • the aircraft 100 includes a carrier (ie, a frame) 102 and a load 104 .
  • a carrier ie, a frame
  • a load 104 e.g., unmanned aerial vehicles, also known as drones.
  • the load 104 may be located directly on the aircraft 100 without the need for the carrier 102 .
  • Aircraft 100 may include processor 101 , memory 102 , powertrain 106 , sensing system 108 , and communication system 110 . These components are interconnected by a bus system and/or other form of connection mechanism (not shown).
  • the powertrain 106 enables the aircraft to take off vertically from a surface, or land vertically on a surface, without requiring any horizontal movement of the aircraft 100 (eg, without taxiing on a runway).
  • powertrain 106 may allow aircraft 100 to preset positions and/or steering wheel in the air.
  • One or more of the power mechanisms 106 may be controlled independently of the other power mechanisms.
  • one or more power mechanisms 106 may be controlled simultaneously.
  • the aircraft 100 may have multiple horizontal rotations to track the lift and/or push of the target.
  • the horizontally oriented rotator can be actuated to provide the ability of the aircraft 100 to take off vertically, land vertically, and hover.
  • one or more of the horizontal rotating bodies may rotate clockwise, while the other one or more of the horizontal rotating bodies may rotate counterclockwise.
  • the rate of rotation of each horizontal rotator can be varied independently to effect lift and/or push operations caused by each rotator to adjust the spatial orientation, velocity, and/or acceleration of the aircraft 100 (eg, relative to up to three rotation and translation of degrees of freedom).
  • Sensing system 108 may include one or more sensors to sense spatial orientation, velocity, and/or acceleration (eg, rotation and translation with respect to up to three degrees of freedom) of aircraft 100 .
  • the one or more sensors include any of the sensors described above, including GPS sensors, motion sensors, inertial sensors, proximity sensors, or image sensors.
  • Sensing data provided by the sensing system 108 may be used to track the spatial orientation, velocity and/or acceleration of the target 100 (as described below, using a suitable processing unit and/or control unit).
  • the sensing system 108 may be used to collect data on the environment of the aircraft, such as climatic conditions, potential obstacles to be approached, locations of geographic features, locations of man-made structures, and the like.
  • the communication system 110 is capable of communicating with the terminal 112 having the communication system 114 via the wireless signal 116 .
  • Communication systems 110, 114 may include any number of transmitters, receivers, and/or transceivers for wireless communication.
  • the communication may be one-way communication, so that data can be sent from one direction.
  • one-way communication may include only aircraft 100 transmitting data to terminal 112, or vice versa.
  • One or more transmitters of communication system 110 may transmit data to one or more receivers of communication system 112, and vice versa.
  • the communication may be two-way communication, so that data may be transmitted between the aircraft 100 and the terminal 112 in both directions. Two-way communication includes that one or more transmitters of communication system 110 can transmit data to one or more receivers of communication system 114, and vice versa.
  • terminal 112 may provide control data to, and receive information from, one or more of aircraft 100 , carrier 102 , and payload 104 (eg position and/or motion information of aircraft, carrier or payload, payload sensing data, such as image data captured by a camera).
  • the terminal's control data may include instructions regarding position, movement, actuation, or control of the aircraft, carrier, and/or payload.
  • the control data may cause changes in the position and/or orientation of the aircraft (eg, by controlling the power mechanism 106 ), or cause movement of the carrier relative to the aircraft (eg, by controlling the carrier 102 ).
  • Terminal control data can lead to load control, such as controlling the operation of a camera or other image capture device (capturing still or moving images, zooming, turning on or off, switching imaging modes, changing image resolution, changing focus, changing depth of field, changing exposure time, changing the viewing angle or field of view).
  • the communication of the aircraft, carrier and/or payload may include information from one or more sensors (eg, sensing system 108 or payload 104).
  • the communication may include sensory information transmitted from one or more different types of sensors, such as GPS sensors, motion sensors, inertial sensors, proximity sensors, or image sensors.
  • the sensed information is about the position (eg, orientation, position), motion, or acceleration of the aircraft, carrier, and/or load.
  • the sensed information transmitted from the load includes the data captured by the load or the status of the load.
  • Terminal 112 transmits provided control data that may be used to track the status of one or more of aircraft 100 , carrier 102 , or payload 104 .
  • carrier 102 and payload 104 may each include a communication module for communicating with terminal 112 so that the terminal may communicate or track aircraft 100 , carrier 102 and payload 104 individually.
  • aircraft 100 may communicate with other remote devices in addition to terminal 112 , and terminal 112 may also communicate with other remote devices in addition to aircraft 100 .
  • the aircraft and/or terminal 112 may be in communication with another aircraft or a carrier or payload of another aircraft.
  • the additional remote device may be a second terminal or other computing device (eg, a computer, desktop, tablet, smartphone, or other mobile device) when desired.
  • the remote device may transmit data to the aircraft 100 , receive data from the aircraft 100 , transmit data to the terminal 112 , and/or receive data from the terminal 112 .
  • the remote device may be connected to the Internet or other telecommunications network to allow data received from aircraft 100 and/or terminal 112 to be uploaded to a website or server.
  • the movement of the aircraft, the movement of the carrier, and the movement of the load relative to a fixed reference (eg, the external environment), and/or relative to each other, may be controlled by the terminal.
  • the terminal may be a remote control terminal located remotely from the aircraft, carrier and/or load.
  • the terminal can be located on or attached to the support platform.
  • the terminal may be handheld or wearable.
  • the terminal may include a smartphone, tablet, desktop, computer, glasses, gloves, helmet, microphone, or any combination thereof.
  • the terminal may include a user interface such as a keyboard, mouse, joystick, touch screen or display. Any suitable user input may interact with the terminal, such as manual input of commands, voice control, gesture control, or position control (eg, through movement, position, or tilt of the terminal).
  • the aircraft 100 may include one or more memories 102, and the memory 102 stores a computer program executed by the processor, for example, for storing the corresponding information in the method for implementing the control method of the movable platform according to the embodiment of the present application. steps and procedural instructions.
  • One or more computer program products may be included, which may include various forms of computer-readable storage media, such as volatile memory and/or non-volatile memory.
  • the volatile memory may include, for example, random access memory (RAM) and/or cache memory, or the like.
  • the non-volatile memory may include, for example, read only memory (ROM), hard disk, flash memory, and the like.
  • Aircraft 100 may include one or more processors 101, which may be central processing units (CPUs), graphics processing units (GPUs), application specific integrated circuits (ASICs), field programmable gate arrays (FPGAs), or have data processing Other forms of processing units capable of and/or instruction execution capabilities, and may control other components in aircraft 100 to perform desired functions.
  • the processor can execute the program instructions stored in the memory, so as to execute the relevant steps in the mobile platform control method of the embodiments of the present application described below.
  • a processor can include one or more embedded processors, processor cores, microprocessors, logic circuits, hardware finite state machines (FSMs), digital signal processors (DSPs), or combinations thereof.
  • the processor includes a Field Programmable Gate Array (FPGA), or one or more ARM processors.
  • a simple circular restricted area (such as a restricted area), the data storage format of this restricted area (such as a restricted area) is very simple, and the number of databases is also small; the other is a drone with a high-performance processor ( With advanced functions such as visual obstacle avoidance and tracking), complex polygonal restricted areas (such as flying restricted areas) are currently implemented on such products, and there are also a large number of restricted areas (such as flying restricted areas).
  • the function of the restricted area (such as the restricted area) of the UAV without a high-performance processor can be realized on the microcontroller unit (MCU) where the flight control system (FC) is located, but with a high-performance processor
  • the function of the restricted area (such as restricted flight area) of the UAV can be realized on the AP (Application Processor), and only executed on the FC.
  • airport restricted areas are mostly considered in the horizontal and vertical directions of the UAV.
  • the common forms of airport restricted areas are: There is an enlarged area (also called restricted area (such as height restriction area)) with a fixed height limit outside the no-fly zone that does not allow take-off at all.
  • the flight restriction data are stored directly according to circles and polygons.
  • the circular flight restriction area stores the GPS coordinates and radius of the center of the flight restriction area
  • the polygon flight restriction area stores the GPS points of each vertex of the polygon.
  • the flight restriction judgment process In the method, the GPS points stored in the database are read into the memory and converted to the NED coordinate system, and the geometric relationship between the position of the UAV and the restricted flight area is calculated in the NED coordinate system, and then the relevant flight restriction conclusions are formed and relevant restrictions are implemented. .
  • the above-mentioned geometric operations consume a large amount of computing power and are not conducive to the use of general motion planning methods.
  • an embodiment of the present application provides a control method for a movable platform, characterized in that the control method includes: acquiring first data information of a restricted area for constructing a grid map; The first data information of the restricted area is obtained, and the grid map of the restricted area is obtained; based on the grid map of the restricted area, the movement of the movable platform is controlled.
  • the data form of the restricted area is converted into the form of a grid map, and the data of the restricted area is stored in the form of a grid map.
  • the method of searching the grid map can quickly obtain the data information of the restricted area around the movable platform, which can save the airborne computing power and improve the search speed of the restricted area, so that the moving path can be reasonably planned according to the found restricted area, which can effectively avoid possible
  • the execution subject may be a movable platform (such as an aircraft), or a movable platform that can be implemented by software, hardware or a combination of software and hardware. Part or all of the computer equipment of the control method.
  • step S201 first data information of a restricted area for constructing a grid map is acquired.
  • step S202 a grid map of the restricted area is obtained based on the first data information of the restricted area.
  • the grid covered by the restricted area includes height information
  • the height information is the maximum movable height of the movable platform.
  • the height information may include The maximum movable altitude of the aircraft (that is, the maximum flying altitude).
  • the restricted area is presented in the form of obstacles with height information in the grid map, and the movable platform can quickly obtain the relevant information of the restricted area by simply searching for the restricted area during the movement, and plan the movement reasonably according to the relevant information. route to avoid the problem of accidentally entering prohibited movement areas (such as no-fly zones).
  • the NED coordinate system is the current position on the earth, with the north direction as the N direction, the east direction as the E direction, and the vertical downward direction as the D direction.
  • the height information can be filled in the grid in the area enclosed by the edge of the restricted area by any suitable method to construct a grid map, wherein different construction methods can be adopted for the restricted area of different geometric shapes, and the geometry of the restricted area Shapes may include, for example, circles, polygons, or other irregular shapes, and the like.
  • step A1 the intersection coordinates of a plurality of scan lines and the circle are obtained, wherein the extension direction of each scan line is perpendicular to the first coordinate axis of the geographic coordinate system, and the first coordinate axis includes the x-axis Or the y-axis, wherein the spacing distance between adjacent scan lines is the same as the grid size, wherein the grid size of the present application can be reasonably set according to actual needs, which is not specifically limited here.
  • the height information to be filled is determined according to the restricted height information of the restricted area (such as the maximum movable height of the movable platform), for example, when the restricted area has a single maximum movable height of the movable platform, or, the restricted area has multiple The maximum movable height of the mobile platform.
  • the maximum movable heights of the multiple movable platforms correspond to different regions.
  • the height information that needs to be filled in the grid can be set according to the specific region where the grid is located, and then the obtained limit area is A raster map, which can have multiple heights.
  • filling the grid with height information in the area enclosed by the edge of the restricted area includes the following steps B1 and B3:
  • the second control method based on the grid map of the restricted area, it is also possible to actively bypass the restricted area (for example, the restricted area) when planning the moving route (for example, the route of the aircraft), based on the grid map of the restricted area , controlling the movement of the movable platform, comprising: obtaining a predetermined movement route of the movable platform from the first position to the second position based on the grid map of the restricted area, wherein the predetermined movement route is not related to the The restricted area intersects, that is, the predetermined movement route does not pass through the restricted area, thereby preventing the movable platform from entering the restricted area such as the drone flying into the restricted area or too close to the restricted area.
  • a planned moving route can be obtained based on a conventional algorithm for moving route planning, and the planned moving route can be one or more, and then the grid map of the restricted area is searched to determine the predetermined moving route, that is, the safe route.
  • the route does not intersect the restricted area, ie the predetermined movement route does not pass through the restricted area.
  • the grid map of the restricted area is searched.
  • the planned route does not meet the requirements, that is, when it passes through the restricted area, the route is re-planned, and then the restriction is searched based on the re-planned route.
  • the grid map of the area is used to determine whether the route meets the requirements, that is, whether it passes through the restricted area.
  • the control method of the movable platform in the embodiment of the present application converts the data form of the restricted area into the form of a grid map, and stores the data of the restricted area in the form of a grid map.
  • the data information of the restricted area around the movable platform can be quickly obtained by searching the grid map, which can save the on-board computing power and improve the searching speed of the restricted area, so that the movement can be reasonably planned according to the found restricted area.
  • the path can effectively avoid the problem of the movable platform straying into the restricted area (such as the restricted area), which is beneficial to the use of a general motion planning method.
  • control apparatus 600 of the movable platform may include one or more memories 601 for storing executable program instructions, and one or more processors 602 for executing the The program instructions cause the processor to execute the relevant steps of the control method 200 of the movable platform described above.
  • the memory 601 is used to store various data and executable program instructions generated during the movement of the relevant movable platform, for example, used to store various application programs or algorithms for implementing various specific functions.
  • One or more computer program products may be included, which may include various forms of computer-readable storage media, such as volatile memory and/or non-volatile memory.
  • the volatile memory may include, for example, random access memory (RAM) and/or cache memory, or the like.
  • the non-volatile memory may include, for example, read only memory (ROM), hard disk, flash memory, and the like.
  • the first data information of the restricted area includes data information of the geometric restricted area stored in GPS points.
  • the processor 602 is configured to execute the program instructions stored in the memory, so that the processor executes
  • Obtaining the grid map of the restricted area based on the first data information of the restricted area includes: converting the first data information of the restricted area into second data information in a geographic coordinate system; based on the second data information of the restricted area
  • the data information constructs a grid map of the restricted area under the geographic coordinate system.
  • the processor 602 is configured to execute the program instructions stored in the memory, so that the processor executes in an area surrounded by the edge of the restricted area Filling height information in the grid of the
  • the interval distance between the scan lines is the same as the grid size, and the first coordinate axis includes the x-axis or the y-axis; according to the number of intersections between each scan line and the circle, determine the grid predetermined to fill the height information, wherein , when the scan line and the circle have one intersection, fill the grid where the intersection is with the height information corresponding to the intersection, and when the scan line and the circle have two intersections, then Fills the grid with height information in the area between the two intersections.
  • the processor 602 is configured to execute the program instructions stored in the memory, so that the processor executes: based on the grid map of the restricted area, controlling the movement of the movable platform, including: based on the The grid map of the restricted area is used to obtain a predetermined movement route of the movable platform from the first position to the second position, wherein the predetermined movement route does not intersect the restricted area.
  • the communication interface is an interface that can be any currently known communication protocol, such as a wired interface or a wireless interface, wherein the communication interface can include one or more serial ports, USB interfaces, Ethernet ports, WiFi, wired networks, DVI interfaces, device Integrated interconnect modules or other suitable various ports, interfaces, or connections.
  • Device 600 may also access wireless networks based on communication standards, such as WiFi, 2G, 3G, 4G, 5G, or a combination thereof.
  • the communication interface receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel.
  • the communication interface further includes a near field communication (NFC) module to facilitate short-range communication.
  • the NFC module may be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
  • RFID radio frequency identification
  • IrDA infrared data association
  • UWB ultra-wideband
  • Bluetooth Bluetooth
  • An embodiment of the present application also provides a movable platform.
  • the movable platform may include an aircraft (for example, an unmanned aerial vehicle), a robot, an unmanned vehicle, and an unmanned ship.
  • the restricted area is the restricted area of flight. Area.
  • the aircraft 100 includes one or more processors 101 for executing the program instructions stored in the memory, so that the processors execute the foregoing
  • the processors 101 execute the foregoing
  • the steps related to the control method 200 of the movable platform in the embodiment in order to avoid repetition, reference may be made to the foregoing description.
  • the disclosed apparatus and method may be implemented in other manners.
  • the device embodiments described above are only illustrative.
  • the division of the units is only a logical function division. In actual implementation, there may be other division methods.
  • multiple units or components may be combined or May be integrated into another device, or some features may be omitted, or not implemented.
  • Various component embodiments of the present application may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof.
  • a microprocessor or a digital signal processor (DSP) may be used in practice to implement some or all functions of some modules according to the embodiments of the present application.
  • DSP digital signal processor
  • the present application can also be implemented as a program of apparatus (eg, computer programs and computer program products) for performing part or all of the methods described herein.
  • Such a program implementing the present application may be stored on a computer-readable medium, or may be in the form of one or more signals. Such signals may be downloaded from Internet sites, or provided on carrier signals, or in any other form.

Landscapes

  • Engineering & Computer Science (AREA)
  • Aviation & Aerospace Engineering (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Traffic Control Systems (AREA)

Abstract

Provided are a movable platform control method, control apparatus, movable platform, and computer storage medium; the control method (200) comprises: obtaining first data information of a restricted area used for constructing a grid map (S201); on the basis of the first data information of the restricted area, obtaining a grid map of the restricted area (S202); on the basis of the grid map of the restricted area, controlling the movement of the movable platform (S203). On the basis of the control method (200), it is possible to conserve onboard computing power, increasing the speed of searching restricted areas.

Description

可移动平台的控制方法、控制装置、可移动平台和计算机存储介质Control method of movable platform, control device, movable platform and computer storage medium
说明书manual
技术领域technical field
本发明总地涉及数据处理技术领域,更具体地涉及一种可移动平台的控制方法、控制装置、可移动平台和计算机存储介质。The present invention generally relates to the technical field of data processing, and more particularly, to a control method of a movable platform, a control device, a movable platform and a computer storage medium.
背景技术Background technique
机场限飞区大多是将无人机在水平方向和竖直方向分别进行考虑,对于机场限飞区的常见形态为,在完全不允许起飞的禁飞区外围有一个固定高度限制的扩大区域。Most of the airport restricted flight areas consider drones in the horizontal and vertical directions respectively. The common form of the airport restricted flight area is that there is an expanded area with a fixed height limit outside the no-fly area that is not allowed to take off at all.
在常规产品中,限飞数据都是按照圆形和多边形直接存储,圆形限飞区存储限飞区圆心GPS坐标和半径,多边形限飞区存储多边形各顶点的GPS点,限飞判断过程中,都是将数据库中存储的GPS点读入内存后转换到NED坐标系下,在NED坐标系下计算无人机位置与限飞区的几何关系,进而形成相关限飞结论并执行相关限制。In conventional products, the fly-restriction data are directly stored in the form of circles and polygons. The circular fly-restriction area stores the GPS coordinates and radius of the center of the fly-restriction area, and the polygon fly-restriction area stores the GPS points of each vertex of the polygon. During the fly-restriction judgment process , are to read the GPS points stored in the database into the memory and then convert them to the NED coordinate system, and calculate the geometric relationship between the UAV position and the restricted flight area in the NED coordinate system, and then form the relevant flight restriction conclusions and implement the relevant restrictions.
然而,上述几何运算对算力的消耗较大且不利于使用通用的运动规划方法。However, the above-mentioned geometric operations consume a large amount of computing power and are not conducive to the use of general motion planning methods.
发明内容SUMMARY OF THE INVENTION
为了解决上述问题中的至少一个而提出了本申请。具体地,本申请一方面提供一种可移动平台的控制方法,所述控制方法包括:The present application has been made to solve at least one of the above-mentioned problems. Specifically, one aspect of the present application provides a control method for a movable platform, the control method comprising:
获取用于构建栅格地图的限制区域的第一数据信息;obtaining first data information of a restricted area for constructing a grid map;
基于所述限制区域的第一数据信息,获得所述限制区域的栅格地图;obtaining a grid map of the restricted area based on the first data information of the restricted area;
基于所述限制区域的栅格地图,控制可移动平台的移动。Movement of the movable platform is controlled based on the grid map of the restricted area.
本申请另一方面提供一种可移动平台的控制装置,所述控制装置包括:Another aspect of the present application provides a control device for a movable platform, the control device comprising:
存储器,用于存储可执行的程序指令;memory for storing executable program instructions;
一个或多个处理器,用于执行所述存储器中存储的所述程序指令,使得所述处理器执行以下步骤:one or more processors for executing the program instructions stored in the memory, causing the processors to perform the following steps:
获取用于构建栅格地图的限制区域的第一数据信息;obtaining first data information of a restricted area for constructing a grid map;
基于所述限制区域的第一数据信息,获得所述限制区域的栅格地图;obtaining a grid map of the restricted area based on the first data information of the restricted area;
基于所述限制区域的栅格地图,控制可移动平台的移动。Movement of the movable platform is controlled based on the grid map of the restricted area.
本申请再一方面还提供一种可移动平台,所述可移动平台包括:Another aspect of the present application also provides a movable platform, and the movable platform includes:
动力机构,所述动力机构用于使所述可移动平台移动;a power mechanism for moving the movable platform;
存储器,用于存储可执行的程序指令;memory for storing executable program instructions;
一个或多个处理器,用于执行所述存储器中存储的所述程序指令,使得所述处理器执行前述的控制方法。One or more processors for executing the program instructions stored in the memory, so that the processors execute the aforementioned control method.
本申请又一方面提供一种计算机存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现前述的可移动平台的控制方法。Yet another aspect of the present application provides a computer storage medium on which a computer program is stored, and when the computer program is executed by a processor, implements the aforementioned method for controlling a movable platform.
本申请实施例中的可移动平台的控制方法,将限制区域的数据形式转换为栅格地图的形式,并以栅格地图的形式存储限制区域数据,在可移动平台的移动过程中,可以通过查找栅格地图的方式快速获得可移动平台周围的限制区域的数据信息,从而可以节省机载算力,提升限制区域的查找速度,以便根据查找到的限制区域合理的规划移动路径,有效避免可移动平台误闯限制区域(例如限飞区)的问题出现。In the control method of the movable platform in the embodiment of the present application, the data form of the restricted area is converted into the form of a grid map, and the data of the restricted area is stored in the form of a grid map. The method of searching the grid map can quickly obtain the data information of the restricted area around the movable platform, which can save the airborne computing power and improve the search speed of the restricted area, so that the moving path can be reasonably planned according to the found restricted area, which can effectively avoid possible The problem of mobile platforms straying into restricted areas (such as restricted areas) arises.
附图说明Description of drawings
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the technical solutions in the embodiments of the present application more clearly, the following briefly introduces the drawings that are used in the description of the embodiments. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, other drawings can also be obtained from these drawings without creative labor.
图1示出了本申请一个实施例中的飞行器的示意图;FIG. 1 shows a schematic diagram of an aircraft in an embodiment of the present application;
图2示出了本申请一个实施例中的可移动平台的控制方法的流程图;Fig. 2 shows the flow chart of the control method of the movable platform in one embodiment of the present application;
图3示出了本申请一个实施例中的扫描线扫描限制区域的示意图;FIG. 3 shows a schematic diagram of a scan line scanning restricted area in an embodiment of the present application;
图4示出了本申请一个实施例中的限制区域的栅格地图的示意图;FIG. 4 shows a schematic diagram of a grid map of a restricted area in an embodiment of the present application;
图5示出了本申请一个实施例中的控制飞行器移动的流程示意图;FIG. 5 shows a schematic flowchart of controlling the movement of an aircraft in an embodiment of the present application;
图6示出了本申请一个实施例中的可移动平台的控制装置的示意性框图。FIG. 6 shows a schematic block diagram of a control apparatus of a movable platform in an embodiment of the present application.
具体实施方式detailed description
为了使得本申请的目的、技术方案和优点更为明显,下面将参照附图详细描述根据本申请的示例实施例。显然,所描述的实施例仅仅是本申请的一部分实施例,而不是本申请的全部实施例,应理解,本申请不受这里描述的示例实施例的限制。In order to make the objectives, technical solutions and advantages of the present application more apparent, the exemplary embodiments according to the present application will be described in detail below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments of the present application, and it should be understood that the present application is not limited by the example embodiments described herein.
在下文的描述中,给出了大量具体的细节以便提供对本申请更为彻底的理解。 然而,对于本领域技术人员而言显而易见的是,本申请可以无需一个或多个这些细节而得以实施。在其他的例子中,为了避免与本申请发生混淆,对于本领域公知的一些技术特征未进行描述。In the following description, numerous specific details are set forth in order to provide a more thorough understanding of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced without one or more of these details. In other instances, some technical features known in the art have not been described in order to avoid confusion with the present application.
应当理解的是,本申请能够以不同形式实施,而不应当解释为局限于这里提出的实施例。相反地,提供这些实施例将使公开彻底和完全,并且将本申请的范围完全地传递给本领域技术人员。It should be understood that the application may be embodied in different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of this application to those skilled in the art.
在此使用的术语的目的仅在于描述具体实施例并且不作为本申请的限制。在此使用时,单数形式的“一”、“一个”和“所述/该”也意图包括复数形式,除非上下文清楚指出另外的方式。还应明白术语“组成”和/或“包括”,当在该说明书中使用时,确定所述特征、整数、步骤、操作、元件和/或部件的存在,但不排除一个或更多其它的特征、整数、步骤、操作、元件、部件和/或组的存在或添加。在此使用时,术语“和/或”包括相关所列项目的任何及所有组合。The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used herein, the singular forms "a," "an," and "the/the" are intended to include the plural forms as well, unless the context clearly dictates otherwise. It should also be understood that the terms "compose" and/or "include", when used in this specification, identify the presence of stated features, integers, steps, operations, elements and/or components, but do not exclude one or more other The presence or addition of features, integers, steps, operations, elements, parts and/or groups. As used herein, the term "and/or" includes any and all combinations of the associated listed items.
为了彻底理解本申请,将在下列的描述中提出详细的结构和方法,以便阐释本申请提出的技术方案。本申请的可选实施例详细描述如下,然而除了这些详细描述外,本申请还可以具有其他实施方式。For a thorough understanding of the present application, detailed structures and methods will be presented in the following description in order to explain the technical solutions proposed by the present application. Alternative embodiments of the present application are described in detail below, however, the present application may have other embodiments in addition to these detailed descriptions.
下面结合附图,对本申请的可移动平台的控制方法、控制装置和可移动平台进行详细说明。在不冲突的情况下,下述的实施例及实施方式中的特征可以相互组合。The control method, control device and movable platform of the movable platform of the present application will be described in detail below with reference to the accompanying drawings. The features of the embodiments and implementations described below may be combined with each other without conflict.
需要说明的是,本申请实施例提供的可移动平台的控制方法,可以应用于可移动平台以及其他任意涉及限制区域(例如限飞区)区的应用场景中,例如,可移动平台可以包括飞行器(例如无人机)、机器人、无人车、无人船,本申请实施例对具体的应用场景不做限制。相应的,当可移动平台为飞行器,则限制区域可以是限飞区、禁飞区、或者限高区等。当可移动平台为机器人,则限制区域可以是限制活动区域、禁止活动区域、或者限制活动高度等区域等。当可移动平台为无人车,则限制区域可以是限行区、禁行区、或者限制行驶高度等区域等。当可移动平台为无人船,则限制区域可以是限行区、禁行区等。It should be noted that the control method of the movable platform provided in the embodiments of the present application can be applied to the movable platform and any other application scenarios involving restricted areas (such as restricted areas), for example, the movable platform may include an aircraft (for example, unmanned aerial vehicles), robots, unmanned vehicles, and unmanned ships, the embodiments of the present application do not limit specific application scenarios. Correspondingly, when the movable platform is an aircraft, the restricted area may be a restricted flying area, a no-flying area, or a restricted height area. When the movable platform is a robot, the restricted area may be a restricted activity area, a restricted activity area, or an area such as a restricted activity height. When the movable platform is an unmanned vehicle, the restricted area may be a restricted area, a restricted area, or an area such as a restricted driving height. When the movable platform is an unmanned ship, the restricted area can be a restricted area, a restricted area, and the like.
需要说明的是,本文中限制区域(例如限飞区)可以包括以下至少一种:(1)民航大型机场;(2)通航固定翼机场;(3)直升机机场;(4)特殊区域限制区域(例如限飞区),比如华盛顿、北京、商业区、军事区、办公区等;(5)其他限制区域(例如限飞区),例如临时限制区域(例如限飞区)。It should be noted that the restricted areas (such as restricted flight areas) in this document may include at least one of the following: (1) large civil aviation airports; (2) fixed-wing airports for general aviation; (3) heliports; (4) restricted areas in special areas (for example, restricted areas), such as Washington, Beijing, commercial areas, military areas, office areas, etc.; (5) other restricted areas (for example, restricted areas), such as temporary restricted areas (for example, restricted areas).
本申请实施例中主要以可移动平台为飞行器的情况为例,对本申请的方案进 行描述,但可以理解的是,这并不意欲对本申请的应用场景构成限制。In the embodiment of the present application, the case where the movable platform is an aircraft is mainly used as an example to describe the solution of the present application, but it can be understood that this is not intended to limit the application scenario of the present application.
在一个示例中,图1示出了本申请一个实施例中的飞行器100的示意图。该飞行器100包括承载体(也即机架)102及负载104。本领域技术人员应该了解,本文所描述的任何关于飞行器的实施例适用于任何飞行器(如无人飞行器,也称无人机)。在某些实施例中,负载104可以直接位于飞行器100上,而不需要承载体102。飞行器100可以包括处理器101、存储器102、动力机构106,传感系统108、以及通讯系统110。这些组件通过总线系统和/或其它形式的连接机构(未示出)互连。In one example, FIG. 1 shows a schematic diagram of an aircraft 100 in one embodiment of the present application. The aircraft 100 includes a carrier (ie, a frame) 102 and a load 104 . Those skilled in the art will appreciate that any of the embodiments described herein with respect to aircraft are applicable to any aircraft (eg, unmanned aerial vehicles, also known as drones). In some embodiments, the load 104 may be located directly on the aircraft 100 without the need for the carrier 102 . Aircraft 100 may include processor 101 , memory 102 , powertrain 106 , sensing system 108 , and communication system 110 . These components are interconnected by a bus system and/or other form of connection mechanism (not shown).
动力机构106可以包括一个或者多个旋转体、螺旋桨、桨叶、引擎、电机、轮子、轴承、磁铁、喷嘴。例如,所述动力机构的旋转体可以是自紧固(self-tightening)旋转体、旋转体组件、或者其它的旋转体动力单元。飞行器可以有一个或多个动力机构。所有的动力机构可以是相同的类型。可选的,一个或者多个动力机构可以是不同的类型。动力机构106可以通过合适的手段安装在飞行器上,如通过支撑元件(如驱动轴)。动力机构106可以安装在飞行器100任何合适的位置,如顶端、下端、前端、后端、侧面或者其中的任意结合。The powertrain 106 may include one or more rotating bodies, propellers, blades, engines, motors, wheels, bearings, magnets, nozzles. For example, the rotating body of the power mechanism may be a self-tightening rotating body, a rotating body assembly, or other rotating body power unit. An aircraft may have one or more power mechanisms. All powertrains can be of the same type. Alternatively, one or more of the power mechanisms may be of a different type. Powertrain 106 may be mounted on the aircraft by suitable means, such as by support elements (eg, drive shafts). The powertrain 106 may be installed in any suitable location on the aircraft 100, such as the top end, the lower end, the front end, the rear end, the side, or any combination thereof.
在某些实施例中,动力机构106能够使飞行器垂直地从表面起飞,或者垂直地降落在表面上,而不需要飞行器100任何水平运动(如不需要在跑道上滑行)。可选的,动力机构106可以允许飞行器100在空中预设位置和/或方向盘旋。一个或者多个动力机构106在受到控制时可以独立于其它的动力机构。可选的,一个或者多个动力机构106可以同时受到控制。例如,飞行器100可以有多个水平方向的旋转体,以追踪目标的提升及/或推动。水平方向的旋转体可以被致动以提供飞行器100垂直起飞、垂直降落、盘旋的能力。在某些实施例中,水平方向的旋转体中的一个或者多个可以顺时针方向旋转,而水平方向的旋转体中的其它一个或者多个可以逆时针方向旋转。例如,顺时针旋转的旋转体与逆时针旋转的旋转体的数量一样。每一个水平方向的旋转体的旋转速率可以独立变化,以实现每个旋转体导致的提升及/或推动操作,从而调整飞行器100的空间方位、速度及/或加速度(如相对于多达三个自由度的旋转及平移)。In some embodiments, the powertrain 106 enables the aircraft to take off vertically from a surface, or land vertically on a surface, without requiring any horizontal movement of the aircraft 100 (eg, without taxiing on a runway). Optionally, powertrain 106 may allow aircraft 100 to preset positions and/or steering wheel in the air. One or more of the power mechanisms 106 may be controlled independently of the other power mechanisms. Alternatively, one or more power mechanisms 106 may be controlled simultaneously. For example, the aircraft 100 may have multiple horizontal rotations to track the lift and/or push of the target. The horizontally oriented rotator can be actuated to provide the ability of the aircraft 100 to take off vertically, land vertically, and hover. In some embodiments, one or more of the horizontal rotating bodies may rotate clockwise, while the other one or more of the horizontal rotating bodies may rotate counterclockwise. For example, there are the same number of rotating bodies that rotate clockwise as there are counter-clockwise rotating bodies. The rate of rotation of each horizontal rotator can be varied independently to effect lift and/or push operations caused by each rotator to adjust the spatial orientation, velocity, and/or acceleration of the aircraft 100 (eg, relative to up to three rotation and translation of degrees of freedom).
传感系统108可以包括一个或者多个传感器,以感测飞行器100的空间方位、速度及/或加速度(如相对于多达三个自由度的旋转及平移)。所述一个或者多个传感器包括前述描述的任何传感器,包括GPS传感器、运动传感器、惯性传感器、近程传感器或者影像传感器。传感系统108提供的感测数据可以用于追踪目标 100的空间方位、速度及/或加速度(如下所述,利用适合的处理单元及/或控制单元)。可选的,传感系统108可以用于采集飞行器的环境的数据,如气候条件、要接近的潜在的障碍、地理特征的位置、人造结构的位置等。 Sensing system 108 may include one or more sensors to sense spatial orientation, velocity, and/or acceleration (eg, rotation and translation with respect to up to three degrees of freedom) of aircraft 100 . The one or more sensors include any of the sensors described above, including GPS sensors, motion sensors, inertial sensors, proximity sensors, or image sensors. Sensing data provided by the sensing system 108 may be used to track the spatial orientation, velocity and/or acceleration of the target 100 (as described below, using a suitable processing unit and/or control unit). Optionally, the sensing system 108 may be used to collect data on the environment of the aircraft, such as climatic conditions, potential obstacles to be approached, locations of geographic features, locations of man-made structures, and the like.
通讯系统110能够实现与具有通讯系统114的终端112通过无线信号116进行通讯。通讯系统110、114可以包括任何数量的用于无线通讯的发送器、接收器、及/或收发器。所述通讯可以是单向通讯,这样数据可以从一个方向发送。例如,单向通讯可以包括,只有飞行器100传送数据给终端112,或者反之亦然。通讯系统110的一个或者多个发送器可以发送数据给通讯系统112的一个或者多个接收器,反之亦然。可选的,所述通讯可以是双向通讯,这样,数据可以在飞行器100与终端112之间在两个方向传输。双向通讯包括通讯系统110的一个或者多个发送器可以发送数据给通讯系统114的一个或者多个接收器,及反之亦然。The communication system 110 is capable of communicating with the terminal 112 having the communication system 114 via the wireless signal 116 . Communication systems 110, 114 may include any number of transmitters, receivers, and/or transceivers for wireless communication. The communication may be one-way communication, so that data can be sent from one direction. For example, one-way communication may include only aircraft 100 transmitting data to terminal 112, or vice versa. One or more transmitters of communication system 110 may transmit data to one or more receivers of communication system 112, and vice versa. Optionally, the communication may be two-way communication, so that data may be transmitted between the aircraft 100 and the terminal 112 in both directions. Two-way communication includes that one or more transmitters of communication system 110 can transmit data to one or more receivers of communication system 114, and vice versa.
在某些实施例中,终端112可以向飞行器100、承载体102及负载104中的一个或者多个提供控制数据,并且从飞行器100、承载体102及负载104中的一个或者多个中接收信息(如飞行器、承载体或者负载的位置及/或运动信息,负载感测的数据,如相机捕获的影像数据)。在某些实施例中,终端的控制数据可以包括关于位置、运动、致动的指令,或者对飞行器、承载体及/或负载的控制。例如,控制数据可以导致飞行器位置及/或方向的改变(如通过控制动力机构106),或者导致承载体相对于飞行器的运动(如通过对承载体102的控制)。终端的控制数据可以导致负载控制,如控制相机或者其它影像捕获设备的操作(捕获静止或者运动的影像、变焦、开启或关闭、切换成像模式、改变影像分辨率、改变焦距、改变景深、改变曝光时间、改变可视角度或者视场)。在某些实施例中,飞行器、承载体及/或负载的通讯可以包括一个或者多个传感器(如传感系统108或者负载104)发出的信息。所述通讯可以包括从一个或者多个不同类型的传感器(如GPS传感器、运动传感器、惯性传感器、近程传感器或者影像传感器)传送的感应信息。所述感应信息是关于飞行器、承载体及/或负载的位置(如方向、位置)、运动、或者加速度。从负载传送的感应信息包括负载捕获的数据或者负载的状态。终端112传送提供的控制数据可以用于追踪飞行器100、承载体102或者负载104中一个或者多个的状态。可选的或者同时地,承载体102及负载104每一个都可以包括通讯模块,用于与终端112通讯,以便终端可以单独地通讯或者追踪飞行器100、承载体102及负载104。In certain embodiments, terminal 112 may provide control data to, and receive information from, one or more of aircraft 100 , carrier 102 , and payload 104 (eg position and/or motion information of aircraft, carrier or payload, payload sensing data, such as image data captured by a camera). In some embodiments, the terminal's control data may include instructions regarding position, movement, actuation, or control of the aircraft, carrier, and/or payload. For example, the control data may cause changes in the position and/or orientation of the aircraft (eg, by controlling the power mechanism 106 ), or cause movement of the carrier relative to the aircraft (eg, by controlling the carrier 102 ). Terminal control data can lead to load control, such as controlling the operation of a camera or other image capture device (capturing still or moving images, zooming, turning on or off, switching imaging modes, changing image resolution, changing focus, changing depth of field, changing exposure time, changing the viewing angle or field of view). In some embodiments, the communication of the aircraft, carrier and/or payload may include information from one or more sensors (eg, sensing system 108 or payload 104). The communication may include sensory information transmitted from one or more different types of sensors, such as GPS sensors, motion sensors, inertial sensors, proximity sensors, or image sensors. The sensed information is about the position (eg, orientation, position), motion, or acceleration of the aircraft, carrier, and/or load. The sensed information transmitted from the load includes the data captured by the load or the status of the load. Terminal 112 transmits provided control data that may be used to track the status of one or more of aircraft 100 , carrier 102 , or payload 104 . Alternatively or concurrently, carrier 102 and payload 104 may each include a communication module for communicating with terminal 112 so that the terminal may communicate or track aircraft 100 , carrier 102 and payload 104 individually.
在某些实施例中,飞行器100可以与除了终端112之外的其它远程设备通讯, 终端112也可以与除飞行器100之外的其它远程设备进行通讯。例如,飞行器及/或终端112可以与另一个飞行器或者另一个飞行器的承载体或负载通讯。当有需要的时候,所述另外的远程设备可以是第二终端或者其它计算设备(如计算机、桌上型电脑、平板电脑、智能手机、或者其它移动设备)。该远程设备可以向飞行器100传送数据,从飞行器100接收数据,传送数据给终端112,及/或从终端112接收数据。可选的,该远程设备可以连接到因特网或者其它电信网络,以使从飞行器100及/或终端112接收的数据上传到网站或者服务器上。In some embodiments, aircraft 100 may communicate with other remote devices in addition to terminal 112 , and terminal 112 may also communicate with other remote devices in addition to aircraft 100 . For example, the aircraft and/or terminal 112 may be in communication with another aircraft or a carrier or payload of another aircraft. The additional remote device may be a second terminal or other computing device (eg, a computer, desktop, tablet, smartphone, or other mobile device) when desired. The remote device may transmit data to the aircraft 100 , receive data from the aircraft 100 , transmit data to the terminal 112 , and/or receive data from the terminal 112 . Optionally, the remote device may be connected to the Internet or other telecommunications network to allow data received from aircraft 100 and/or terminal 112 to be uploaded to a website or server.
在某些实施例中,飞行器的运动、承载体的运动及负载相对固定参照物(如外部环境)的运动,及/或者彼此间的运动,都可以由终端所控制。所述终端可以是远程控制终端,位于远离飞行器、承载体及/或负载的地方。终端可以位于或者粘贴于支撑平台上。可选的,所述终端可以是手持的或者穿戴式的。例如,所述终端可以包括智能手机、平板电脑、桌上型电脑、计算机、眼镜、手套、头盔、麦克风或者其中任意的结合。所述终端可以包括用户界面,如键盘、鼠标、操纵杆、触摸屏或者显示器。任何适合的用户输入可以与终端交互,如手动输入指令、声音控制、手势控制或者位置控制(如通过终端的运动、位置或者倾斜)。In some embodiments, the movement of the aircraft, the movement of the carrier, and the movement of the load relative to a fixed reference (eg, the external environment), and/or relative to each other, may be controlled by the terminal. The terminal may be a remote control terminal located remotely from the aircraft, carrier and/or load. The terminal can be located on or attached to the support platform. Optionally, the terminal may be handheld or wearable. For example, the terminal may include a smartphone, tablet, desktop, computer, glasses, gloves, helmet, microphone, or any combination thereof. The terminal may include a user interface such as a keyboard, mouse, joystick, touch screen or display. Any suitable user input may interact with the terminal, such as manual input of commands, voice control, gesture control, or position control (eg, through movement, position, or tilt of the terminal).
飞行器100可以包括一个或者多个存储器102,存储器102上存储有由所述处理器运行的计算机程序,例如用于存储用于实现根据本申请实施例的可移动平台的控制方法的方法中的相应步骤和程序指令。可以包括一个或多个计算机程序产品,所述计算机程序产品可以包括各种形式的计算机可读存储介质,例如易失性存储器和/或非易失性存储器。所述易失性存储器例如可以包括随机存取存储器(RAM)和/或高速缓冲存储器(cache)等。所述非易失性存储器例如可以包括只读存储器(ROM)、硬盘、闪存等。The aircraft 100 may include one or more memories 102, and the memory 102 stores a computer program executed by the processor, for example, for storing the corresponding information in the method for implementing the control method of the movable platform according to the embodiment of the present application. steps and procedural instructions. One or more computer program products may be included, which may include various forms of computer-readable storage media, such as volatile memory and/or non-volatile memory. The volatile memory may include, for example, random access memory (RAM) and/or cache memory, or the like. The non-volatile memory may include, for example, read only memory (ROM), hard disk, flash memory, and the like.
飞行器100可以包括一个或者多个处理器101,处理器101可以是中央处理单元(CPU)、图像处理单元(GPU)、专用集成电路(ASIC)、现场可编程门阵列(FPGA)或者具有数据处理能力和/或指令执行能力的其它形式的处理单元,并且可以控制飞行器100中的其它组件以执行期望的功能。所述处理器能够执行存储器中存储的程序指令,以执行下文描述的本申请实施例的可移动平台的控制方法中的相关步骤。例如,处理器能够包括一个或多个嵌入式处理器、处理器核心、微型处理器、逻辑电路、硬件有限状态机(FSM)、数字信号处理器(DSP)或它们的组合。在本实施例中,所述处理器包括现场可编程门阵列(FPGA),或者一个或者多个ARM处理器。 Aircraft 100 may include one or more processors 101, which may be central processing units (CPUs), graphics processing units (GPUs), application specific integrated circuits (ASICs), field programmable gate arrays (FPGAs), or have data processing Other forms of processing units capable of and/or instruction execution capabilities, and may control other components in aircraft 100 to perform desired functions. The processor can execute the program instructions stored in the memory, so as to execute the relevant steps in the mobile platform control method of the embodiments of the present application described below. For example, a processor can include one or more embedded processors, processor cores, microprocessors, logic circuits, hardware finite state machines (FSMs), digital signal processors (DSPs), or combinations thereof. In this embodiment, the processor includes a Field Programmable Gate Array (FPGA), or one or more ARM processors.
根据对空域管制的规定以及对无人机的管理规定,无人机必须在规定的空域中飞行,无人机地理围栏系统是一种用于限制无人机飞行的一种方式,无人机地理围栏系统在目前一些无人机上呈现两种形态:一种是不具备高性能处理器的无人机(无前视避障等高级功能),在这种无人机上面目前只能实现最简单的圆形限制区域(例如限飞区),这种限制区域(例如限飞区)数据存储格式非常简单,数据库的数量也较少;另一种是具备高性能处理器的无人机(具有视觉避障,tracking等高级功能),在这类产品上面目前实现了复杂的多边形限制区域(例如限飞区),并且限制区域(例如限飞区)数量也很多。According to the regulations on airspace control and the management of drones, drones must fly in the specified airspace. The drone geofencing system is a way to restrict the flight of drones. The geofence system has two forms on some current UAVs: one is the UAV without a high-performance processor (no advanced functions such as forward-looking obstacle avoidance), and currently only the most advanced UAV can be realized. A simple circular restricted area (such as a restricted area), the data storage format of this restricted area (such as a restricted area) is very simple, and the number of databases is also small; the other is a drone with a high-performance processor ( With advanced functions such as visual obstacle avoidance and tracking), complex polygonal restricted areas (such as flying restricted areas) are currently implemented on such products, and there are also a large number of restricted areas (such as flying restricted areas).
不具备高性能处理器的无人机的限制区域(例如限飞区)功能可以在飞控系统(Flight control system,简称FC)所在的微控制单元(MCU)上实现,而具备高性能处理器的无人机其限制区域(例如限飞区)功能可以在AP(Application Processer,应用处理器)上实现,FC上只是进行执行。The function of the restricted area (such as the restricted area) of the UAV without a high-performance processor can be realized on the microcontroller unit (MCU) where the flight control system (FC) is located, but with a high-performance processor The function of the restricted area (such as restricted flight area) of the UAV can be realized on the AP (Application Processor), and only executed on the FC.
在现有无人机中,机场限制区域(例如限飞区)大多是将无人机在水平方向和竖直方向分别进行考虑,对于机场限制区域(例如限飞区)区的常见形态为,在完全不允许起飞的禁飞区外围有一个固定高度限制的扩大区域(也称限制区域(例如限高区))。In the existing UAVs, the airport restricted areas (such as flight restricted areas) are mostly considered in the horizontal and vertical directions of the UAV. The common forms of airport restricted areas (such as flight restricted areas) are: There is an enlarged area (also called restricted area (such as height restriction area)) with a fixed height limit outside the no-fly zone that does not allow take-off at all.
在现有产品中,限飞数据都是按照圆形和多边形直接存储,圆形限飞区存储限飞区圆心GPS坐标和半径,多边形限飞区存储多边形各顶点的GPS点,限飞判断过程中,都是将数据库中存储的GPS点读入内存后转换到NED坐标系下,在NED坐标系下计算无人机位置与限飞区的几何关系,进而形成相关限飞结论并执行相关限制。然而,上述几何运算对算力的消耗较大且不利于使用通用的运动规划方法。In the existing products, the flight restriction data are stored directly according to circles and polygons. The circular flight restriction area stores the GPS coordinates and radius of the center of the flight restriction area, and the polygon flight restriction area stores the GPS points of each vertex of the polygon. The flight restriction judgment process In the method, the GPS points stored in the database are read into the memory and converted to the NED coordinate system, and the geometric relationship between the position of the UAV and the restricted flight area is calculated in the NED coordinate system, and then the relevant flight restriction conclusions are formed and relevant restrictions are implemented. . However, the above-mentioned geometric operations consume a large amount of computing power and are not conducive to the use of general motion planning methods.
鉴于上述问题的存在,本申请实施例中提供一种可移动平台的控制方法,其特征在于,所述控制方法包括:获取用于构建栅格地图的限制区域的第一数据信息;基于所述限制区域的第一数据信息,获得所述限制区域的栅格地图;基于所述限制区域的栅格地图,控制可移动平台的移动。In view of the existence of the above problems, an embodiment of the present application provides a control method for a movable platform, characterized in that the control method includes: acquiring first data information of a restricted area for constructing a grid map; The first data information of the restricted area is obtained, and the grid map of the restricted area is obtained; based on the grid map of the restricted area, the movement of the movable platform is controlled.
本申请实施例中的可移动平台的控制方法,将限制区域的数据形式转换为栅格地图的形式,并以栅格地图的形式存储限制区域数据,在可移动平台的移动过程中,可以通过查找栅格地图的方式快速获得可移动平台周围的限制区域的数据信息,从而可以节省机载算力,提升限制区域的查找速度,以便根据查找到的限 制区域合理的规划移动路径,有效避免可移动平台误闯限制区域(例如限飞区)的问题出现。In the control method of the movable platform in the embodiment of the present application, the data form of the restricted area is converted into the form of a grid map, and the data of the restricted area is stored in the form of a grid map. The method of searching the grid map can quickly obtain the data information of the restricted area around the movable platform, which can save the airborne computing power and improve the search speed of the restricted area, so that the moving path can be reasonably planned according to the found restricted area, which can effectively avoid possible The problem of mobile platforms straying into restricted areas (such as restricted areas) arises.
需要说明的是,本申请实施例提供的可移动平台的控制方法,其执行主体可以是可移动平台(例如飞行器),还可以是可以通过软件、硬件或者软硬件结合的方式实现可移动平台的控制方法的计算机设备的部分或者全部。It should be noted that, in the control method of the movable platform provided by the embodiments of the present application, the execution subject may be a movable platform (such as an aircraft), or a movable platform that can be implemented by software, hardware or a combination of software and hardware. Part or all of the computer equipment of the control method.
下面,参考图2和图3对本申请实施例提供的可移动平台的控制方法进行描述。Hereinafter, the control method of the movable platform provided by the embodiment of the present application will be described with reference to FIG. 2 and FIG. 3 .
作为示例,如图2所示,本申请实施例提供的可移动平台的控制方法200包括以下步骤S201至步骤S203。As an example, as shown in FIG. 2 , the method 200 for controlling a mobile platform provided by an embodiment of the present application includes the following steps S201 to S203.
首先,在步骤S201中,获取用于构建栅格地图的限制区域的第一数据信息。First, in step S201, first data information of a restricted area for constructing a grid map is acquired.
限制区域数据库中存储的限制区域的数据量很大,而可移动平台的移动范围通常是有限的,因此,需要从限制区域数据库中获取(也即筛选)用于建立地图的数据。可以通过任意适合的方法从限制区域中获取用于建立地图的数据。用于建立地图的地图范围可以由具体业务场景确定,也可以在当前位置附近选定一个区域;限制区域数据库可以是任意的存储有限制区域数据的数据库,例如当可移动平台为飞行器时,限制区域数据库可以为全球限飞数据库,还可以例如为geohash组织的数据库。The restricted area data stored in the restricted area database is large, and the moving range of the movable platform is usually limited. Therefore, it is necessary to obtain (ie, filter) the data for building the map from the restricted area database. The data used to build the map can be obtained from the restricted area by any suitable method. The map range used to build the map can be determined by the specific business scenario, or an area can be selected near the current location; the restricted area database can be any database that stores restricted area data. The regional database may be a global flight restriction database, and may also be, for example, a database organized by geohash.
在一个示例中,所述获取用于构建栅格地图的限制区域的第一数据信息,包括:根据所述可移动平台(例如飞行器)的当前位置信息(例如当前GPS位置信息,特别当前GPS坐标),确定用于构建栅格地图的限制区域的第一数据信息,其中,用于构建栅格地图的限制区域包括和所述可移动平台的当前位置的距离低于阈值距离的限制区域,该阈值距离可以根据实际需要合理设定,例如1公里、2公里、3公里等。In an example, the acquiring the first data information of the restricted area for constructing the grid map includes: according to the current position information (such as the current GPS position information, particularly the current GPS coordinates) of the movable platform (such as the aircraft) ), determine the first data information of the restricted area for constructing the grid map, wherein the restricted area for constructing the grid map includes the restricted area whose distance from the current position of the movable platform is lower than the threshold distance, the The threshold distance can be reasonably set according to actual needs, such as 1 km, 2 km, 3 km, etc.
在另一个示例中,所述获取用于构建栅格地图的限制区域的第一数据信息,包括:根据限制区域与当前地图区域的重叠关系,确定用于构建栅格地图的限制区域,其中,用于构建栅格地图的限制区域包括与当前地图区域有重叠的限制区域,所述当前地图区域包括可移动平台的历史移动轨迹所覆盖的区域,例如,可移动平台当前处于第一位置,而可移动平台是从第二位置移动到的第一位置,则历史移动轨迹也即包括其从第二位置移动到第一位置的移动轨迹,并且,该可移动平台将要从第一位置返回到第二位置,例如飞行器将要返航,因此,可以利用其从第二位置移动到第一位置的历史移动轨迹所覆盖的区域来绘制当前地图区 域,更加快速的筛选到可能会对可移动平台的移动构成限制的限制区域。In another example, the obtaining the first data information of the restricted area for constructing the grid map includes: determining the restricted area for constructing the grid map according to the overlapping relationship between the restricted area and the current map area, wherein, The restricted area used to construct the grid map includes the restricted area that overlaps with the current map area, and the current map area includes the area covered by the historical movement track of the movable platform, for example, the movable platform is currently in the first position, and If the movable platform is moved from the second position to the first position, the historical movement track also includes its movement track from the second position to the first position, and the movable platform will return from the first position to the first position. For example, the aircraft is about to return home. Therefore, the current map area can be drawn by using the area covered by the historical movement trajectory of the aircraft moving from the second position to the first position. Restricted restricted area.
值得一提的是,上述示例的获取用于构建栅格地图的限制区域的第一数据信息的方法可以单独使用或者也可以两者混合使用。It is worth mentioning that the method for obtaining the first data information of the restricted area for constructing a grid map in the above example may be used alone or may be used in combination.
可选地,限制区域的第一数据信息例如限飞区的限飞数据,限飞数据可以按照圆形和/或多边形直接存储,圆形限飞区存储限飞区圆心GPS坐标和半径,多边形限飞区存储多边形各顶点的GPS坐标。Optionally, the first data information of the restricted area is, for example, the restricted flight data of the restricted area. The restricted data can be directly stored in a circle and/or a polygon. The circular restricted area stores the GPS coordinates and radius of the center of the restricted area, and the polygon The restricted fly area stores the GPS coordinates of each vertex of the polygon.
需要说明的是,本申请中的限制区域的第一数据信息还可以包括例如限制区域(例如限飞区)区的长度、宽度、限制区域(例如限飞区)高度(也即限制区域内可移动平台的最大可移动高度)、中心位置、形状、类型等数据信息。It should be noted that the first data information of the restricted area in this application may also include, for example, the length, width, and height of the restricted area (such as the restricted area) (that is, the restricted area (for example, the restricted area) The maximum movable height of the mobile platform), center position, shape, type and other data information.
继续如图2所示,在步骤S202中,基于所述限制区域的第一数据信息,获得所述限制区域的栅格地图。Continuing as shown in FIG. 2 , in step S202 , a grid map of the restricted area is obtained based on the first data information of the restricted area.
在所述栅格地图中,所述限制区域所覆盖的栅格包含高度信息,所述高度信息为所述可移动平台的最大可移动高度,例如可移动平台为飞行器时,则高度信息可以包括飞行器的最大可移动高度(也即最大可飞行高度)。则限制区域在栅格地图中以具有高度信息的障碍物的形式呈现,可移动平台在移动过程中只需查找限制区域即可快速获得限制区域的相关信息,并根据该些相关信息合理规划移动路线,避免误闯禁止移动区域(例如禁飞区)的问题出现。In the grid map, the grid covered by the restricted area includes height information, and the height information is the maximum movable height of the movable platform. For example, when the movable platform is an aircraft, the height information may include The maximum movable altitude of the aircraft (that is, the maximum flying altitude). The restricted area is presented in the form of obstacles with height information in the grid map, and the movable platform can quickly obtain the relevant information of the restricted area by simply searching for the restricted area during the movement, and plan the movement reasonably according to the relevant information. route to avoid the problem of accidentally entering prohibited movement areas (such as no-fly zones).
在一个示例中,所述限制区域的第一数据信息包括以GPS点存储的几何限制区域的数据信息,基于所述限制区域的第一数据信息,获得所述限制区域的栅格地图,包括:获取所述限制区域的第一数据信息转换至地理坐标系下的第二数据信息,例如将GPS坐标系(以及世界坐标系)下的第一数据信息转换至地理坐标系(例如NED坐标系)下的第二数据信息,GPS坐标系可以包括地心地固坐标系,例如地心地固坐标系可以为WGS-84坐标系或者其他的GPS坐标系,地理坐标系例如为北东地(North East Down,NED)坐标系或者其他在导航时可以使用的地理坐标系。基于所述第二数据信息构建所述地理坐标系下的所述限制区域的栅格地图,例如基于NED坐标系下的第二数据信息构建NED坐标系下的限制区域的栅格地图。In one example, the first data information of the restricted area includes data information of the geometric restricted area stored in GPS points, and based on the first data information of the restricted area, the grid map of the restricted area is obtained, including: Obtaining the first data information of the restricted area and converting it to the second data information under the geographic coordinate system, for example, converting the first data information under the GPS coordinate system (and the world coordinate system) to the geographic coordinate system (for example, the NED coordinate system) The second data information below, the GPS coordinate system can include the geocentric fixed coordinate system, for example, the geocentric fixed coordinate system can be the WGS-84 coordinate system or other GPS coordinate systems, and the geographic coordinate system is, for example, the North East Down , NED) coordinate system or other geographic coordinate system that can be used when navigating. The grid map of the restricted area in the geographic coordinate system is constructed based on the second data information, for example, the grid map of the restricted area in the NED coordinate system is constructed based on the second data information in the NED coordinate system.
在本文中,NED坐标系是在地球上的当前位置,以北方向作为N方向,以东方向作为E方向,以铅直下方向作为D方向的坐标系。In this paper, the NED coordinate system is the current position on the earth, with the north direction as the N direction, the east direction as the E direction, and the vertical downward direction as the D direction.
可以通过任意适合的坐标系转换方法将GPS坐标系(例如WGS-84坐标系) 下的GPS坐标转换至例如NED坐标系的地理坐标系下的坐标,例如,可以通过获取GPS坐标系(例如WGS-84坐标系)转换到地理坐标系例如NED坐标系的转换矩阵,基于该转换矩阵将GPS坐标转换为NED坐标系下的坐标信息。The GPS coordinates in a GPS coordinate system (eg, WGS-84 coordinate system) can be converted to coordinates in a geographic coordinate system such as the NED coordinate system by any suitable coordinate system conversion method, for example, by obtaining a GPS coordinate system (eg, WGS coordinate system). -84 coordinate system) to a geographic coordinate system such as a transformation matrix of the NED coordinate system, and based on the transformation matrix, the GPS coordinates are converted into coordinate information in the NED coordinate system.
在一个示例中,基于所述第二数据信息构建所述地理坐标系下的所述限制区域的栅格地图,包括:如图4所示,在限制区域的边缘所包围区域内的栅格中填充高度信息,所述高度信息为所述可移动平台的最大可移动高度。如图4所示,每个栅格可以具有高度,该高度用于指示在该栅格对应的限制区域的限制移动高度。在栅格地图上,栅格的尺寸和高度可以与实际限制区域的尺寸、高度等具有比例尺关系,例如,栅格的水平尺寸1cm对应实际限飞区的1公里,栅格的高度1cm对应实际限高区的500米等。例如,糖果形的栅格对应的高度信息为0.5cm,则表明该栅格对应的实际限飞区的限制飞行高度为250米。其中,当限制区域的第一数据信息中包括多个高度信息时,获得的限制区域的栅格地图也对应具有多层高度,而当限制区域的第一数据信息中包括单个高度信息时,则获得的限制区域的栅格地图对应具有一层高度。In an example, constructing the grid map of the restricted area under the geographic coordinate system based on the second data information includes: as shown in FIG. 4 , in the grid in the area enclosed by the edge of the restricted area Fill height information, the height information is the maximum movable height of the movable platform. As shown in FIG. 4 , each grid may have a height, and the height is used to indicate the restricted movement height in the corresponding restricted area of the grid. On the grid map, the size and height of the grid can have a scale relationship with the size and height of the actual restricted area. 500 meters in the height limit area, etc. For example, if the height information corresponding to the candy-shaped grid is 0.5 cm, it indicates that the restricted flight height of the actual flight restriction area corresponding to the grid is 250 meters. Wherein, when the first data information of the restricted area includes multiple height information, the obtained grid map of the restricted area also has multiple heights, and when the first data information of the restricted area includes a single height information, then The obtained raster map of the restricted area corresponds to one layer of height.
可以通过任意适合的方法在限制区域的边缘所包围区域内的栅格中填充高度信息,以构建栅格地图,其中,对于不同几何形状的限制区域可以采用不同的构建方法,限飞区域的几何形状例如可以包括圆形、多边形或者其他的不规则形状等。The height information can be filled in the grid in the area enclosed by the edge of the restricted area by any suitable method to construct a grid map, wherein different construction methods can be adopted for the restricted area of different geometric shapes, and the geometry of the restricted area Shapes may include, for example, circles, polygons, or other irregular shapes, and the like.
在一个示例中,如图3所示,当所述限制区域的几何形状为圆形时,所述在限制区域的边缘所包围区域内的栅格中填充高度信息,包括以下步骤A1至步骤A2:In an example, as shown in FIG. 3 , when the geometric shape of the restricted area is a circle, the grid in the area enclosed by the edge of the restricted area is filled with height information, including the following steps A1 to A2 :
在步骤A1中,获取多条扫描线和所述圆形的交点坐标,其中,每条扫描线的延伸方向和所述地理坐标系的第一坐标轴垂直,所述第一坐标轴包括x轴或者y轴,其中,相邻扫描线之间的间隔距离与栅格尺寸相同,其中本申请的栅格尺寸可以根据实际的需要合理的设定,在此不对其进行具体限制。In step A1, the intersection coordinates of a plurality of scan lines and the circle are obtained, wherein the extension direction of each scan line is perpendicular to the first coordinate axis of the geographic coordinate system, and the first coordinate axis includes the x-axis Or the y-axis, wherein the spacing distance between adjacent scan lines is the same as the grid size, wherein the grid size of the present application can be reasonably set according to actual needs, which is not specifically limited here.
可选地,所述多条扫描线包括第一扫描线、第二扫描线和介于所述第一扫描线和所述第二扫描线之间的至少一条第三扫描线,其中,所述第一扫描线经过所述限制区域的几何形状在所述第一坐标轴方向的最大值所对应的点并和第一坐标轴方向垂直,所述第二扫描线经过所述限制区域的几何形状在所述第一坐标轴方向的最小值所对应的点并和第一坐标轴方向垂直。可选地,可以根据圆形的限制区域的圆心与半径,获取该圆形的限制区域在第一坐标轴方向的最大值与最小 值。进一步,可以将第一扫描线作为起始扫描线,第二扫描线作为终止扫描线,或者,也可以是第一扫描线作为终止扫描线,第二扫描线作为起始扫描线。Optionally, the plurality of scan lines include a first scan line, a second scan line, and at least one third scan line between the first scan line and the second scan line, wherein the The first scan line passes through the point corresponding to the maximum value of the geometric shape of the restricted area in the direction of the first coordinate axis and is perpendicular to the direction of the first coordinate axis, and the second scan line passes through the geometric shape of the restricted area The point corresponding to the minimum value in the direction of the first coordinate axis is perpendicular to the direction of the first coordinate axis. Optionally, the maximum and minimum values of the circular restricted area in the direction of the first coordinate axis may be obtained according to the center and radius of the circular restricted area. Further, the first scan line may be used as the start scan line, and the second scan line may be used as the end scan line, or the first scan line may be used as the end scan line, and the second scan line may be used as the start scan line.
例如,如图3所示,以第一坐标轴为Y轴为例,根据圆形的限制区域的圆心与半径,获取该圆形的限制区域在y轴方向的最大值ymax与最小值ymin,过(0,ymin)做垂直于y轴的直线a,过(0,ymax)做垂直于y轴的直线b,将直线a作为起始扫描线,将直线b作为终止扫描线,按照栅格尺寸选择中间的扫描线,也即第三扫描线。For example, as shown in Figure 3, taking the first coordinate axis as the Y-axis as an example, according to the center and radius of the restricted area of the circle, the maximum value ymax and the minimum value ymin of the restricted area of the circle in the y-axis direction are obtained, Pass (0, ymin) to make a straight line a perpendicular to the y-axis, pass (0, ymax) to make a straight line b perpendicular to the y-axis, use straight line a as the starting scan line, and straight line b as the end scan line, according to the grid The size selects the middle scan line, that is, the third scan line.
在步骤A2中,根据每条扫描线和圆形的交点数量,确定预定填充所述高度信息的栅格,其中,当所述扫描线与所述圆形具有一个交点时,在该交点所在的栅格内填充与该交点对应的高度信息,当所述扫描线与所述圆形具有两个交点时,则将两个交点之间的区域内的栅格内填充高度信息,而在该两个交点外侧的沿该扫描线的延伸方向上的其他区域(也即该其他区域不是限制区域)填充不限制高度,可以设置为极大值。填充的高度信息具体根据限制区域的限制高度信息(例如可移动平台的最大可移动高度)而定,例如当限制区域具有单一的可移动平台的最大可移动高度,或者,限制区域具有多个可移动平台的最大可移动高度,该多个可移动平台的最大可移动高度分别对应不同的区域,则可以根据栅格所处的具体区域设置栅格需要填充的高度信息,进而获得的限制区域的栅格地图,可以具有多个高度信息。In step A2, according to the number of intersections between each scan line and the circle, determine the grid to be filled with the height information. The grid is filled with height information corresponding to the intersection. When the scan line and the circle have two intersections, the grid in the area between the two intersections is filled with height information, and the two intersections are filled with height information. The filling height of other areas outside the intersection along the extension direction of the scan line (that is, the other areas are not restricted areas) is not restricted and can be set to a maximum value. The height information to be filled is determined according to the restricted height information of the restricted area (such as the maximum movable height of the movable platform), for example, when the restricted area has a single maximum movable height of the movable platform, or, the restricted area has multiple The maximum movable height of the mobile platform. The maximum movable heights of the multiple movable platforms correspond to different regions. The height information that needs to be filled in the grid can be set according to the specific region where the grid is located, and then the obtained limit area is A raster map, which can have multiple heights.
当所述限制区域的几何形状为多边形时,可以采用本领域技术人员熟知的任何适合的方法,对其填充高度信息,例如通过扫描线的方式,判断位于多边形区域内的栅格标志为第一标志位,而将判断位于多边形区域外的栅格标志为第二标志位,并在所述第一标志位标记的栅格中填充相应的高度信息。When the geometric shape of the restricted area is a polygon, any suitable method known to those skilled in the art can be used to fill it with height information, for example, by means of scanning lines, it is determined that the grid mark located in the polygon area is the first The flag bit is determined, and the grid outside the polygon area is determined to be marked as the second flag bit, and the corresponding height information is filled in the grid marked by the first flag bit.
在一个示例中,当所述限制区域的几何形状为多边形时,所述在限制区域的边缘所包围区域内的栅格中填充高度信息,包括以下步骤B1和步骤B3:In an example, when the geometric shape of the restricted area is a polygon, filling the grid with height information in the area enclosed by the edge of the restricted area includes the following steps B1 and B3:
在步骤B1中,获取多条扫描线和所述多边形的交点,其中,每条扫描线的延伸方向和所述地理坐标系的第一坐标轴垂直,其中,相邻扫描线之间的间隔距离与栅格尺寸相同,所述第一坐标轴包括x轴或者y轴。In step B1, the intersection points of a plurality of scan lines and the polygon are acquired, wherein the extension direction of each scan line is perpendicular to the first coordinate axis of the geographic coordinate system, wherein the interval distance between adjacent scan lines is The same as the grid size, the first coordinate axis includes an x-axis or a y-axis.
例如,以第一坐标轴为Y轴为例,获取该多边形的限制区域在y轴方向的最大值ymax与最小值ymin,过(0,ymin)做垂直于y轴的直线a,过(0,ymax)做垂直于y轴的直线b,将直线a做为起始扫描线,将直线b作为终止扫描线,按照栅格尺寸选择中间的扫描线,也即第三扫描线。本申请中,仅以第一坐标轴 为Y轴的情况为例进行说明,但可以理解的是第一坐标轴为X轴的情况同样适用于本申请。For example, taking the first coordinate axis as the Y-axis as an example, obtain the maximum value ymax and the minimum value ymin of the restricted area of the polygon in the y-axis direction, and pass (0, ymin) to make a straight line a perpendicular to the y-axis, and pass (0 , ymax) to make a straight line b perpendicular to the y-axis, take straight line a as the starting scan line, take straight line b as the ending scan line, and select the middle scan line according to the grid size, that is, the third scan line. In this application, only the case where the first coordinate axis is the Y axis is used as an example for description, but it can be understood that the case where the first coordinate axis is the X axis is also applicable to this application.
在步骤B2中,将每条所述扫描线从所述多边形的一侧向另一侧延伸时与所述多边形的第一个交点所在的栅格设置为第一标志位,表示扫描线现在在多边形的内部,将与所述多边形的下一个交点所在的栅格设置为第二标志位,表示扫描线已通过多边形,又在多边形的外部,将所述第一个交点和所述下一个交点之间的所述扫描线经过的、并确定位于所述限制区域内的栅格设置为所述第一标志位,其中,第一标志位为1,第二标志位为0,或者,第一标志位为0,第二标志位为1,当扫描线和多边形具有两个以上的交点时,按照扫描线与多边形相交的时序,依次为第1个交点、第2个交点……第n个交点,直到所有交点均取完,其中,将奇数交点对应的栅格设置为第一标志位,将偶数交点对应的栅格设置为第二标志位,并将排序好的交点两两配对,配对的两个交点之间的确定位于所述限制区域内的栅格设置为第一标志位。具体地,可以采用本领域技术人员熟知的任何适合的方法来确定两两交点之间的栅格是否位于限制区域内。In step B2, the grid where each scan line extends from one side to the other side of the polygon and the first intersection of the polygon is set as the first flag bit, indicating that the scan line is now in Inside the polygon, set the grid where the next intersection with the polygon is located as the second flag bit, indicating that the scan line has passed the polygon, and outside the polygon, set the first intersection with the next intersection The grid that the scan line passes through and is determined to be located in the restricted area is set as the first flag bit, wherein the first flag bit is 1, the second flag bit is 0, or the first flag bit is 0 The flag bit is 0 and the second flag bit is 1. When the scan line and the polygon have more than two intersection points, according to the time sequence of the intersection of the scan line and the polygon, the first intersection point, the second intersection point...the nth Intersections, until all intersections are taken, where the grid corresponding to the odd-numbered intersections is set as the first flag bit, the grid corresponding to the even-numbered intersections is set as the second flag bit, and the sorted intersections are paired in pairs. The grid between the two intersections determined to be located within the restricted area is set as the first flag bit. Specifically, any suitable method known to those skilled in the art can be used to determine whether the grid between two intersection points is located within the restricted area.
在步骤B3中,在所述第一标志位标记的栅格中填充相应的高度信息,否则,设置为不限制高度,也即为极大值。In step B3, the corresponding height information is filled in the grid marked by the first flag bit, otherwise, the height is set as unrestricted, that is, the maximum value.
通过上述方法获得多边形的限制区域的栅格地图,对于其他的可以填充多边形的限制区域的方法,也可以同样适用于本申请。The grid map of the restricted area of the polygon is obtained by the above method, and other methods that can fill the restricted area of the polygon are also applicable to the present application.
其中,图4中示出了栅格化后的限制区域的栅格地图,图中各个凸起区域为相邻的限制区域例如机场限飞区,该些区域内飞行器例如无人机禁止进入。4 shows a grid map of the rasterized restricted area, and each raised area in the figure is an adjacent restricted area, such as an airport restricted area, where aircraft such as drones are prohibited from entering.
继续参考图2,在步骤S203中,基于所述限制区域的栅格地图,控制可移动平台的移动。Continuing to refer to FIG. 2 , in step S203 , the movement of the movable platform is controlled based on the grid map of the restricted area.
可以通过任意适合的方法基于所述限制区域的栅格地图,控制可移动平台的移动,例如,基于限飞区的栅格地图,控制飞行器的飞行,例如限制飞行器的飞行。Movement of the movable platform can be controlled based on the grid map of the restricted area by any suitable method, eg, based on the grid map of the restricted area, controlling the flight of the aircraft, eg restricting the flight of the aircraft.
在第一种控制方法中,基于所述限制区域的栅格地图,控制可移动平台的移动,包括:基于所述限制区域的栅格地图,确定所述可移动平台与限制区域的位置关系;基于所述位置关系,控制所述可移动平台的移动,例如,在栅格地图下,确定飞行器与限飞区的位置关系并直接限制飞行速度。控制所述可移动平台的移动,执行对可移动平台(例如飞行器)的相关限制,例如控制飞行器进行减速逻 辑、改变飞行方向、降低飞行高度等。从而避免可移动平台(例如飞行器)违反限制区域(例如限飞区)规则,而导致不必要的风险In a first control method, controlling the movement of the movable platform based on the grid map of the restricted area includes: determining the positional relationship between the movable platform and the restricted area based on the grid map of the restricted area; Based on the positional relationship, the movement of the movable platform is controlled, for example, under the grid map, the positional relationship between the aircraft and the flight restriction area is determined and the flight speed is directly restricted. The movement of the movable platform is controlled, and the relevant restrictions on the movable platform (such as the aircraft) are performed, such as controlling the aircraft to perform deceleration logic, change the flight direction, reduce the flight altitude, etc. So as to prevent movable platforms (such as aircraft) from violating the rules of restricted areas (such as restricted flight areas), resulting in unnecessary risks
示例性地,所述栅格地图为地理坐标系下的栅格地图,基于所述限制区域的栅格地图,确定所述可移动平台与限制区域的位置关系,包括:获取可移动平台的当前位置信息,例如飞行器的当前GPS位置信息。将所述当前位置信息映射到所述地理坐标系下,获取所述当前位置对应的栅格位置,例如将可移动平台的当前位置信息转换到NED坐标系下,获得在NED坐标系下的栅格位置;基于所述栅格位置和限制区域的栅格地图,确定与所述栅格位置间隔预定栅格数量的范围内的限制区域,例如通过查表方式查找可移动平台(例如飞行器)对应的栅格位置是否在限制区域(例如限飞区)中,并检查可移动平台(例如飞行器)对应的栅格位置周围预定数量栅格内的限制区域(例如限飞区)的情况;获取所述可移动平台与限制区域的位置关系,例如,当存在限制区域(例如限飞区)时,则获取所述可移动平台与限制区域的位置关系,例如位置关系包括可移动平台(例如飞行器)到所有限制区域(例如所有限飞区)的最近距离以及对应方向向量。Exemplarily, the grid map is a grid map in a geographic coordinate system. Based on the grid map of the restricted area, determining the positional relationship between the movable platform and the restricted area includes: obtaining the current state of the movable platform. Location information, such as the current GPS location of the aircraft. Map the current location information to the geographic coordinate system, and obtain the grid location corresponding to the current location, for example, convert the current location information of the movable platform to the NED coordinate system, and obtain the grid location in the NED coordinate system. grid position; based on the grid position and the grid map of the restricted area, determine the restricted area within the range of the predetermined grid number from the grid position, for example, by looking up a table to find the corresponding mobile platform (such as an aircraft) Check whether the grid position of the mobile platform (such as an aircraft) is in a restricted area (such as a restricted area), and check the situation of the restricted area (such as a restricted area) within a predetermined number of grids around the grid position corresponding to the movable platform (such as an aircraft); The positional relationship between the movable platform and the restricted area, for example, when there is a restricted area (such as a restricted area), then obtain the positional relationship between the movable platform and the restricted area, for example, the positional relationship includes a movable platform (such as an aircraft) The closest distances to all restricted areas (eg all flybacks) and corresponding direction vectors.
进一步,基于所述位置关系,控制所述可移动平台的移动,包括:当基于所述位置关系确定所述可移动平台处于限制区域中的禁止移动区域时,控制所述可移动平台停止移动或者禁止所述可移动平台开始移动,例如确定飞行器处于禁飞区时,则控制飞行器停止飞行或者禁止飞行器开始飞行;或者,当基于所述位置关系确定所述可移动平台处于限制区域中的限高区域时,控制所述可移动平台在限高区域的限制高度以下移动,例如,确定飞行器处于限制区域中的限高区域时,控制所述飞行器在限高区域的限制高度以下飞行;或者,当基于所述位置关系确定所述可移动平台当前未处于限制区域中,则根据获取的可移动平台到限制区域的最近距离和对应方向向量,禁止所述可移动平台朝向所述方向移动,例如根据得到的到最近限飞区的最近距离和方向向量,限制无人机在该方向上的运动,例如,控制飞行器进行减速,或者,减速后改变航向,避免无人机飞入限飞区中,造成风险。Further, controlling the movement of the movable platform based on the positional relationship includes: when it is determined based on the positional relationship that the movable platform is in a prohibited movement area in the restricted area, controlling the movable platform to stop moving or Forbid the movable platform to start moving, for example, when it is determined that the aircraft is in a no-fly zone, control the aircraft to stop flying or prohibit the aircraft from starting to fly; or, when it is determined based on the positional relationship that the movable platform is in a restricted area with a height limit control the movable platform to move below the height limit of the height limit area, for example, when it is determined that the aircraft is in the height limit area of the limit area, control the aircraft to fly below the limit height of the height limit area; or, when Based on the positional relationship, it is determined that the movable platform is not currently in the restricted area, and the movable platform is prohibited from moving in the direction according to the obtained closest distance from the movable platform to the restricted area and the corresponding direction vector, for example, according to The obtained shortest distance and direction vector to the nearest flight limit area, limit the movement of the UAV in this direction, for example, control the aircraft to decelerate, or change the course after deceleration, so as to prevent the UAV from flying into the flight limit area, create risk.
在一个示例中,所述限制区域的栅格地图为基于所述可移动平台从所述第二位置移动到所述第一位置过程中所采集的数据信息所获得,所述限制区域的栅格地图中还包括从所述第二位置移动到所述第一位置过程中所述可移动平台的视觉传感器所探测到的障碍物,当基于栅格地图,控制可移动平台的移动,例如可 移动平台在移动时基于映射到和栅格地图相同的地理坐标系下后,查找其周围的障碍物,从而控制可移动平台移动过程中能够避让障碍物,防止其和碰撞障碍物而影响其移动以及导致平台损坏等问题的出现。In one example, the grid map of the restricted area is obtained based on data information collected during the movement of the movable platform from the second position to the first position, the grid of the restricted area The map also includes obstacles detected by the visual sensor of the movable platform in the process of moving from the second position to the first position. When the movement of the movable platform is controlled based on the grid map, for example, the movable platform can be moved. When the platform is moving, it is mapped to the same geographic coordinate system as the grid map, and then finds obstacles around it, so as to control the movable platform to avoid obstacles during its movement, prevent it from colliding with obstacles and affect its movement and lead to problems such as platform damage.
在第二种控制方法中,基于限制区域的栅格地图,还可以在移动路线(例如飞行器的航线)规划时主动绕行限制区域(例如限飞区),基于所述限制区域的栅格地图,控制可移动平台的移动,包括:基于所述限制区域的栅格地图,获取可移动平台的从第一位置移动到第二位置的预定移动路线,其中,所述预定移动路线不与所述限制区域相交,也即预定移动路线不会穿过限制区域,从而避免可移动平台进入限制区域例如无人机飞入限飞区或者距离限飞区域太近。In the second control method, based on the grid map of the restricted area, it is also possible to actively bypass the restricted area (for example, the restricted area) when planning the moving route (for example, the route of the aircraft), based on the grid map of the restricted area , controlling the movement of the movable platform, comprising: obtaining a predetermined movement route of the movable platform from the first position to the second position based on the grid map of the restricted area, wherein the predetermined movement route is not related to the The restricted area intersects, that is, the predetermined movement route does not pass through the restricted area, thereby preventing the movable platform from entering the restricted area such as the drone flying into the restricted area or too close to the restricted area.
例如,可以基于移动路线规划的常规算法获得规划的移动路线,该规划的移动路线可以是一条也可以是多条,之后查找限制区域的栅格地图确定出预定移动路线,也即安全路线,该路线不与所述限制区域相交,也即预定移动路线不会穿过限制区域。可以是规划出一条路线后,就查找限制区域的栅格地图,当该规划处的路线不符合要求时,也即其穿过限制区域时,则重新规划路线,再基于重新规划的路线查找限制区域的栅格地图,判断该路线是否符合要求,也即是否穿过限制区域,重复上述规划,查找的步骤,直到获得一条不穿过限制区域的路线作为预定移动路线。或者,还可以是先基于规划算法获得多条规划路线,再逐一基于该些路线,查找限制区域的栅格地图,从而在多条规划路线中确定一条预定移动路线。或者还可以采用其他适合的方法确定预定移动路线。For example, a planned moving route can be obtained based on a conventional algorithm for moving route planning, and the planned moving route can be one or more, and then the grid map of the restricted area is searched to determine the predetermined moving route, that is, the safe route. The route does not intersect the restricted area, ie the predetermined movement route does not pass through the restricted area. After a route is planned, the grid map of the restricted area is searched. When the planned route does not meet the requirements, that is, when it passes through the restricted area, the route is re-planned, and then the restriction is searched based on the re-planned route. The grid map of the area is used to determine whether the route meets the requirements, that is, whether it passes through the restricted area. Repeat the above planning and search steps until a route that does not pass through the restricted area is obtained as the predetermined moving route. Alternatively, a plurality of planned routes may be obtained based on a planning algorithm, and then based on the routes one by one, a grid map of the restricted area may be searched, thereby determining a predetermined moving route among the plurality of planned routes. Alternatively, other suitable methods may also be used to determine the predetermined moving route.
在一个示例中,所述限制区域的栅格地图为基于所述可移动平台从所述第二位置移动到所述第一位置过程中所采集的数据信息所获得,这样,该栅格地图可以涵盖第一位置和第二位置之间的所有限飞区的信息,因此,可移动平台在从第一位置返回第二位置时,基于该栅格地图即可很好的规划移动路线,可以节省算力,快速查找到限制区域的信息,提高路线规划的效率和速度。In one example, the grid map of the restricted area is obtained based on data information collected during the movement of the movable platform from the second position to the first position, so that the grid map can be Covers all the information of the flight control area between the first position and the second position. Therefore, when the movable platform returns from the first position to the second position, the moving route can be well planned based on the grid map, which can save Computing power, quickly find information about restricted areas, and improve the efficiency and speed of route planning.
可选地,所述限制区域的栅格地图中还包括从所述第二位置移动到所述第一位置过程中所述可移动平台的视觉传感器所探测到的障碍物,所述预定移动路线不与所述障碍物相交,也即预定移动路线避让障碍物,以避免可移动平台移动过程中碰撞障碍物的问题出现。Optionally, the grid map of the restricted area further includes obstacles detected by the visual sensor of the movable platform during the movement from the second position to the first position, the predetermined movement route. Do not intersect with the obstacle, that is, the predetermined moving route avoids the obstacle, so as to avoid the problem of collision with the obstacle during the movement of the movable platform.
可以根据实际需要采用航线规划算法(如RRT、PRM等)规划例如无人机的飞行器的飞行航线时,可以查询上文中建立的限制区域例如限飞区的栅格地图得到一条安全航线(也即预定移动路线),再由飞行控制方法控制无人机飞行, 以保证在飞行过程中无人机不会出现在限飞区内。When planning the flight route of an aircraft such as an unmanned aerial vehicle by using a route planning algorithm (such as RRT, PRM, etc.) according to actual needs, you can query the restricted area established above, such as the grid map of the restricted flight area, to obtain a safe route (that is, a safe route). Predetermined moving route), and then control the UAV to fly by the flight control method to ensure that the UAV will not appear in the restricted flight area during the flight.
以上两种控制方法可以分开使用也可以结合使用以获得更可靠的移动路线(例如飞行路径)。结合使用的流程可以如图5所示,以飞行器为例,首先通过第二种控制方法,通过特定业务的规划算法规划航线,基于限飞区的栅格地图,判断规划的航线是否穿过限飞区,将不穿过限飞区的航线作为预定移动路线也即安全航线,之后,控制飞行器按照该安全航线飞行,并在飞行过程中进行航线跟踪,并依据无人机速度指令控制无人机的飞行速度,同时在飞行过程中依据前述的第一种控制方法,获取无人机当前位置,并将其转换至例如NED坐标系的地理坐标系下,基于限飞区的栅格地图,判断无人机与限飞区的位置关系,基于该位置关系,对无人机的飞行速度进行限制,控制无人机执行限制后的无人机速度指令。The above two control methods can be used separately or in combination to obtain a more reliable movement path (eg flight path). The combined use process can be shown in Figure 5. Taking the aircraft as an example, firstly, through the second control method, plan the route through the planning algorithm of the specific business, and judge whether the planned route passes the limit based on the grid map of the restricted flight area. In the flying area, the route that does not pass through the restricted flight area is used as the predetermined moving route, that is, the safe route. After that, the aircraft is controlled to fly according to the safe route, and the route is tracked during the flight, and the unmanned aerial vehicle is controlled according to the speed command of the drone. At the same time, according to the aforementioned first control method during the flight, the current position of the drone is obtained, and it is converted into a geographic coordinate system such as the NED coordinate system, based on the grid map of the restricted flight area, Determine the positional relationship between the drone and the restricted flight area, limit the flight speed of the drone based on the positional relationship, and control the drone to execute the restricted drone speed command.
例如,以飞行器为例,如果飞行器位于限飞区内,若飞行器的飞行高度高于限飞区的限飞高度,则控制飞行器降低其飞行高度至限飞高度以下,又例如,如果飞行器位于限飞区内,调整所述飞行器的航向(也即飞行方向),以控制所述无人机在所述限飞区域外飞行。再例如,如果飞行器位于限飞区外且距离限飞区预设距离内,则阻止飞行器起飞或者禁止飞行器朝向限飞区的方向进行飞行。还例如,如果飞行器处于禁飞区内,则控制飞行器降落至地面。还例如,飞行器位于限飞区内,控制飞行器进行减速,或者,减速后改变航向,以防止误闯入禁飞区。For example, taking an aircraft as an example, if the aircraft is located in the restricted flight area, if the flying height of the aircraft is higher than the restricted flying height of the restricted area, control the aircraft to lower its flying height to below the restricted flying height. In the flying zone, the heading (ie, the flight direction) of the aircraft is adjusted to control the drone to fly outside the restricted flight zone. For another example, if the aircraft is located outside the flight-restricted area and within a preset distance from the flight-restricted area, the aircraft is prevented from taking off or the aircraft is prohibited from flying in the direction of the flight-restricted area. Also for example, if the aircraft is in a no-fly zone, the aircraft is controlled to land on the ground. For another example, if the aircraft is located in a restricted flight zone, the aircraft is controlled to decelerate, or, after deceleration, the course is changed to prevent entering the no-fly zone by mistake.
综上所述,本申请实施例中的可移动平台的控制方法,将限制区域的数据形式转换为栅格地图的形式,并以栅格地图的形式存储限制区域数据,在可移动平台的移动过程中,可以通过查找栅格地图的方式快速获得可移动平台周围的限制区域的数据信息,从而可以节省机载算力,提升限制区域的查找速度,以便根据查找到的限制区域合理的规划移动路径,有效避免可移动平台误闯限制区域(例如限飞区)的问题出现,有利于使用通用的运动规划方法。To sum up, the control method of the movable platform in the embodiment of the present application converts the data form of the restricted area into the form of a grid map, and stores the data of the restricted area in the form of a grid map. During the process, the data information of the restricted area around the movable platform can be quickly obtained by searching the grid map, which can save the on-board computing power and improve the searching speed of the restricted area, so that the movement can be reasonably planned according to the found restricted area. The path can effectively avoid the problem of the movable platform straying into the restricted area (such as the restricted area), which is beneficial to the use of a general motion planning method.
如图6所示,本申请实施例还提供一种可移动平台的控制装置,该控制装置可以是独立于可移动平台的外部设备,例如可移动平台的控制终端,控制终端可以包括例如手机、遥控器、平板电脑、笔记本等,该控制装置还可以是可移动平台的控制系统的一部分或者全部,还可以是可以通过软件、硬件或者软硬件结合的方式实现可移动平台的控制方法的计算机设备的部分或者全部。As shown in FIG. 6 , an embodiment of the present application further provides a control device for a movable platform. The control device may be an external device independent of the movable platform, such as a control terminal of the movable platform. The control terminal may include, for example, a mobile phone, Remote control, tablet computer, notebook, etc., the control device can also be a part or all of the control system of the mobile platform, and can also be a computer device that can realize the control method of the mobile platform through software, hardware or a combination of software and hardware. part or all of it.
如图6所示,可移动平台的控制装置600可以包括一个或多个存储器601,用于存储可执行的程序指令,一个或多个处理器602,用于执行所述存储器中存储的所述程序指令,使得所述处理器执行前文中描述的可移动平台的控制方法200的相关步骤。As shown in FIG. 6 , the control apparatus 600 of the movable platform may include one or more memories 601 for storing executable program instructions, and one or more processors 602 for executing the The program instructions cause the processor to execute the relevant steps of the control method 200 of the movable platform described above.
如图6所示,可移动平台的控制装置600,包括一个或多个存储器601、一个或多个处理器602、显示装置(未示出)和通信装置等,这些组件通过总线系统和/或其它形式的连接机构(未示出)互连。应当注意,图8所示的装置600的组件和结构只是示例性的,而非限制性的,根据需要,装置600也可以具有其他组件和结构。As shown in FIG. 6, the control device 600 of the movable platform includes one or more memories 601, one or more processors 602, a display device (not shown), a communication device, etc., these components are connected through a bus system and/or Other forms of connection mechanisms (not shown) are interconnected. It should be noted that the components and structures of the apparatus 600 shown in FIG. 8 are only exemplary and not restrictive, and the apparatus 600 may also have other components and structures as required.
存储器601用于存储相关可移动平台移动过程中产生的各种数据和可执行程序指令,例如用于存储各种应用程序或实现各种具体功能的算法。可以包括一个或多个计算机程序产品,所述计算机程序产品可以包括各种形式的计算机可读存储介质,例如易失性存储器和/或非易失性存储器。所述易失性存储器例如可以包括随机存取存储器(RAM)和/或高速缓冲存储器(cache)等。所述非易失性存储器例如可以包括只读存储器(ROM)、硬盘、闪存等。The memory 601 is used to store various data and executable program instructions generated during the movement of the relevant movable platform, for example, used to store various application programs or algorithms for implementing various specific functions. One or more computer program products may be included, which may include various forms of computer-readable storage media, such as volatile memory and/or non-volatile memory. The volatile memory may include, for example, random access memory (RAM) and/or cache memory, or the like. The non-volatile memory may include, for example, read only memory (ROM), hard disk, flash memory, and the like.
处理器602可以是中央处理单元(CPU)、图像处理单元(GPU)、专用集成电路(ASIC)、现场可编程门阵列(FPGA)或者具有数据处理能力和/或指令执行能力的其它形式的处理单元,并且可以控制装置600中的其它组件以执行期望的功能。例如,处理器能够包括一个或多个嵌入式处理器、处理器核心、微型处理器、逻辑电路、硬件有限状态机(FSM)、数字信号处理器(DSP)、图像处理单元(GPU)或它们的组合。Processor 602 may be a central processing unit (CPU), graphics processing unit (GPU), application specific integrated circuit (ASIC), field programmable gate array (FPGA), or other form of processing with data processing capabilities and/or instruction execution capabilities unit, and may control other components in device 600 to perform desired functions. For example, a processor can include one or more embedded processors, processor cores, microprocessors, logic circuits, hardware finite state machines (FSMs), digital signal processors (DSPs), graphics processing units (GPUs), or the like The combination.
在一个示例中,处理器602用于执行所述存储器中存储的所述程序指令,使得所述处理器执行以下步骤:获取用于构建栅格地图的限制区域的第一数据信息;基于所述限制区域的第一数据信息,获得所述限制区域的栅格地图;基于所述限制区域的栅格地图,控制可移动平台的移动。例如,处理器602通过通信装置向可移动平台传输控制指令,以控制可移动平台的移动。In one example, the processor 602 is configured to execute the program instructions stored in the memory, so that the processor executes the following steps: acquiring first data information of a restricted area for constructing a grid map; based on the The first data information of the restricted area is obtained, and the grid map of the restricted area is obtained; based on the grid map of the restricted area, the movement of the movable platform is controlled. For example, the processor 602 transmits control instructions to the movable platform through the communication device to control the movement of the movable platform.
在一个示例中,处理器602用于执行所述存储器中存储的所述程序指令,使得所述处理器执行获取用于构建栅格地图的限制区域的第一数据信息,包括:根据所述可移动平台的当前位置信息,确定用于构建栅格地图的限制区域的第一数据信息,其中,用于构建栅格地图的限制区域包括和所述可移动平台的当前位置的距离低于阈值距离的限制区域。In one example, the processor 602 is configured to execute the program instructions stored in the memory, so that the processor executes the acquisition of the first data information for building the restricted area of the raster map, including: according to the available The current location information of the mobile platform, and the first data information for determining the restricted area for constructing the grid map, wherein the restricted area for constructing the grid map includes a distance from the current location of the movable platform that is lower than a threshold distance restricted area.
在一个示例中,处理器602用于执行所述存储器中存储的所述程序指令,使得所述处理器执行获取用于构建栅格地图的限制区域的第一数据信息,包括:根据限制区域与当前地图区域的重叠关系,确定用于构建栅格地图的限制区域,其中,用于构建栅格地图的限制区域包括与当前地图区域有重叠的限制区域,所述当前地图区域包括可移动平台的历史移动轨迹所覆盖的区域。In one example, the processor 602 is configured to execute the program instructions stored in the memory, so that the processor executes and obtains the first data information of the restricted area for constructing the grid map, including: according to the restricted area and the The overlapping relationship of the current map area, determining the restricted area for constructing the grid map, wherein the restricted area for constructing the grid map includes the restricted area overlapping with the current map area, and the current map area includes the movable platform The area covered by the historical movement track.
所述限制区域的第一数据信息包括以GPS点存储的几何限制区域的数据信息,在一个示例中,处理器602用于执行所述存储器中存储的所述程序指令,使得所述处理器执行基于所述限制区域的第一数据信息,获得所述限制区域的栅格地图,包括:获取所述限制区域的第一数据信息转换至地理坐标系下的第二数据信息;基于所述第二数据信息构建所述地理坐标系下的所述限制区域的栅格地图。The first data information of the restricted area includes data information of the geometric restricted area stored in GPS points. In one example, the processor 602 is configured to execute the program instructions stored in the memory, so that the processor executes Obtaining the grid map of the restricted area based on the first data information of the restricted area includes: converting the first data information of the restricted area into second data information in a geographic coordinate system; based on the second data information of the restricted area The data information constructs a grid map of the restricted area under the geographic coordinate system.
在一个示例中,处理器602用于执行所述存储器中存储的所述程序指令,使得所述处理器执行基于所述第二数据信息构建所述地理坐标系下的所述限制区域的栅格地图,包括:在限制区域的边缘所包围区域内的栅格中填充高度信息,所述高度信息为所述可移动平台的最大可移动高度。In one example, the processor 602 is configured to execute the program instructions stored in the memory, so that the processor executes constructing the grid of the restricted area under the geographic coordinate system based on the second data information The map includes: filling the grid in the area enclosed by the edge of the restricted area with height information, where the height information is the maximum movable height of the movable platform.
可选地,在所述栅格地图中,所述限制区域所覆盖的栅格包含高度信息,所述高度信息为所述可移动平台的最大可移动高度。Optionally, in the grid map, the grid covered by the restricted area includes height information, and the height information is the maximum movable height of the movable platform.
当所述限制区域的几何形状为圆形时,在一个示例中,处理器602用于执行所述存储器中存储的所述程序指令,使得所述处理器执行在限制区域的边缘所包围区域内的栅格中填充高度信息,包括:获取多条扫描线和所述圆形的交点坐标,其中,每条扫描线的延伸方向和所述地理坐标系的第一坐标轴垂直,其中,相邻扫描线之间的间隔距离与栅格尺寸相同,所述第一坐标轴包括x轴或者y轴;根据每条扫描线和圆形的交点数量,确定预定填充所述高度信息的栅格,其中,当所述扫描线与所述圆形具有一个交点时,在该交点所在的栅格内填充与该交点对应的高度信息,当所述扫描线与所述圆形具有两个交点时,则将两个交点之间的区域内的栅格内填充高度信息。When the geometric shape of the restricted area is a circle, in one example, the processor 602 is configured to execute the program instructions stored in the memory, so that the processor executes in an area surrounded by the edge of the restricted area Filling height information in the grid of the The interval distance between the scan lines is the same as the grid size, and the first coordinate axis includes the x-axis or the y-axis; according to the number of intersections between each scan line and the circle, determine the grid predetermined to fill the height information, wherein , when the scan line and the circle have one intersection, fill the grid where the intersection is with the height information corresponding to the intersection, and when the scan line and the circle have two intersections, then Fills the grid with height information in the area between the two intersections.
当所述限制区域的几何形状为多边形时,在一个示例中,处理器602用于执行所述存储器中存储的所述程序指令,使得所述处理器执行在限制区域的边缘所包围区域内的栅格中填充高度信息,包括:获取多条扫描线和所述多边形的交点,其中,每条扫描线的延伸方向和所述地理坐标系的第一坐标轴垂直,其中,相邻扫描线之间的间隔距离与栅格尺寸相同,所述第一坐标轴包括x轴或者y轴;将每条所述扫描线从所述多边形的一侧向另一侧延伸时与所述多边形的第一个交 点所在的栅格设置为第一标志位,将与所述多边形的下一个交点所在的栅格设置为第二标志位,将所述第一个交点和所述下一个交点之间的所述扫描线经过的、并确定位于所述限制区域内的栅格设置为所述第一标志位;在所述第一标志位标记的栅格中填充相应的高度信息。When the geometrical shape of the restricted area is a polygon, in one example, the processor 602 is configured to execute the program instructions stored in the memory, so that the processor executes the operation in the area enclosed by the edge of the restricted area. Filling the grid with height information includes: acquiring the intersection points of a plurality of scan lines and the polygon, wherein the extension direction of each scan line is perpendicular to the first coordinate axis of the geographic coordinate system, wherein the distance between adjacent scan lines is perpendicular to the first coordinate axis of the geographic coordinate system. The spacing distance between them is the same as the grid size, and the first coordinate axis includes the x-axis or the y-axis; when each of the scan lines is extended from one side of the polygon to the other side, it is the same as the first coordinate axis of the polygon. The grid where each intersection is located is set as the first flag bit, the grid where the next intersection with the polygon is located is set as the second flag bit, and all the points between the first intersection and the next intersection are set as the second flag The grids that the scan lines pass through and are determined to be located in the restricted area are set as the first flags; the grids marked by the first flags are filled with corresponding height information.
可选地,所述多条扫描线包括第一扫描线、第二扫描线和介于所述第一扫描线和所述第二扫描线之间的至少一条第三扫描线,其中,所述第一扫描线经过所述限制区域的几何形状在所述第一坐标轴方向的最大值所对应的点并和第一坐标轴方向垂直,所述第二扫描线经过所述限制区域的几何形状在所述第一坐标轴方向的最小值所对应的点并和第一坐标轴方向垂直。Optionally, the plurality of scan lines include a first scan line, a second scan line, and at least one third scan line between the first scan line and the second scan line, wherein the The first scan line passes through the point corresponding to the maximum value of the geometric shape of the restricted area in the direction of the first coordinate axis and is perpendicular to the direction of the first coordinate axis, and the second scan line passes through the geometric shape of the restricted area The point corresponding to the minimum value in the direction of the first coordinate axis is perpendicular to the direction of the first coordinate axis.
在一个示例中,处理器602用于执行所述存储器中存储的所述程序指令,使得所述处理器执行基于所述限制区域的栅格地图,控制可移动平台的移动,包括:基于所述限制区域的栅格地图,确定所述可移动平台与限制区域的位置关系;基于所述位置关系,控制所述可移动平台的移动。In one example, the processor 602 is configured to execute the program instructions stored in the memory, so that the processor executes the grid map based on the restricted area, and controls the movement of the movable platform, including: based on the A grid map of the restricted area is used to determine the positional relationship between the movable platform and the restricted area; based on the positional relationship, the movement of the movable platform is controlled.
所述栅格地图为地理坐标系下的栅格地图,在一个示例中,处理器602用于执行所述存储器中存储的所述程序指令,使得所述处理器执行基于所述限制区域的栅格地图,确定所述可移动平台与限制区域的位置关系,包括:获取可移动平台的当前位置信息;将所述当前位置信息映射到所述地理坐标系下,获取所述当前位置对应的栅格位置;基于所述栅格位置和限制区域的栅格地图,确定与所述栅格位置间隔预定栅格数量的范围内的限制区域;获取所述可移动平台与限制区域的位置关系。The grid map is a grid map in a geographic coordinate system. In one example, the processor 602 is configured to execute the program instructions stored in the memory, so that the processor executes the grid map based on the restricted area. The grid map is used to determine the positional relationship between the movable platform and the restricted area, including: obtaining the current position information of the movable platform; mapping the current position information to the geographic coordinate system, and obtaining the grid corresponding to the current position grid position; based on the grid position and the grid map of the restricted area, determine a restricted area within a range of a predetermined grid number from the grid position; acquire the positional relationship between the movable platform and the restricted area.
在一个示例中,处理器602用于执行所述存储器中存储的所述程序指令,使得所述处理器执行:基于所述位置关系,控制所述可移动平台的移动,包括:当基于所述位置关系确定所述可移动平台处于限制区域中的禁止移动区域时,控制所述可移动平台停止移动或者禁止所述可移动平台开始移动;或者,当基于所述位置关系确定所述可移动平台处于限制区域中的限高区域时,控制所述可移动平台在限高区域的限制高度以下移动;或者当基于所述位置关系确定所述可移动平台当前未处于限制区域中,则根据获取的可移动平台到限制区域的最近距离和对应方向向量,禁止所述可移动平台朝向所述方向移动。In one example, the processor 602 is configured to execute the program instructions stored in the memory, so that the processor executes: based on the positional relationship, controlling the movement of the movable platform, including: when based on the positional relationship When the positional relationship determines that the movable platform is in a prohibited movement area in the restricted area, control the movable platform to stop moving or prohibit the movable platform from starting to move; or, when the movable platform is determined based on the positional relationship When it is in the restricted area in the restricted area, control the movable platform to move below the restricted height of the restricted area; or when it is determined based on the positional relationship that the movable platform is not currently in the restricted area, according to the obtained The closest distance of the movable platform to the restricted area and the corresponding direction vector, the movable platform is prohibited from moving in the direction.
在一个示例中,处理器602用于执行所述存储器中存储的所述程序指令,使得所述处理器执行:基于所述限制区域的栅格地图,控制可移动平台的移动,包括:基于所述限制区域的栅格地图,获取可移动平台的从第一位置移动到第二位 置的预定移动路线,其中,所述预定移动路线不与所述限制区域相交。In one example, the processor 602 is configured to execute the program instructions stored in the memory, so that the processor executes: based on the grid map of the restricted area, controlling the movement of the movable platform, including: based on the The grid map of the restricted area is used to obtain a predetermined movement route of the movable platform from the first position to the second position, wherein the predetermined movement route does not intersect the restricted area.
所述限制区域的栅格地图为基于所述可移动平台从所述第二位置移动到所述第一位置过程中所采集的数据信息所获得,其中,所述限制区域的栅格地图中还包括从所述第二位置移动到所述第一位置过程中所述可移动平台的视觉传感器所探测到的障碍物,所述预定移动路线不与所述障碍物相交。The grid map of the restricted area is obtained based on the data information collected during the movement of the movable platform from the second position to the first position, wherein the grid map of the restricted area further includes: Including obstacles detected by the vision sensor of the movable platform during the movement from the second position to the first position, the predetermined movement route does not intersect the obstacles.
在一个示例中,控制装置600还包括输出装置可以向外部(例如用户)输出各种信息(例如图像或声音),并且可以包括显示装置、扬声器等中的一个或多个。In one example, the control device 600 further includes an output device that can output various information (eg, images or sounds) to the outside (eg, a user), and may include one or more of a display device, a speaker, and the like.
在一个示例中,控制装置600还包括显示装置,可以用于获取限制区域的栅格地图,并在显示界面上显示栅格地图。In one example, the control device 600 further includes a display device, which can be used to acquire a grid map of the restricted area, and display the grid map on the display interface.
在一个示例中,控制装置600还包括通信接口(或称通信装置,未示出),用于控制装置600中各个组件之间以及控制装置600的各个组件和该系统之外的其他装置之间进行通信,例如,当装置为外部设备时,可以通过通信接口和可移动平台进行通信,从而使两者之间能进行信息交互。In one example, the control device 600 further includes a communication interface (or called a communication device, not shown), which is used between each component in the control device 600 and between each component of the control device 600 and other devices outside the system For communication, for example, when the device is an external device, it can communicate with the movable platform through a communication interface, so that information can be exchanged between the two.
通信接口是可以是目前已知的任意通信协议的接口,例如有线接口或无线接口,其中,通信接口可以包括一个或者多个串口、USB接口、以太网端口、WiFi、有线网络、DVI接口,设备集成互联模块或其他适合的各种端口、接口,或者连接。装置600还可以接入基于通信标准的无线网络,如WiFi、2G、3G、4G、5G或它们的组合。在一个示例性实施例中,通信接口经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,所述通信接口还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。The communication interface is an interface that can be any currently known communication protocol, such as a wired interface or a wireless interface, wherein the communication interface can include one or more serial ports, USB interfaces, Ethernet ports, WiFi, wired networks, DVI interfaces, device Integrated interconnect modules or other suitable various ports, interfaces, or connections. Device 600 may also access wireless networks based on communication standards, such as WiFi, 2G, 3G, 4G, 5G, or a combination thereof. In one exemplary embodiment, the communication interface receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication interface further includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
在一个示例中,所述装置600还包括输入装置(未示出)可以是用户用来输入指令的装置,并且可以包括键盘、轨迹球、鼠标、麦克风和触摸屏等中的一个或多个,或其它控制按钮构成的输入装置。In one example, the device 600 also includes an input device (not shown) that may be a device used by a user to input instructions, and may include one or more of a keyboard, trackball, mouse, microphone, touch screen, etc., or An input device consisting of other control buttons.
本申请实施例中的控制装置用于实现前述的控制方法,因此也具有前述控制方法的优点,将限制区域的数据形式转换为栅格地图的形式,并以栅格地图的形式存储限制区域数据,在可移动平台的移动过程中,可以通过查找栅格地图的方式快速获得可移动平台周围的限制区域的数据信息,从而可以节省机载算力,提升限制区域的查找速度,以便根据查找到的限制区域合理的规划移动路径,有效 避免可移动平台误闯限制区域(例如限飞区)的问题出现。The control device in the embodiment of the present application is used to implement the aforementioned control method, and therefore also has the advantages of the aforementioned control method, converting the data form of the restricted area into the form of a grid map, and storing the data of the restricted area in the form of a grid map , During the movement of the movable platform, the data information of the restricted area around the movable platform can be quickly obtained by searching the grid map, which can save the on-board computing power and improve the searching speed of the restricted area. Reasonable planning of the moving path in the restricted area, effectively avoiding the problem of the movable platform entering the restricted area (such as the restricted area) by mistake.
本申请实施例还提供的一种可移动平台,可移动平台可以包括飞行器(例如无人机)、机器人、无人车、无人船,所述可移动平台包括飞行器时,限制区域为限飞区。An embodiment of the present application also provides a movable platform. The movable platform may include an aircraft (for example, an unmanned aerial vehicle), a robot, an unmanned vehicle, and an unmanned ship. When the movable platform includes an aircraft, the restricted area is the restricted area of flight. Area.
可移动平台可以包括动力机构,所述动力机构用于使所述可移动平台移动;存储器,用于存储可执行的程序指令;一个或多个处理器,用于执行所述存储器中存储的所述程序指令,使得所述处理器执行前文中描述的可移动平台的控制方法200的相关步骤。The movable platform may include a power mechanism for moving the movable platform; a memory for storing executable program instructions; and one or more processors for executing all the programs stored in the memory. The program instructions cause the processor to execute the relevant steps of the control method 200 of the movable platform described above.
继续参考图1,以可移动平台为飞行器100的情况为例,该飞行器100包括一个或多个处理器101,用于执行所述存储器中存储的所述程序指令,使得所述处理器执行前述实施例中的可移动平台的控制方法200的相关步骤,为避免重复,可以参考前文中的描述。Continuing to refer to FIG. 1 , taking the case where the movable platform is an aircraft 100 as an example, the aircraft 100 includes one or more processors 101 for executing the program instructions stored in the memory, so that the processors execute the foregoing For the steps related to the control method 200 of the movable platform in the embodiment, in order to avoid repetition, reference may be made to the foregoing description.
由于本申请实施例的可移动平台(例如飞行器)能够用于执行前述的可移动平台的控制方法200的相关步骤,因此其同样具有上述方法的优点,将限制区域的数据形式转换为栅格地图的形式,并以栅格地图的形式存储限制区域数据,在可移动平台的移动过程中,可以通过查找栅格地图的方式快速获得可移动平台周围的限制区域的数据信息,从而可以节省机载算力,提升限制区域的查找速度,以便根据查找到的限制区域合理的规划移动路径,有效避免可移动平台误闯限制区域(例如限飞区)的问题出现。Since the movable platform (such as an aircraft) of the embodiment of the present application can be used to execute the relevant steps of the aforementioned method 200 for controlling a movable platform, it also has the advantages of the above method, and the data form of the restricted area is converted into a grid map In the process of moving the movable platform, the data information of the restricted area around the movable platform can be quickly obtained by searching the grid map, so as to save airborne The computing power increases the search speed of the restricted area, so that the movement path can be reasonably planned according to the found restricted area, and the problem of the mobile platform entering the restricted area (such as the restricted area) by mistake can be effectively avoided.
另外,本申请实施例还提供了一种计算机存储介质,例如计算机可读存储介质,其上存储有计算机程序。在所述计算机存储介质上可以存储一个或多个计算机程序指令,处理器可以运行存储器存储的所述程序指令,以实现本文所述的本申请实施例中(由处理器实现)的功能以及/或者其它期望的功能,例如以执行根据本申请实施例的可移动平台的控制方法200的相应步骤,在所述计算机可读存储介质中还可以存储各种应用程序和各种数据,例如所述应用程序使用和/或产生的各种数据等。In addition, the embodiments of the present application further provide a computer storage medium, such as a computer-readable storage medium, on which a computer program is stored. One or more computer program instructions may be stored on the computer storage medium, and the processor may execute the program instructions stored in the memory to implement the functions (implemented by the processor) in the embodiments of the present application described herein and/or or other desired functions, for example, to execute the corresponding steps of the method 200 for controlling a mobile platform according to an embodiment of the present application, various application programs and various data may also be stored in the computer-readable storage medium, such as the Various data used and/or generated by the application, etc.
例如,所述计算机可读存储介质例如可以包括智能电话的存储卡、平板电脑的存储部件、个人计算机的硬盘、只读存储器(ROM)、可擦除可编程只读存储器(EPROM)、便携式紧致盘只读存储器(CD-ROM)、USB存储器、或者上述存储介质的任意组合。所述计算机可读存储介质可以是一个或多个计算机可读存 储介质的任意组合。For example, the computer-readable storage medium may include, for example, a memory card of a smartphone, a storage component of a tablet computer, a hard disk of a personal computer, a read only memory (ROM), an erasable programmable read only memory (EPROM), a portable compact disk read only memory (CD-ROM), USB memory, or any combination of the above storage media. The computer-readable storage medium can be any combination of one or more computer-readable storage media.
应当理解,本申请的各部分可以用硬件、软件、固件或它们的组合来实现。在上述实施方式中,多个步骤或方法可以用存储在存储器中且由合适的指令执行系统执行的软件或固件来实现。如,如果用硬件来实现和在另一实施方式中一样,可用本领域公知的下列技术中的任一项或他们的组合来实现:具有用于对数据信号实现逻辑功能的逻辑门电路的离散逻辑电路,具有合适的组合逻辑门电路的专用集成电路,可编程门阵列(Programmable Gate Array;以下简称:PGA),现场可编程门阵列(Field Programmable Gate Array;简称:FPGA)等。It should be understood that various parts of this application may be implemented in hardware, software, firmware, or a combination thereof. In the above-described embodiments, various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware as in another embodiment, it can be implemented by any one of the following techniques known in the art, or a combination thereof: discrete with logic gates for implementing logic functions on data signals Logic circuits, application-specific integrated circuits with suitable combinational logic gate circuits, Programmable Gate Array (hereinafter referred to as: PGA), Field Programmable Gate Array (Field Programmable Gate Array; referred to as: FPGA), etc.
尽管这里已经参考附图描述了示例实施例,应理解上述示例实施例仅仅是示例性的,并且不意图将本申请的范围限制于此。本领域普通技术人员可以在其中进行各种改变和修改,而不偏离本申请的范围和精神。所有这些改变和修改意在被包括在所附权利要求所要求的本申请的范围之内。Although example embodiments have been described herein with reference to the accompanying drawings, it should be understood that the above-described example embodiments are exemplary only, and are not intended to limit the scope of the application thereto. Various changes and modifications may be made therein by those of ordinary skill in the art without departing from the scope and spirit of the present application. All such changes and modifications are intended to be included within the scope of this application as claimed in the appended claims.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。Those of ordinary skill in the art can realize that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functionality using different methods for each particular application, but such implementations 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 apparatus and method may be implemented in other manners. For example, the device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined or May be integrated into another device, or some features may be omitted, or not implemented.
在此处所提供的说明书中,说明了大量具体细节。然而,能够理解,本申请的实施例可以在没有这些具体细节的情况下实践。在一些实例中,并未详细示出公知的方法、结构和技术,以便不模糊对本说明书的理解。In the description provided herein, numerous specific details are set forth. It will be understood, however, that the embodiments of the present application may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
类似地,应当理解,为了精简本申请并帮助理解各个发明方面中的一个或多个,在对本申请的示例性实施例的描述中,本申请的各个特征有时被一起分组到单个实施例、图、或者对其的描述中。然而,并不应将该本申请的方法解释成反映如下意图:即所要求保护的本申请要求比在每个权利要求中所明确记载的特征更多的特征。更确切地说,如相应的权利要求书所反映的那样,其发明点在于可以用少于某个公开的单个实施例的所有特征的特征来解决相应的技术问题。因此, 遵循具体实施方式的权利要求书由此明确地并入该具体实施方式,其中每个权利要求本身都作为本申请的单独实施例。Similarly, it is to be understood that in the description of the exemplary embodiments of the present application, various features of the present application are sometimes grouped together into a single embodiment, FIG. , or in its description. However, this method of application should not be construed as reflecting an intention that the claimed application requires more features than are expressly recited in each claim. Rather, as the corresponding claims reflect, the invention lies in the fact that the corresponding technical problem may be solved with less than all features of a single disclosed embodiment. Thus, the claims following the Detailed Description are hereby expressly incorporated into this Detailed Description, with each claim standing on its own as a separate embodiment of this application.
本领域的技术人员可以理解,除了特征之间相互排斥之外,可以采用任何组合对本说明书(包括伴随的权利要求、摘要和附图)中公开的所有特征以及如此公开的任何方法或者设备的所有过程或单元进行组合。除非另外明确陈述,本说明书(包括伴随的权利要求、摘要和附图)中公开的每个特征可以由提供相同、等同或相似目的替代特征来代替。It will be understood by those skilled in the art that all features disclosed in this specification (including the accompanying claims, abstract and drawings) and any method or apparatus so disclosed may be used in any combination, except that the features are mutually exclusive. Processes or units are combined. Each feature disclosed in this specification (including accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
此外,本领域的技术人员能够理解,尽管在此所述的一些实施例包括其它实施例中所包括的某些特征而不是其它特征,但是不同实施例的特征的组合意味着处于本申请的范围之内并且形成不同的实施例。例如,在权利要求书中,所要求保护的实施例的任意之一都可以以任意的组合方式来使用。Furthermore, those skilled in the art will appreciate that although some of the embodiments described herein include certain features, but not others, included in other embodiments, that combinations of features of different embodiments are intended to be within the scope of the present application within and form different embodiments. For example, in the claims, any of the claimed embodiments may be used in any combination.
本申请的各个部件实施例可以以硬件实现,或者以在一个或者多个处理器上运行的软件模块实现,或者以它们的组合实现。本领域的技术人员应当理解,可以在实践中使用微处理器或者数字信号处理器(DSP)来实现根据本申请实施例的一些模块的一些或者全部功能。本申请还可以实现为用于执行这里所描述的方法的一部分或者全部的装置程序(例如,计算机程序和计算机程序产品)。这样的实现本申请的程序可以存储在计算机可读介质上,或者可以具有一个或者多个信号的形式。这样的信号可以从因特网网站上下载得到,或者在载体信号上提供,或者以任何其他形式提供。Various component embodiments of the present application may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art should understand that a microprocessor or a digital signal processor (DSP) may be used in practice to implement some or all functions of some modules according to the embodiments of the present application. The present application can also be implemented as a program of apparatus (eg, computer programs and computer program products) for performing part or all of the methods described herein. Such a program implementing the present application may be stored on a computer-readable medium, or may be in the form of one or more signals. Such signals may be downloaded from Internet sites, or provided on carrier signals, or in any other form.
应该注意的是上述实施例对本申请进行说明而不是对本申请进行限制,并且本领域技术人员在不脱离所附权利要求的范围的情况下可设计出替换实施例。在权利要求中,不应将位于括号之间的任何参考符号构造成对权利要求的限制。本申请可以借助于包括有若干不同元件的硬件以及借助于适当编程的计算机来实现。在列举了若干装置的单元权利要求中,这些装置中的若干个可以是通过同一个硬件项来具体体现。单词第一、第二、以及第三等的使用不表示任何顺序。可将这些单词解释为名称。It should be noted that the above-described embodiments illustrate rather than limit the application, and alternative embodiments may be devised by those skilled in the art without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The application can be implemented by means of hardware comprising several different elements and by means of a suitably programmed computer. In a unit claim enumerating several means, several of these means may be embodied by one and the same item of hardware. The use of the words first, second, and third, etc. do not denote any order. These words can be interpreted as names.

Claims (32)

  1. 一种可移动平台的控制方法,其特征在于,所述控制方法包括:A control method for a movable platform, characterized in that the control method comprises:
    获取用于构建栅格地图的限制区域的第一数据信息;obtaining first data information of a restricted area for constructing a grid map;
    基于所述限制区域的第一数据信息,获得所述限制区域的栅格地图;obtaining a grid map of the restricted area based on the first data information of the restricted area;
    基于所述限制区域的栅格地图,控制可移动平台的移动。Movement of the movable platform is controlled based on the grid map of the restricted area.
  2. 如权利要求1所述的控制方法,其特征在于,所述获取用于构建栅格地图的限制区域的第一数据信息,包括:The control method according to claim 1, wherein the acquiring the first data information used to construct the restricted area of the grid map comprises:
    根据所述可移动平台的当前位置信息,确定用于构建栅格地图的限制区域的第一数据信息,其中,用于构建栅格地图的限制区域包括和所述可移动平台的当前位置的距离低于阈值距离的限制区域。According to the current position information of the movable platform, first data information of a restricted area for constructing a grid map is determined, wherein the restricted area for constructing a grid map includes a distance from the current position of the movable platform A restricted area below a threshold distance.
  3. 如权利要求1所述的控制方法,其特征在于,所述获取用于构建栅格地图的限制区域的第一数据信息,包括:The control method according to claim 1, wherein the acquiring the first data information used to construct the restricted area of the grid map comprises:
    根据限制区域与当前地图区域的重叠关系,确定用于构建栅格地图的限制区域,其中,用于构建栅格地图的限制区域包括与当前地图区域有重叠的限制区域,所述当前地图区域包括可移动平台的历史移动轨迹所覆盖的区域。According to the overlapping relationship between the restricted area and the current map area, the restricted area for constructing the grid map is determined, wherein the restricted area used for constructing the grid map includes the restricted area overlapping with the current map area, and the current map area includes The area covered by the historical movement track of the movable platform.
  4. 如权利要求1所述的控制方法,其特征在于,所述限制区域的第一数据信息包括以GPS点存储的几何限制区域的数据信息,基于所述限制区域的第一数据信息,获得所述限制区域的栅格地图,包括:The control method according to claim 1, wherein the first data information of the restricted area includes data information of a geometric restricted area stored in GPS points, and the first data information of the restricted area is obtained based on the first data information of the restricted area. Raster map of restricted areas, including:
    获取所述限制区域的第一数据信息转换至地理坐标系下的第二数据信息;Obtaining the first data information of the restricted area and converting it to the second data information under the geographic coordinate system;
    基于所述第二数据信息构建所述地理坐标系下的所述限制区域的栅格地图。A grid map of the restricted area under the geographic coordinate system is constructed based on the second data information.
  5. 如权利要求4所述的控制方法,其特征在于,基于所述第二数据信息构建所述地理坐标系下的所述限制区域的栅格地图,包括:The control method according to claim 4, wherein constructing a grid map of the restricted area under the geographic coordinate system based on the second data information, comprising:
    在限制区域的边缘所包围区域内的栅格中填充高度信息,所述高度信息为所述可移动平台的最大可移动高度。The grid in the area enclosed by the edge of the restricted area is filled with height information, the height information being the maximum movable height of the movable platform.
  6. 如权利要求1所述的控制方法,其特征在于,在所述栅格地图中,所述限制区域所覆盖的栅格包含高度信息,所述高度信息为所述可移动平台的最大可移动高度。The control method according to claim 1, wherein, in the grid map, the grid covered by the restricted area includes height information, and the height information is the maximum movable height of the movable platform .
  7. 如权利要求5所述的控制方法,其特征在于,当所述限制区域的几何形状为圆形时,所述在限制区域的边缘所包围区域内的栅格中填充高度信息,包括:The control method according to claim 5, wherein, when the geometric shape of the restricted area is a circle, filling the grid in the area surrounded by the edge of the restricted area with height information includes:
    获取多条扫描线和所述圆形的交点坐标,其中,每条扫描线的延伸方向和所述地理坐标系的第一坐标轴垂直,其中,相邻扫描线之间的间隔距离与栅格尺寸 相同;Obtain the coordinates of the intersection of a plurality of scan lines and the circle, wherein the extension direction of each scan line is perpendicular to the first coordinate axis of the geographic coordinate system, wherein the distance between adjacent scan lines is the same as that of the grid same size;
    根据每条扫描线和圆形的交点数量,确定预定填充所述高度信息的栅格,其中,当所述扫描线与所述圆形具有一个交点时,在该交点所在的栅格内填充与该交点对应的高度信息,当所述扫描线与所述圆形具有两个交点时,则将两个交点之间的区域内的栅格内填充高度信息。According to the number of intersections between each scan line and the circle, a grid predetermined to fill the height information is determined, wherein when the scan line and the circle have an intersection, the grid where the intersection is filled with and For the height information corresponding to the intersection, when the scan line and the circle have two intersections, the grid in the area between the two intersections is filled with the height information.
  8. 如权利要求5所述的控制方法,其特征在于,当所述限制区域的几何形状为多边形时,所述在限制区域的边缘所包围区域内的栅格中填充高度信息,包括:The control method according to claim 5, wherein when the geometric shape of the restricted area is a polygon, the filling height information in the grid in the area surrounded by the edge of the restricted area comprises:
    获取多条扫描线和所述多边形的交点,其中,每条扫描线的延伸方向和所述地理坐标系的第一坐标轴垂直,其中,相邻扫描线之间的间隔距离与栅格尺寸相同;Obtain the intersection of a plurality of scan lines and the polygon, wherein the extension direction of each scan line is perpendicular to the first coordinate axis of the geographic coordinate system, wherein the spacing distance between adjacent scan lines is the same as the grid size ;
    将每条所述扫描线从所述多边形的一侧向另一侧延伸时与所述多边形的第一个交点所在的栅格设置为第一标志位,将与所述多边形的下一个交点所在的栅格设置为第二标志位,将所述第一个交点和所述下一个交点之间的所述扫描线经过的、并确定位于所述限制区域内的栅格设置为所述第一标志位;Set the grid where each scan line extends from one side of the polygon to the other side with the first intersection with the polygon as the first flag bit, and set the grid where the next intersection with the polygon is located. The grid is set as the second flag bit, and the grid that the scan line between the first intersection point and the next intersection passes through and is determined to be located in the restricted area is set as the first flag bit;
    在所述第一标志位标记的栅格中填充相应的高度信息。Corresponding height information is filled in the grid marked by the first flag bit.
  9. 如权利要求7或8所述的控制方法,其特征在于,所述多条扫描线包括第一扫描线、第二扫描线和介于所述第一扫描线和所述第二扫描线之间的至少一条第三扫描线,其中,所述第一扫描线经过所述限制区域的几何形状在所述第一坐标轴方向的最大值所对应的点并和第一坐标轴方向垂直,所述第二扫描线经过所述限制区域的几何形状在所述第一坐标轴方向的最小值所对应的点并和第一坐标轴方向垂直。The control method according to claim 7 or 8, wherein the plurality of scan lines comprise a first scan line, a second scan line, and a space between the first scan line and the second scan line at least one third scan line of , wherein the first scan line passes through the point corresponding to the maximum value of the geometric shape of the restricted area in the direction of the first coordinate axis and is perpendicular to the direction of the first coordinate axis, and the The second scan line passes through the point corresponding to the minimum value of the geometric shape of the restricted area in the direction of the first coordinate axis and is perpendicular to the direction of the first coordinate axis.
  10. 如权利要求1所述的控制方法,其特征在于,基于所述限制区域的栅格地图,控制可移动平台的移动,包括:The control method according to claim 1, wherein, based on the grid map of the restricted area, controlling the movement of the movable platform comprises:
    基于所述限制区域的栅格地图,确定所述可移动平台与限制区域的位置关系;determining the positional relationship between the movable platform and the restricted area based on the grid map of the restricted area;
    基于所述位置关系,控制所述可移动平台的移动。Based on the positional relationship, movement of the movable platform is controlled.
  11. 如权利要求10所述的控制方法,其特征在于,所述栅格地图为地理坐标系下的栅格地图,基于所述限制区域的栅格地图,确定所述可移动平台与限制区域的位置关系,包括:The control method according to claim 10, wherein the grid map is a grid map in a geographic coordinate system, and based on the grid map of the restricted area, the positions of the movable platform and the restricted area are determined relationships, including:
    获取可移动平台的当前位置信息;Get the current location information of the movable platform;
    将所述当前位置信息映射到所述地理坐标系下,获取所述当前位置对应的栅格位置;mapping the current location information to the geographic coordinate system, and obtaining a grid location corresponding to the current location;
    基于所述栅格位置和限制区域的栅格地图,确定与所述栅格位置间隔预定栅格数量的范围内的限制区域;determining a restricted area within a range of a predetermined number of grids from the grid location based on the grid location and the grid map of the restricted area;
    获取所述可移动平台与限制区域的位置关系。Obtain the positional relationship between the movable platform and the restricted area.
  12. 如权利要求11所述的控制方法,其特征在于,基于所述位置关系,控制所述可移动平台的移动,包括:The control method according to claim 11, wherein, based on the positional relationship, controlling the movement of the movable platform comprises:
    当基于所述位置关系确定所述可移动平台处于限制区域中的禁止移动区域时,控制所述可移动平台停止移动或者禁止所述可移动平台开始移动;或者,When it is determined based on the positional relationship that the movable platform is in a prohibited movement area in the restricted area, controlling the movable platform to stop moving or prohibiting the movable platform from starting to move; or,
    当基于所述位置关系确定所述可移动平台处于限制区域中的限高区域时,控制所述可移动平台在限高区域的限制高度以下移动;或者When it is determined based on the positional relationship that the movable platform is in a restricted height area in the restricted area, controlling the movable platform to move below the restricted height of the restricted height area; or
    当基于所述位置关系确定所述可移动平台当前未处于限制区域中,则根据获取的可移动平台到限制区域的最近距离和对应方向向量,禁止所述可移动平台朝向所述方向移动。When it is determined based on the positional relationship that the movable platform is not currently in the restricted area, the movable platform is prohibited from moving toward the direction according to the acquired closest distance from the movable platform to the restricted area and the corresponding direction vector.
  13. 如权利要求1所述的控制方法,其特征在于,基于所述限制区域的栅格地图,控制可移动平台的移动,包括:The control method according to claim 1, wherein, based on the grid map of the restricted area, controlling the movement of the movable platform comprises:
    基于所述限制区域的栅格地图,获取可移动平台的从第一位置移动到第二位置的预定移动路线,其中,所述预定移动路线不与所述限制区域相交。Based on the grid map of the restricted area, a predetermined movement route of the movable platform from the first position to the second position is obtained, wherein the predetermined movement route does not intersect the restricted area.
  14. 如权利要求13所述的控制方法,其特征在于,所述限制区域的栅格地图为基于所述可移动平台从所述第二位置移动到所述第一位置过程中所采集的数据信息所获得,其中,所述限制区域的栅格地图中还包括从所述第二位置移动到所述第一位置过程中所述可移动平台的视觉传感器所探测到的障碍物,所述预定移动路线不与所述障碍物相交。The control method according to claim 13, wherein the grid map of the restricted area is based on data information collected during the movement of the movable platform from the second position to the first position. Obtaining, wherein the grid map of the restricted area further includes obstacles detected by the visual sensor of the movable platform during the movement from the second position to the first position, the predetermined movement route Does not intersect the obstacle.
  15. 如权利要求1至14任一项所述的控制方法,其特征在于,所述可移动平台包括飞行器、无人车、无人船或机器人。The control method according to any one of claims 1 to 14, wherein the movable platform comprises an aircraft, an unmanned vehicle, an unmanned ship or a robot.
  16. 如权利要求1至14任一项所述的控制方法,其特征在于,所述可移动平台包括飞行器时,所述限制区域为限飞区。The control method according to any one of claims 1 to 14, wherein when the movable platform includes an aircraft, the restricted area is a restricted flight area.
  17. 一种可移动平台的控制装置,其特征在于,所述控制装置包括:A control device for a movable platform, characterized in that the control device comprises:
    存储器,用于存储可执行的程序指令;memory for storing executable program instructions;
    一个或多个处理器,用于执行所述存储器中存储的所述程序指令,使得所述处理器执行以下步骤:one or more processors for executing the program instructions stored in the memory, causing the processors to perform the following steps:
    获取用于构建栅格地图的限制区域的第一数据信息;obtaining first data information of a restricted area for constructing a grid map;
    基于所述限制区域的第一数据信息,获得所述限制区域的栅格地图;obtaining a grid map of the restricted area based on the first data information of the restricted area;
    基于所述限制区域的栅格地图,控制可移动平台的移动。Movement of the movable platform is controlled based on the grid map of the restricted area.
  18. 如权利要求17所述的控制装置,其特征在于,所述获取用于构建栅格地图的限制区域的第一数据信息,包括:The control device according to claim 17, wherein the acquiring the first data information for constructing the restricted area of the grid map comprises:
    根据所述可移动平台的当前位置信息,确定用于构建栅格地图的限制区域的第一数据信息,其中,用于构建栅格地图的限制区域包括和所述可移动平台的当前位置的距离低于阈值距离的限制区域。According to the current position information of the movable platform, first data information of a restricted area for constructing a grid map is determined, wherein the restricted area for constructing a grid map includes a distance from the current position of the movable platform A restricted area below a threshold distance.
  19. 如权利要求17所述的控制装置,其特征在于,所述获取用于构建栅格地图的限制区域的第一数据信息,包括:The control device according to claim 17, wherein the acquiring the first data information for constructing the restricted area of the grid map comprises:
    根据限制区域与当前地图区域的重叠关系,确定用于构建栅格地图的限制区域,其中,用于构建栅格地图的限制区域包括与当前地图区域有重叠的限制区域,所述当前地图区域包括可移动平台的历史移动轨迹所覆盖的区域。According to the overlapping relationship between the restricted area and the current map area, the restricted area for constructing the grid map is determined, wherein the restricted area used for constructing the grid map includes the restricted area overlapping with the current map area, and the current map area includes The area covered by the historical movement track of the movable platform.
  20. 如权利要求17所述的控制装置,其特征在于,所述限制区域的第一数据信息包括以GPS点存储的几何限制区域的数据信息,基于所述限制区域的第一数据信息,获得所述限制区域的栅格地图,包括:The control device according to claim 17, wherein the first data information of the restricted area includes data information of the geometric restricted area stored in GPS points, and the first data information of the restricted area is obtained based on the first data information of the restricted area. Raster map of restricted areas, including:
    获取所述限制区域的第一数据信息转换至地理坐标系下的第二数据信息;Obtaining the first data information of the restricted area and converting it to the second data information under the geographic coordinate system;
    基于所述第二数据信息构建所述地理坐标系下的所述限制区域的栅格地图。A grid map of the restricted area under the geographic coordinate system is constructed based on the second data information.
  21. 如权利要求20所述的控制装置,其特征在于,基于所述第二数据信息构建所述地理坐标系下的所述限制区域的栅格地图,包括:The control device according to claim 20, wherein the grid map of the restricted area under the geographic coordinate system is constructed based on the second data information, comprising:
    在限制区域的边缘所包围区域内的栅格中填充高度信息,所述高度信息为所述可移动平台的最大可移动高度。The grid in the area enclosed by the edge of the restricted area is filled with height information, the height information being the maximum movable height of the movable platform.
  22. 如权利要求17所述的控制装置,其特征在于,在所述栅格地图中,所述限制区域所覆盖的栅格包含高度信息,所述高度信息为所述可移动平台的最大可移动高度。The control device according to claim 17, wherein, in the grid map, the grid covered by the restricted area includes height information, and the height information is the maximum movable height of the movable platform .
  23. 如权利要求21所述的控制装置,其特征在于,当所述限制区域的几何形状为圆形时,所述在限制区域的边缘所包围区域内的栅格中填充高度信息,包括:The control device according to claim 21, wherein when the geometric shape of the restricted area is a circle, filling the grid in the area surrounded by the edge of the restricted area with height information includes:
    获取多条扫描线和所述圆形的交点坐标,其中,每条扫描线的延伸方向和所述地理坐标系的第一坐标轴垂直,其中,相邻扫描线之间的间隔距离与栅格尺寸相同;Obtain the coordinates of the intersection of a plurality of scan lines and the circle, wherein the extension direction of each scan line is perpendicular to the first coordinate axis of the geographic coordinate system, wherein the distance between adjacent scan lines is the same as that of the grid same size;
    根据每条扫描线和圆形的交点数量,确定预定填充所述高度信息的栅格,其中,当所述扫描线与所述圆形具有一个交点时,在该交点所在的栅格内填充与该交点对应的高度信息,当所述扫描线与所述圆形具有两个交点时,则将两个交点 之间的区域内的栅格内填充高度信息。According to the number of intersections between each scan line and the circle, a grid predetermined to fill the height information is determined, wherein when the scan line and the circle have an intersection, the grid where the intersection is filled with and For the height information corresponding to the intersection, when the scan line and the circle have two intersections, the grid in the area between the two intersections is filled with the height information.
  24. 如权利要求21所述的控制装置,其特征在于,当所述限制区域的几何形状为多边形时,所述在限制区域的边缘所包围区域内的栅格中填充高度信息,包括:The control device according to claim 21, wherein when the geometric shape of the restricted area is a polygon, the filling height information in the grid in the area surrounded by the edge of the restricted area includes:
    获取多条扫描线和所述多边形的交点,其中,每条扫描线的延伸方向和所述地理坐标系的第一坐标轴垂直,其中,相邻扫描线之间的间隔距离与栅格尺寸相同;Obtain the intersection of a plurality of scan lines and the polygon, wherein the extension direction of each scan line is perpendicular to the first coordinate axis of the geographic coordinate system, wherein the spacing distance between adjacent scan lines is the same as the grid size ;
    将每条所述扫描线从所述多边形的一侧向另一侧延伸时与所述多边形的第一个交点所在的栅格设置为第一标志位,将与所述多边形的下一个交点所在的栅格设置为第二标志位,将所述第一个交点和所述下一个交点之间的所述扫描线经过的、并确定位于所述限制区域内的栅格设置为所述第一标志位;Set the grid where each scan line extends from one side of the polygon to the other side with the first intersection with the polygon as the first flag bit, and set the grid where the next intersection with the polygon is located. The grid is set as the second flag bit, and the grid that the scan line between the first intersection point and the next intersection passes through and is determined to be located in the restricted area is set as the first flag bit;
    在所述第一标志位标记的栅格中填充相应的高度信息。Corresponding height information is filled in the grid marked by the first flag bit.
  25. 如权利要求23或24所述的控制装置,其特征在于,所述多条扫描线包括第一扫描线、第二扫描线和介于所述第一扫描线和所述第二扫描线之间的至少一条第三扫描线,其中,所述第一扫描线经过所述限制区域的几何形状在所述第一坐标轴方向的最大值所对应的点并和第一坐标轴方向垂直,所述第二扫描线经过所述限制区域的几何形状在所述第一坐标轴方向的最小值所对应的点并和第一坐标轴方向垂直。The control device according to claim 23 or 24, wherein the plurality of scan lines comprise a first scan line, a second scan line, and a space between the first scan line and the second scan line at least one third scan line of , wherein the first scan line passes through the point corresponding to the maximum value of the geometric shape of the restricted area in the direction of the first coordinate axis and is perpendicular to the direction of the first coordinate axis, and the The second scan line passes through the point corresponding to the minimum value of the geometric shape of the restricted area in the direction of the first coordinate axis and is perpendicular to the direction of the first coordinate axis.
  26. 如权利要求17所述的控制装置,其特征在于,基于所述限制区域的栅格地图,控制可移动平台的移动,包括:The control device of claim 17, wherein, based on the grid map of the restricted area, controlling the movement of the movable platform comprises:
    基于所述限制区域的栅格地图,确定所述可移动平台与限制区域的位置关系;determining the positional relationship between the movable platform and the restricted area based on the grid map of the restricted area;
    基于所述位置关系,控制所述可移动平台的移动。Based on the positional relationship, movement of the movable platform is controlled.
  27. 如权利要求26所述的控制装置,其特征在于,所述栅格地图为地理坐标系下的栅格地图,基于所述限制区域的栅格地图,确定所述可移动平台与限制区域的位置关系,包括:The control device according to claim 26, wherein the grid map is a grid map in a geographic coordinate system, and based on the grid map of the restricted area, the positions of the movable platform and the restricted area are determined relationships, including:
    获取可移动平台的当前位置信息;Get the current location information of the movable platform;
    将所述当前位置信息映射到所述地理坐标系下,获取所述当前位置对应的栅格位置;mapping the current location information to the geographic coordinate system, and obtaining a grid location corresponding to the current location;
    基于所述栅格位置和限制区域的栅格地图,确定与所述栅格位置间隔预定栅格数量的范围内的限制区域;determining a restricted area within a range of a predetermined number of grids from the grid location based on the grid location and the grid map of the restricted area;
    获取所述可移动平台与限制区域的位置关系。Obtain the positional relationship between the movable platform and the restricted area.
  28. 如权利要求27所述的控制装置,其特征在于,基于所述位置关系,控制所述可移动平台的移动,包括:The control device according to claim 27, wherein, based on the positional relationship, controlling the movement of the movable platform comprises:
    当基于所述位置关系确定所述可移动平台处于限制区域中的禁止移动区域时,控制所述可移动平台停止移动或者禁止所述可移动平台开始移动;或者,When it is determined based on the positional relationship that the movable platform is in a prohibited movement area in the restricted area, controlling the movable platform to stop moving or prohibiting the movable platform from starting to move; or,
    当基于所述位置关系确定所述可移动平台处于限制区域中的限高区域时,控制所述可移动平台在限高区域的限制高度以下移动;或者When it is determined based on the positional relationship that the movable platform is in a restricted height area in the restricted area, controlling the movable platform to move below the restricted height of the restricted height area; or
    当基于所述位置关系确定所述可移动平台当前未处于限制区域中,则根据获取的可移动平台到限制区域的最近距离和对应方向向量,禁止所述可移动平台朝向所述方向移动。When it is determined based on the positional relationship that the movable platform is not currently in the restricted area, the movable platform is prohibited from moving toward the direction according to the acquired closest distance from the movable platform to the restricted area and the corresponding direction vector.
  29. 如权利要求17所述的控制装置,其特征在于,基于所述限制区域的栅格地图,控制可移动平台的移动,包括:The control device of claim 17, wherein, based on the grid map of the restricted area, controlling the movement of the movable platform comprises:
    基于所述限制区域的栅格地图,获取可移动平台的从第一位置移动到第二位置的预定移动路线,其中,所述预定移动路线不与所述限制区域相交。Based on the grid map of the restricted area, a predetermined movement route of the movable platform from the first position to the second position is obtained, wherein the predetermined movement route does not intersect the restricted area.
  30. 如权利要求29所述的控制装置,其特征在于,所述限制区域的栅格地图为基于所述可移动平台从所述第二位置移动到所述第一位置过程中所采集的数据信息所获得,其中,所述限制区域的栅格地图中还包括从所述第二位置移动到所述第一位置过程中所述可移动平台的视觉传感器所探测到的障碍物,所述预定移动路线不与所述障碍物相交。29. The control device of claim 29, wherein the grid map of the restricted area is based on data information collected during the movement of the movable platform from the second position to the first position Obtaining, wherein the grid map of the restricted area further includes obstacles detected by the visual sensor of the movable platform during the movement from the second position to the first position, the predetermined movement route Does not intersect the obstacle.
  31. 一种可移动平台,其特征在于,所述可移动平台包括:A movable platform, characterized in that the movable platform comprises:
    动力机构,所述动力机构用于使所述可移动平台移动;a power mechanism for moving the movable platform;
    存储器,用于存储可执行的程序指令;memory for storing executable program instructions;
    一个或多个处理器,用于执行所述存储器中存储的所述程序指令,使得所述处理器执行如权利要求1至16任一项所述的控制方法。One or more processors for executing the program instructions stored in the memory, so that the processors execute the control method according to any one of claims 1 to 16 .
  32. 一种计算机存储介质,其上存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现1至16任一项所述的控制方法。A computer storage medium on which a computer program is stored, characterized in that, when the computer program is executed by a processor, the control method described in any one of 1 to 16 is implemented.
PCT/CN2020/117221 2020-09-23 2020-09-23 Movable platform control method, control apparatus, movable platform, and computer storage medium WO2022061614A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2020/117221 WO2022061614A1 (en) 2020-09-23 2020-09-23 Movable platform control method, control apparatus, movable platform, and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2020/117221 WO2022061614A1 (en) 2020-09-23 2020-09-23 Movable platform control method, control apparatus, movable platform, and computer storage medium

Publications (1)

Publication Number Publication Date
WO2022061614A1 true WO2022061614A1 (en) 2022-03-31

Family

ID=80844700

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/117221 WO2022061614A1 (en) 2020-09-23 2020-09-23 Movable platform control method, control apparatus, movable platform, and computer storage medium

Country Status (1)

Country Link
WO (1) WO2022061614A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114996377A (en) * 2022-05-23 2022-09-02 上海商汤临港智能科技有限公司 Map data selection method, map data selection device, map data selection apparatus, storage medium, and program product
CN116448120A (en) * 2023-04-20 2023-07-18 广州天勤数字科技有限公司 Unmanned aerial vehicle take-off and landing navigation system and method based on Internet of things

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3043226A1 (en) * 2014-12-05 2016-07-13 The Boeing Company Coordinating sensor platforms performing persistent surveillance
CN107065928A (en) * 2017-05-04 2017-08-18 广西大学 A kind of control method in unmanned plane during flying region
CN108496134A (en) * 2017-05-31 2018-09-04 深圳市大疆创新科技有限公司 Unmanned plane makes a return voyage paths planning method and device
CN109074089A (en) * 2017-12-29 2018-12-21 深圳市大疆创新科技有限公司 Control method, flight controller and the unmanned plane of unmanned plane
CN109357685A (en) * 2018-11-05 2019-02-19 飞牛智能科技(南京)有限公司 Airway net generation method, device and storage medium
CN111024080A (en) * 2019-12-01 2020-04-17 中国人民解放军军事科学院评估论证研究中心 Unmanned aerial vehicle group-to-multi-mobile time-sensitive target reconnaissance path planning method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3043226A1 (en) * 2014-12-05 2016-07-13 The Boeing Company Coordinating sensor platforms performing persistent surveillance
CN107065928A (en) * 2017-05-04 2017-08-18 广西大学 A kind of control method in unmanned plane during flying region
CN108496134A (en) * 2017-05-31 2018-09-04 深圳市大疆创新科技有限公司 Unmanned plane makes a return voyage paths planning method and device
CN109074089A (en) * 2017-12-29 2018-12-21 深圳市大疆创新科技有限公司 Control method, flight controller and the unmanned plane of unmanned plane
CN109357685A (en) * 2018-11-05 2019-02-19 飞牛智能科技(南京)有限公司 Airway net generation method, device and storage medium
CN111024080A (en) * 2019-12-01 2020-04-17 中国人民解放军军事科学院评估论证研究中心 Unmanned aerial vehicle group-to-multi-mobile time-sensitive target reconnaissance path planning method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114996377A (en) * 2022-05-23 2022-09-02 上海商汤临港智能科技有限公司 Map data selection method, map data selection device, map data selection apparatus, storage medium, and program product
CN116448120A (en) * 2023-04-20 2023-07-18 广州天勤数字科技有限公司 Unmanned aerial vehicle take-off and landing navigation system and method based on Internet of things
CN116448120B (en) * 2023-04-20 2023-10-31 广州天勤数字科技有限公司 Unmanned aerial vehicle take-off and landing navigation system and method based on Internet of things

Similar Documents

Publication Publication Date Title
US11914369B2 (en) Multi-sensor environmental mapping
US11353892B2 (en) Drop-off location planning for delivery vehicle
US20230341874A1 (en) Vehicle altitude restrictions and control
CN109923492B (en) Flight path determination
WO2018218516A1 (en) Unmanned aerial vehicle return route planning method and apparatus
US20200026720A1 (en) Construction and update of elevation maps
JP2018055695A (en) Method of controlling unmanned aircraft in given environment, method for generating map of given environment, system, program, and communication terminal
CA3106457A1 (en) Method for exploration and mapping using an aerial vehicle
WO2022061614A1 (en) Movable platform control method, control apparatus, movable platform, and computer storage medium
JP6748797B1 (en) Unmanned aerial vehicle control system, unmanned aerial vehicle control method, and program
WO2021199449A1 (en) Position calculation method and information processing system
WO2022047709A1 (en) Method and apparatus for updating restricted area data, movable platform and computer storage medium
CN116724346A (en) Managing fleet of autonomous vehicles based on collected information

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: 20954467

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: 20954467

Country of ref document: EP

Kind code of ref document: A1