Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
SIMULTANEOUS REPRESENTATION OF MOVING AND STATIC OBSTACLES FOR AUTOMATICALLY CONTROLLED VEHICLES
Document Type and Number:
WIPO Patent Application WO/2019/070839
Kind Code:
A1
Abstract:
A method and system provide the ability to automatically control a vehicle to avoid obstacle collision. Range data of a real-world scene (including depth data to static objects) is acquired. Positions and velocities of moving objects are acquired. The range data is combined into an egospace representation for pixels in egospace that is specified with respect to a radially aligned coordinate system. An apparent size of the static objects is expanding, in the egospace representation, based on a dimension of the vehicle. A speed of the vehicle is specified. A velocity obstacle corresponding to the moving objects is constructed. A mask is created in the coordinate system and identifies candidate radial paths that will result in a collision between the vehicle and the moving objects. The mask is combined with the egospace representation that is then used to determine a path for the vehicle.

Inventors:
FRAGOSO ANTHONY T S (US)
Application Number:
PCT/US2018/054142
Publication Date:
April 11, 2019
Filing Date:
October 03, 2018
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
CALIFORNIA INST OF TECHN (US)
International Classes:
G05D1/02; G05D1/12; G08G5/04
Foreign References:
US201816040006A2018-07-19
Other References:
SEUNG-HWAN LEE ET AL: "Robust Robot Navigation using Polar Coordinates in Dynamic Environments", JOURNAL OF INDUSTRIAL AND INTELLIGENT INFORMATION, vol. 2, no. 1, 1 January 2014 (2014-01-01), pages 6 - 10, XP055543389, ISSN: 2301-3745, DOI: 10.12720/jiii.2.1.6-10
LEVY AMICHAI ET AL: "The Extended Velocity Obstacle and applying ORCA in the real world", 2015 IEEE INTERNATIONAL CONFERENCE ON ROBOTICS AND AUTOMATION (ICRA), IEEE, 26 May 2015 (2015-05-26), pages 16 - 22, XP033168385, DOI: 10.1109/ICRA.2015.7138974
ALSAAB AHMAD ET AL: "Improving velocity obstacle approach for obstacle avoidance in indoor environments", 2014 UKACC INTERNATIONAL CONFERENCE ON CONTROL (CONTROL), IEEE, 9 July 2014 (2014-07-09), pages 325 - 330, XP032654570, DOI: 10.1109/CONTROL.2014.6915161
NELSON D R ET AL: "Vector Field Path Following for Miniature Air Vehicles", IEEE TRANSACTIONS ON ROBOTICS, IEEE SERVICE CENTER, PISCATAWAY, NJ, US, vol. 23, no. 3, 1 June 2007 (2007-06-01), pages 519 - 529, XP011201471, ISSN: 1552-3098
FARAZ KUNWAR ET AL: "Rendezvous-Guidance Trajectory Planning for Robotic Dynamic Obstacle Avoidance and Interception", IEEE TRANSACTIONS ON SYSTEMS, MAN AND CYBERNETICS. PART B:CYBERNETICS, IEEE SERVICE CENTER, PISCATAWAY, NJ, US, vol. 36, no. 6, 1 December 2006 (2006-12-01), pages 1432 - 1441, XP011143640, ISSN: 1083-4419, DOI: 10.1109/TSMCB.2006.877792
RACHAEL BIS ET AL: "Velocity Occupancy Space: Robot Navigation and Moving Obstacle Avoidance With Sensor Uncertainty", ASME 2009 DYNAMIC SYSTEMS AND CONTROL CONFERENCE, VOLUME 1, 1 January 2009 (2009-01-01), US, pages 363 - 370, XP055543501, ISBN: 978-0-7918-4892-0, DOI: 10.1115/DSCC2009-2570
T. ISHIDA; R. KORF: "Moving Target Search", INTERNATIONAL CONFERENCE ON ARTIFICIAL INTELLIGENCE, 1991
X. SUN; W. YEOH; S. KOENIG: "Moving Target D*-Lite", INTERNATIONAL CONFERENCE ON AUTONOMOUS AGENTS AND MULTIAGENT SYSTEMS, 2010
P. FIROINI; Z. SHILLER: "Motion planning in dynamic environments using velocity obstacles", INTL. JOURNAL OF ROBOTICS RESEARCH, vol. 17, no. 7, 1998
J. VAN DEN BERG; MING LIN; D. MANOCHA: "Reciprocal Velocity Obstacles for real-time multi-agent navigation", IEEE INTERNATIONAL CONFERENCE ON ROBOTICS AND AUTOMATION, 2008
S. LIU; M. WATTERSON; K. MOHTA; K. SUN; S. BATTACHARYA; C. TAYLOR; V. KUMAR: "Planning dynamically feasible trajectories for quadrotors using safe flight corridors in 3D complex environments", ROBOTICS AND AUTOMATION LETTERS, vol. 2, no. 3, 2017, XP011649683, DOI: doi:10.1109/LRA.2017.2663526
W. DRYANOVSKI; W. MORRIS; J. XIAO: "Multi-volume occupancy grids: an efficient probabilistic 3D mapping model for micro aerial vehicles", IEEE INTL. CONF. ON INTELLIGENT ROBOTS AND SYSTEMS, 2010
L. HENG; L. MEIER; P. TANSKANEN; F. FRAUNDORFER; M. POLLEFEYS: "Autonomous obstacle avoidance and maneuvering on a vision-guided MAV using onboard processing", IEEE INTI. CONF. ON ROBOTICS AND AUTOMATION, 2011
F. FRAUNDORFER; L. HENG; D. HONEGGER; M. POLLEFEYS: "Vision-based autonomous mapping and exploration using a quadrotor MAV", IEEE INTL. CONF. ON INTELLIGENT ROBOTS AND SYSTEMS, 2012
E. BAKOLAS; P. TSIOTRAS: "Multiresolution path planning via sector decompositions compatible to onboard sensor data", AIAA GUIDANCE, NAVIGATION, AND CONTROL CONF., 2008
H. YU; R. BEARD: "Vision-based local-level frame mapping and planning in spherical coordinates for miniature air vehicles", IEEE CONF ON DECISION AND CONTROL, 2011
A. BARRY; R. TEDRAKE: "Pushbroom stereo for high-speed navigation in cluttered environments", IEEE INTL. CONF. ON ROBOTICS AND AUTOMATION, 2015
A. FRAGOSO; L. MATTHIES; R. MURRAY: "A fast motion planning representation for configuration flat robots with applications to micro air vehicles", AMERICAN CONTROL CONF., 2017
A. FRAGOSO; C. CIGLA; R. BROCKERS; L. MATTHIES: "Dynamically feasible motion planning for micro air vehicles using an egocylinder", CONF. ON FIELD AND SERVICE ROBOTICS, 2017
R. BROCKERS; A. FRAGOSO; B. ROTHROCK; C. LEE; L. MATTHIES: "Vision-based obstacle avoidance for micro air vehicles using an egocylindrical depth map", INT. SYMP. ON EXPERIMENTAL ROBOTICS, 2016
R. BROCKERS; A. FRAGOSO; L. MATTHIES: "Stereo vision-based obstacle avoidance for micro air vehicles using an egocylindrical image space representation", MICRO- AND NANOTECHNOLOGY SENSORS, SYSTEMS, AND APPLICATIONS VIII, 2016
L. MATTHIES; R. BROCKERS; Y. KUWATA; S. WEISS: "Stereo vision-based obstacle avoidance for micro air vehicles using disparity space", IEEE INTL. CONF. ON ROBOTICS AND AUTOMATION, 2014
S. LAVALLE: "Planning Algorithms", 2006, CAMBRIDGE UNIVERSITY PRESS
R. ISAACS: "Games of Pursuit", 1951, RAND CORPORATION
M. PONTANI; B. CONWAY: "Optimal Interception of Evasive Missile Warheads: Numerical Solution of the Differential Game", JOURNAL OF GUIDANCE, CONTROL AND DYNAMICS, vol. 31, no. 4, 2008
L. YUAN: "Homing and Navigation Courses of Automatic Target-Seeking Devices", JOURNAL OF APPLIED PHYSICS, vol. 19, no. 12, 1948
N. PALUMBO; R. BLAUWKAMP; J. LLOYD: "Modern Homing Missile Guidance and Techniques", JOHNS HOPKINS APL TECHNICAL DIGEST, vol. 29, no. 1, 2010
K. KANT; S. ZUCKER: "Toward efficient trajectory planning: the path-velocity decomposition", INTL. JOURNAL OF ROBOTICS RESEARCH, vol. 5, no. 3, 1986, XP001099037
F. BALDINI; S. BANDYOPADHYAY; R. FOUST; S. CHUNG; A. RAHMANI; J. DE LA CROIX; A. BACULA; C. CHILAN; F. HADAEGH: "Fast motion planning for agile space systems with multiple obstacles", AIAA/AAS ASTRODYNAMICS SPECIALIST CONF., 2016
S. LIU; M. WATTERSON; S. TANG; V. KUMAR: "High speed navigation for quadrotors with limited onboard sensing", IEEE INTL. CONF. ON ROBOTICS AND AUTOMATION, 2016
C. POWERS; D. MELLINGER; V. KUMAR: "Handbook of Unmanned Aerial Vehicles", 2015, SPRINGER NETHERLANDS, article "Quadrotor kinematics and dynamics"
M. FLEISS; J. LEVINE; P. MARTIN; P. ROUCHON: "Flatness and defect of nonlinear systems: introductory theory and examples", INT. J. CONTROL, vol. 61, no. 6, 1995
E. WEISSTEIN, WOLFRAM MATHWORLD: CIRCLE-LINE INTERSECTION, 2018, Retrieved from the Internet
E. WEISSTEIN, WOLFRAM MATHWORLD: CONE-SPHERE INTERSECTION, 2018, Retrieved from the Internet
Attorney, Agent or Firm:
FELDMAR, Jason S. et al. (US)
Download PDF:
Claims:
WHAT IS CLAIMED IS:

1. A method for automatically controlling a vehicle to avoid obstacle collision, comprising:

(a) acquiring range data of a real-world scene, wherein the range data comprises depth data to one or more static objects;

(b) acquiring positions and velocities of one or more moving objects;

(c) combining the range data into an egospace representation comprising one or more pixels in egospace, wherein egospace is specified with respect to a coordinate system, wherein the coordinate system is radially aligned;

(d) expanding, in the egospace representation, an apparent size of each of the one or more static objects based on a dimension of the vehicle;

(e) specifying a speed (V) of the vehicle;

(f) constructing a velocity obstacle corresponding to each of the one or more moving objects;

(g) creating a mask in the coordinate system, wherein the mask identifies candidate radial paths that will result in a collision between the vehicle and the one or more moving objects;

(h) combining the mask with the egospace representation in the coordinate system, resulting in a combined representation; and

(i) using the combined representation to determine a path for the vehicle.

2. The method of claim 1 , wherein the range data is acquired using one or more range sensors.

3. The method of claim 1 , wherein the acquiring the positions and velocities of the one or more moving objects comprises:

receiving a broadcast of the positions and velocities.

4. The method of claim 1, wherein the creating the mask comprises:

encoding candidate velocity vectors into each of the one or more pixels;

recording a collision value in the mask for each candidate velocity vector that lies in any of the velocity obstacles.

5. The method of claim 4, wherein the recording the collision value comprises:

calculating and recording a depth, as the collision value, wherein the depth corresponds to a location, within the coordinate system, of the collision of the vehicle with the one or more moving objects.

6. The method of claim 4, wherein the collision value comprises:

a Boolean value that encodes a collision potential in a direction.

7. The method of claim 1 , wherein the combining the mask comprises: comparing the egospace representation to the mask; and

based on the comparing, using a closest collision as the collision in the combined representation.

8. The method of claim 1 , wherein the using the combined representation to determine a path comprises:

selecting a destination for the vehicle;

transforming the destination into coordinates of the combined representation; generating a trackable path from the vehicle to the transformed destination through the combined representation that avoids collision with the one or more static objects and the one or more moving objects.

9. The method of claim 8, further comprising:

selecting a collision free velocity vector from the combined representation; wherein:

the trackable path has a turn maneuver; a final velocity at an end of the turn maneuver is directed radially outward from a position of the vehicle, and equal to the collision free velocity vector; and a first duration of the turn maneuver is equal to a second duration of following the collision free velocity vector to a point of intersection with the turn maneuver.

10. The method of claim 1 , wherein the using the combined representation to determine a path comprises:

designating a target obstacle to be pursued by the vehicle;

creating a target mask in the coordinate system, wherein the target mask identifies a target region that will result in an interaction between the vehicle and the target obstacle; and

generating a trackable path from the vehicle to the target region through the combined representation while avoiding a collision with the one or more static objects and the one or more moving obj ects.

11. The method of claim 1 , further comprising:

utilizing one or more actuator inputs to control the vehicle to follow the collision free path.

12. A control system for automatically controlling a vehicle to avoid obstacle collision comprising:

(a) one or more vehicle controller actuators that maneuver the vehicle; and

(b) a navigation system integrated into the vehicle, wherein the navigation system controls the one or more actuators, and wherein the navigation system:

(a) acquires range data of a real-world scene, wherein the range data comprises depth data to one or more static objects;

(b) acquires positions and velocities of one or more moving objects;

(c) combines the range data into an egospace representation comprising one or more pixels in egospace, wherein egospace is specified with respect to a coordinate system, wherein the coordinate system is radially aligned;

(d) expands, in the egospace representation, an apparent size of each of the one or more static objects based on a dimension of the vehicle;

(e) specifies a speed (V) of the vehicle;

(f) constructs a velocity obstacle corresponding to each of the one or more moving objects;

(g) creates a mask in the coordinate system, wherein the mask identifies candidate radial paths that will result in a collision between the vehicle and the one or more moving objects;

(h) combines the mask with the egospace representation in the coordinate system, resulting in a combined representation; and

(i) uses the combined representation to determine a path for the vehicle.

The control system of claim 12, further comprising one or more range sensors that are used to acquire the range data.

14. The control system of claim 12, further comprising broadcast

that receive a broadcast of the positions and velocities.

15. The control system of claim 12, wherein the navigation system creates the mask by:

encoding candidate velocity vectors into each of the one or more pixels;

recording a collision value in the mask for each candidate velocity vector that lies in any of the velocity obstacles.

16. The control system of claim 15, wherein the navigation system records the collision value by:

calculating and recording a depth, as the collision value, wherein the depth corresponds to a location, within the coordinate system, of the collision of the vehicle with the one or more moving objects.

17. The control system of claim 1 S, wherein the collision value comprises: a Boolean value that encodes a collision potential in a direction.

18. The control system of claim 12, wherein the navigation system combines the mask by:

comparing the egospace representation to the mask; and

based on the comparing, using a closest collision as the collision in the combined representation.

19. The control system of claim 12, wherein the navigation system uses the combined representation to determine a path by:

selecting a destination for the vehicle;

transforming the destination into coordinates of the combined representation; generating a trackable path from the vehicle to the transformed destination through the combined representation that avoids collision with the one or more static objects and the one or more moving objects.

20. The control system of claim 19, wherein: the navigation system selects a collision free velocity vector from the combined representation;

the trackable path has a turn maneuver;

a final velocity at an end of the turn maneuver is directed radially outward from a position of the vehicle, and equal to the collision free velocity vector; and

a first duration of the turn maneuver is equal to a second duration of following the collision free velocity vector to a point of intersection with the turn maneuver.

21. The control system of claim 12, wherein the navigation system uses the combined representation to determine a path by:

designating a target obstacle to be pursued by the vehicle;

creating a target mask in the coordinate system, wherein the target mask identifies a target region that will result in an interaction between the vehicle and the target obstacle; and

generating a trackable path from the vehicle to the target region through the combined representation while avoiding a collision with the one or more static objects and the one or more moving objects.

22. The control system of claim 12, wherein the control system utilizes one or more actuator inputs to control the one or more vehicle controller actuators to maneuver the vehicle to follow the collision free path.

Description:
SIMULTANEOUS REPRESENTATION OF MOVING AND STATIC OBSTACLES FOR AUTOMATICALLY CONTROLLED VEHICLES

CROSS-REFERENCE TO RELATED APPLICATIONS

[0001] This application claims the benefit under 35 U.S.C. Section 119(e) of the following co-pending and commonly-assigned U.S. provisional patent applications), which is/are incorporated by reference herein:

[0002] Provisional Application Serial No. 62/568,707, filed on October 5, 2017, with inventor(s) Anthony T. Fragoso, entitled "Simultaneous Representation of Moving and Static Obstacles for Micro Air Vehicles," attorneys' docket number 176.152-US-P1.

[0003] This application is related to the following co-pending and commonly-assigned patent application, which application is incorporated by reference herein:

[0004] United States Patent Application Serial No. 15/394,647, filed on December 29, 2016, with inventor(s) Anthony T. S. Fragoso, Larry H. Matthies, Roland Brockers, and Richard M Murray, entitled "Controlling Unmanned Aerial Vehicles to Avoid Obstacle Collision," attorneys' docket number 176.126-US-U1, which application claims the benefit of 62/274,924 filed on January 5, 2016 and 62/397,284 filed on September 20, 2016; and

[0005] United States Patent Application Serial No. 16/040,006, filed on July 19, 2018, with inventor(s) Larry H. Matthies and Cevahir Cigla, entitled "Gaussian Mixture Models for Temporal Depth Fusion," attorneys' docket number 176.140-US-I1, which application is a continuation-in-part application of United States Patent Application Serial No. 15/394,647, filed on December 29, 2016, with inventors) Anthony T. S. Fragoso, Larry H. Matthies, Roland Brockers, and Richard M Murray, entitled "Controlling Unmanned Aerial Vehicles to Avoid Obstacle Collision," attorneys' docket number 176.126-US-U1, which application claims the benefit of 62/274,924 filed on January 5, 2016 and 62/397,284 filed on September 20, 2016; STATEMENT REGARDING FEDERALLY SPONSORED

RESEARCH AND DEVELOPMENT

[0006] The invention described herein was made in the performance of work under a NASA contract NNN12AA01C, and is subject to the provisions of Public Law 96-517 (35 USC 202) in which the Contractor has elected to retain title.

BACKGROUND OF THE INVENTION

1. Field of the Invention.

[0007] The present invention relates generally to automatically controlled vehicles in two or three dimensions, such as aircraft, watercraft, and planar ground vehicles, and in particular, to a method, system, apparatus, and article of manufacture for automatically avoiding static and moving obstacles while operating such vehicles. 2. Description of the Related Art

[0008] (Note: This application references a number of different publications as indicated throughout the specification by reference numbers enclosed in brackets, e.g., [Name 20xx]. A list of these different publications ordered according to these reference numbers can be found below in the section entitled "References." Each of these publications is incorporated by reference herein.)

Prior Art Overview

[0009] With automatically controlled vehicles (e.g., aircraft, watercraft, and planar ground vehicles), it is often desirable to either avoid or target obstacles. Such obstacles may be moving obstacles, static obstacles, or both (e.g., along a trajectory/path of the vehicle). Prior art implementations are unable to avoid/target both moving and static obstacles. To better understand such prior art issues, a description of prior art obstacle avoidance is useful.

Only Moving Obstacles

[0010] In the absence of static obstacles or location constraints, multi-agent collision avoidance is typically dealt with using a velocity obstacle formulation [Fiorini 1998], in which the relative velocity, size, and separation of each vehicle pair is used to calculate the set of velocities that will ultimately result in a collision. This procedure is based on the well-known maritime principle of constant bearing, decreasing range (CBDR)— if a vehicle appears to be approaching but lingers at the same relative direction when viewed from the second vehicle, a collision will result unless evasive action is taken. More formally, two vehicles are defined to be on a collision course if the relative velocity vector of the pair, when placed at the first vehicle, is directed at the second vehicle. The formal version of the CBDR principle can be used to systematically calculate a velocity obstacle region [Fiorini 1998] in the space of instantaneous candidate vehicle velocity vectors, consisting of the candidate velocity vectors that eventually will result in a collision if selected and maintained. To avoid collision, the controlled vehicle must select a velocity vector outside of this set If both vehicles are controlled, this velocity vector may be averaged with the initial velocity to reduce oscillatory behavior [van den Berg 2008].

Only Static Obstacles

[0011] Representation and motion planning for static (non-moving) obstacles are themselves an area of active research, particularly for size, weight and power (SWaP) constrained vehicles. Regardless of how static obstacle locations are acquired, the automatic control procedure that eventually determines how the vehicle's actuators (such as motors that drive propellers or control surfaces) must move to avoid collision relies first on an internal representation that stores and indexes the locations of static obstacles in an image. To date, motion planners for complex three dimensional environments (typically focused on micro air vehicles as a research testbed) rely classically on the creation of a 3D "voxel" map in which a 3D world is discretized into a grid and occupancy (the presence or absence of an obstacle) is noted at each point (such as [Liul 2017], [Dryanovsky 2010], and the "state-lattice" technique of [Heng 2011]). This representation has been successfully used on a quadcopter with stereo vision during a mapping operation, but at low speeds with negligible dynamics and a planar motion constraint [Fraundorfer 2012]. Uniformly discretized voxel-based approaches are simple to index and store, but require a transformation step in which range data is converted into Cartesian coordinates and a 3D grid filled out accordingly.

[0012] Attempts to more compactly represent static obstacles often use a conversion to cylindrical or spherical coordinates of some sort ([Bakolas 2008], [Yu 2011]), which have an intrinsic advantage of increased resolution at short ranges where it is most needed, and decreased resolution at long ranges where it is less needed. The idea of scaling stereo vision to high speeds by modulating resolution is taken to its limit by [Barry 2015], which demonstrates a "push broom" technique that only detects obstacles at a single disparity and uses onboard state estimation to propagate their location with no further attempt at detection. This technique is able to achieve extremely high frame rates (120 frames per second), but blind to obstacles that are first encountered at a distance less than that of the detection horizon, cannot handle obstacle motion, and does not offer a significant throughput advantage over hardware-based dense stereo techniques.

[0013] More generally and formally, "egospace" representations [Fragosol 2017] use radially-biased structures (of which cylindrical coordinates are a special case) that index potential paths, in the presence or absence of vehicle dynamics, using a radially-aligned "generalized depth" coordinate and "pixel" coordinates on a subset of the unit sphere S 2 (that is, a set of directions). Successful implementations of egospace-based motion planners that included [Fragoso2 2017] and neglected ([Brockersl 2016], [Brockers2 2016]) vehicle dynamics used an "egocylinder" representation structure with inverse range as a generalized depth coordinate along with an azimuth angle and vertical perspective projection as pixels.

[0014] The JPL-CLRRT motion planner [Matthies 2014] introduced the concept of "C- space expansion" (characterized for general egospace in [Fragosol 2017]) directly within the disparity image. The C-space expansion technique expands the apparent size of obstacles directly in disparity image coordinates by a characteristic vehicle radius in order to produce a C-space representation that abstracts the vehicle to a point mass and represents the set of valid (collision-free) vehicle states visible within a scene. Simultaneous Representation of Moving and Static Obstacles

[0015] The representation of an environment for motion planning becomes

considerably more challenging if moving and static obstacles occur simultaneously. Cartesian occupancy grids and related methods are typically generalized to accommodate obstacle motion using the explicit consideration of a time coordinate, either as an additional dimension in a space-time data structure (see Chapter 7.1 of [Lavalle 2016]) or through velocity scheduling [Kant 1986], in which a path among the static obstacles is chosen first and its timing modified to avoid the moving obstacles. The addition of a time coordinate severely increases the computational expense and difficulty of motion planning, especially under SWaP constraints and in three dimensions, often to the point of intractability.

Interception of Moving Targets

[0016] In the absence of other obstacles, techniques for intercepting a moving target typically rely on reactive "homing" architectures, at least during the closing "endgame" phase, that calculate instantaneous feedback commands. Classical interception techniques are based on proportional navigation laws, in which a "seeker" applies an acceleration proportional to the rotation rate of the line-of-sight vector to the "target" in order to drive it to zero and induce interception [Yuan 1948]. Modern guidance laws [Palumbo 2010] use optimal control theory (often within an LQG (linear-quadratic-Gaussian) framework, from which proportional navigation can be rigorously derived as a special case) and can incorporate target maneuverability and performance constraints.

[0017] The theory of zero-sum pursuit-evasion differential games over vehicle dynamics [Isaacs 1951] considers optimal pursuit of an optimally evasive, decision- making maneuverable target using payoff functions and has been theorized as an aerial interception technique against highly maneuverable targets [Pontani 2008].

[0018] The interception problem among obstacles bears some resemblance to graph- based planning problems with a changing target goal set ("the hunter problem"). The primary online approaches for the hunter problem are real-time searches ([Ishida 1991] and variants) that interleave execution and calculation of a path but can lead to severe suboptimality, and incremental searches (such as [Sun 2009]) that generate a path to the goal before execution, but reuse prior search results to reduce replanning expense for motion of the goal set and obstacles. Both approaches, however, necessarily restrict motion of both the controllable agent and the target to the nodes of a graph.

Trajectory Selection and Generation

[0019] Once an obstacle representation is at hand, it must be searched for a path that is both collision-free and satisfies an internal model of the vehicle dynamics. Although any consistent representation of obstacles can, in theory, serve as an input to an optimal control problem for a safe trajectory, this strategy is usually intractable for real obstacle data and motion planning over dynamics is often performed using a "seed" approach that attempts to modify a dynamics-free motion plan until it satisfies the state equations. A popular approach is "convexification," in which a preliminary candidate path is found using dynamics-free methods and used to build a set of continuous, obstacle-free convex regions within which it is contained. The optimal control problem then proceeds as usual over the restricted convex regions, which simplifies its domain and assists the optimization procedure. These approaches differ primarily in how they seed the optimal control calculation and the assumed structure of the control problem. For spacecraft, SE- SCP [Baldini 2016] uses a novel sampling step to explore C-space and identify spherical obstacle-free regions, over which minimum fuel paths calculated using a sequential convex program. The quadcopter motion planner of ([Liul 2017], [Liu2 2017]) builds a set of ellipsioids around the result of a graph search over the cells of a Cartesian occupancy grid, which are then grown into convex obstacle-free regions. A minimum- jerk polynomial trajectory is then calculated over the convex regions using a quadratic program on its coefficients.

[0020] More efficiently, the motion planner of [Fragoso22017] constrains the endpoints, duration, and functional form of a minimum-jerk polynomial so it can be indexed by a "seed" velocity vector that, in turn, is indexed by its magnitude and the pixel coordinates of its direction within egospace. After a scan over the pixels of egospace to identify a pixel that encodes a seed velocity vector that can be safely followed for a sufficiently long duration at a specified speed, the vehicle constructs constrained minimum-jerk polynomials that merge onto the path determined by the seed velocity vector, varying the severity of the turn as needed to avoid collision. Actuation and Control

[0021] Regardless of its origin, the actual execution of a selected trajectory is typically delegated to a low-level controller that can often be split into a fast inner loop that regulates vehicle attitude and thrust and a slower outer loop that regulates vehicle position and speed (as in quadcopter control— [Powers 2015]). This control architecture is well known for autonomous aircraft in particular because it simplifies extraction of input signals to actuators (usually motors of some sort— for example, motors that drive propellers or control surfaces), often also exploiting a "differential flatness" property which allows all vehicle states and controls to be expressed algebraically in terms of a smaller set of "flat outputs" [Fleiss 1995].

Motivation

[0022] In view of the above, what is needed is the ability to simultaneously and efficiently represent static and moving obstacles for the identification of trajectories and construction of actuator signals, possibly for the interception of designated target obstacles, that may be used with automatically controlled vehicles for operations in environments that contain static obstacles, moving obstacles, or both.

SUMMARY OF THE INVENTION

[0023] One or more embodiments of the invention provide a system, framework, and method for automatically controlling vehicles in environments containing static obstacles, moving obstacles, or both. Static obstacle data from onboard sensors or other externally sensed or broadcast sources are compactly represented, along with moving obstacle data from onboard sensors or other externally sensed or broadcast sources, in a data structure referred to as a combined representation. The combined representation consists of an egospace representation of an obstacle environment that is modified to also incorporate moving obstacles by further excluding regions that result in collision with the moving obstacles. Constraints are applied that allow for the efficient generation of collision-free trajectories that are executed by the vehicle actuators (motors and similar devices) for safe navigation. Embodiments of the invention also enable the interception of moving targets while avoiding other static or moving obstacles.

BRIEF DESCRIPTION OF THE DRAWINGS

[0024] Referring now to the drawings in which like reference numbers represent corresponding parts throughout: [0025] FIG. 1 illustrates the "constant bearing decreasing range" (CBDR) principle that must occur if two vehicles are on a collision course in accordance with one or more embodiments of the invention;

[0026] FIG. 2 illustrates the construction of a velocity obstacle for a two dimensional engagement between two vehicles in accordance with one or more embodiments of the invention;

[0027] FIG. 3 illustrates the construction of the egospace representation, the mask, and the combined representation for a three-dimensional engagement in accordance with one or more embodiments of the invention;

[0028] FIG. 4 exemplifies the use of initial turn maneuver constraints to simplify collision-checking in accordance with one or more embodiments of the invention;

[0029] FIGs. 5A and 5B illustrate exemplary vehicles that may be used in accordance with one or more embodiments of the invention; and

[0030] FIG. 6 illustrates the logical flow for automatically controlling a vehicle to avoid obstacle collision in accordance with one or more embodiments of the invention.

DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0031] In the following description, reference is made to the accompanying drawings which form a part hereof, and which is shown, by way of illustration, several embodiments of the present invention. It is understood that other embodiments may be utilized and structural changes may be made without departing from the scope of the present invention.

Overview

[0032] One or more embodiments of the invention provide a pipeline for automatically controlling vehicles in two or three dimensions, such as robotic aircraft (including those of a small, portable size known as micro air vehicles, or MAVs) watercraft, and planar ground vehicles, in environments containing static obstacles, moving obstacles, or both simultaneously. Embodiments may be utilized in/by aircraft of the multirotor family, which include the widely available quadcopter platform (also referred to as a "quadrotor" or, colloquially, as a "drone"). Embodiments may be utilized in/by aircraft of the fixed- wing family, which includes airplane-like platforms. Embodiments may be utilized in/by vehicles with aerodynamic or hydrodynamic control surfaces. Embodiments may be manned or unmanned. Embodiments may seek to intercept, interact with, or intentionally collide with a designated moving or static target (or target region/area). The ability to automatically control such vehicles reliably within environments containing static obstacles, moving obstacles, or both without a pilot is of intense technical interest and has so far been elusive, but is provided by embodiments of the invention.

[0033] One or more embodiments of the invention are not restricted to a particular hardware implementation, but typically include an onboard computer that receives raw static obstacle data, derived either from onboard sensors that measure the distance to obstacles near the vehicle (including, but not limited to, cameras and laser-based devices) or sourced from elsewhere (including, but not limited to a broadcast or a preexisting map), and arranges it into a very compact and efficient data structure with indexing that naturally generates a favorable resolution pattern for obstacle sensing (the "egospace representation"). The onboard computer also receives moving obstacle data, derived either from onboard sensors that measure the distance to nearby moving obstacles (including, but not limited to, cameras and laser-based devices) or sourced from elsewhere (including, but not limited to, a broadcast or known predetermined trajectory estimate), comprised of a characteristic size of each obstacle along with its relative or absolute velocity and position. The onboard computer merges the moving obstacle data and the static obstacle data into a "combined representation" in the same egospace coordinate system. The onboard computer calculates a collision-free trajectory from which the appropriate actuator signals (for example, a motor spinning a propeller) are produced and sent to the actuators themselves to cause the aircraft to follow that trajectory. [0034] One or more embodiments of the invention automatically control a vehicle, referred to hereafter as "vehicle A," and in addition to any static obstacles consider the avoidance of one or more moving obstacles, of which any particular instance is referred to hereafter as "vehicle B."

Construction of Restricted Velocity Obstacles

Two Dimensions

[0035] Embodiments of the invention may operate in a two-dimensional engagement between vehicle A and vehicle B in which vehicle B is non-compliant and cannot be expected to yield or otherwise change its course. Vehicle B is determined by measurement or from an external source to have a velocity vector VB and be located at a relative position (the "separation vector") XBA from vehicle A (each vector expressed in the same two-dimensional body-carried and body-centered frame of vehicle A). Vehicle A is abstracted to a point by assuming that vehicle B is circular and possesses a characteristic radius re that is at least the sum of the radius of the smallest circle that entirely contains vehicle B and the radius of the smallest circle that entirely contains vehicle A. If vehicle A and vehicle B maintain their velocity vectors, a collision will result if the relative velocity vector, when placed at vehicle A, is directed at vehicle B (the principle of "constant bearing decreasing range," FIG. 1). In this regard, FIG. 1 illustrates the "constant bearing decreasing range" (CBDR) principle that must occur if two vehicles are on a collision course in accordance with one or more embodiments of the invention. If vehicle B remains at the same bearing relative to the velocity vector of vehicle A (shown by dotted lines at times ti, t 2 , to) and also closes in distance, a collision is inevitable if neither yields.

[0036] This constraint identifies the set of relative velocity vectors VAB=VA-VB that are inadmissible, which is a cone CA within the plane. Adding VB to each vector in CA gives the velocity obstacle 0 A =CA+VB for vehicle A, where "+" is understood to be pointwise addition of VB to each element of CA [Fiorini 1998]. Any v in 0 A will eventually result in a collision between vehicle A and vehicle B if each maintains its course— when VB is subtracted from v, a relative velocity directed at vehicle B results. Because vehicle B cannot be expected to take evasive action, the motion planning objective for vehicle A is to select any velocity vector that is not in this set

[0037] Referring to FIG. 2, one or more embodiments of the invention further restrict the velocity vector candidates of vehicle A to a speed V (possibly equal zero) (i.e., circle 202), based on typical operating velocities, vehicle performance, environmental conditions, and mission objectives, and seeks a collision-free instantaneous direction Θ of the unit circle S 1 202. Because V is fixed, the set of forever collision-free Θ can calculated by identifying regions of the circle 202 of radius V, centered at the origin, that do not lie within 0 A , which is itself a two dimensional cone 206 shifted from the origin. Three possible engagement geometries exist under this constraint: first, the circle 202 is contained entirely inside 0 A and a collision is inevitable at the speed V; second, the circle 202 is entirely outside 0 A and no collision is possible at the speed V; third, the circle 202 intersects with 0 A , in which case at least one, but no more than two (possibly degenerate) arc segments lie inside the cone 206 and for which the endpoints can be found explicitly using the well-known algebraic solution for intersection of a line with a circle [Weissteinl 2018]. The arc segments that lie within the cone 206 are referred to the "restricted velocity obstacle" at speed V. If an intersection is present, any Θ outside of the restricted velocity obstacle corresponds to a collision-free velocity vector with magnitude V, assuming that vehicle B continues upon its current path and there are no other obstacles.

[0038] In view of the above, FIG. 2 illustrates the construction of a velocity obstacle 206 for a two dimensional engagement between two vehicles in accordance with one or more embodiments of the invention. Vehicle A is controllable and seeks a velocity vector VA that will not result in collision, while vehicle B is non-compliant and travels with instantaneous velocity VB. The set of relative velocities VAB=VA-VB that are directed at B will eventually result in collisions if no evasive action is taken and lie in the collision cone 204. Adding VB pointwise to the collision cone gives the set of VA that will eventually cause a collision with vehicle B if no evasive action is taken, which is known as the velocity obstacle 206. The circle 202 centered on vehicle A is the set of VA with constant magnitude V, which in this case does not intersect with the velocity obstacle 206 and generates an empty restricted velocity obstacle, which is in general the set of VA within the velocity obstacle 206 that also have magnitude V. Three Dimensions

[0039] Embodiments of the invention may operate in a three-dimensional engagement between vehicle A and vehicle B in which vehicle B is non-compliant and cannot be expected to yield or otherwise change its course. Vehicle B is determined by

measurement or from an external source to have a velocity vector VB and be located at a relative position (the "separation vector") XBA from vehicle A (each vector expressed in the same three-dimensional body-carried and body-centered frame of vehicle A). Vehicle A is abstracted to a point by assuming that vehicle B is spherical and possesses a characteristic radius TB that is at least the sum of the radius of the smallest sphere that entirely contains vehicle B and the radius of the smallest sphere that entirely contains vehicle A. If vehicle A and vehicle B maintain their velocity vectors, a collision will result if the relative velocity vector, when placed at vehicle A, is directed at vehicle B. This constraint identifies the set of relative velocity vectors VAB=VA-VB that are inadmissible, which is a cone CA within three-dimensional space. Adding VB to each vector in CA gives the velocity obstacle O A =CA+VB for vehicle A, where "+" is pointwise addition of VB to each element of CA. Any v in 0 A will eventually result in a collision between vehicle A and vehicle B if each maintains its course because when VB is subtracted, v generates a relative velocity directed at vehicle B. Because vehicle B cannot be expected to take evasive action, the motion planning objective for vehicle A is to select any three-dimensional velocity vector that is not in this set.

[0040] One or more embodiments of the invention further restrict the velocity vector candidates of vehicle A to a speed V (possibly equal zero), based on typical operating velocities, vehicle performance, and environmental conditions, and seeks a collision-free instantaneous direction Θ of the unit sphere S 2 . Because V is fixed, the set of forever collision-free 0 can calculated by identifying regions of a sphere of radius V, centered about the origin, that do not lie within 0 A , which is itself a three dimensional cone translated from the origin. Three engagement geometries result: first, the sphere is contained entirely within 0 A and a collision is inevitable at the speed V; second, the sphere is entirely outside 0 A and no collision is possible at that speed; third, the sphere intersects with 0 A , in which case at least one, but no more than two (possibly degenerate) simply connected regions Ωι and Ω2 of the sphere lie within 0 A . The regions of the sphere that lie within the velocity obstacle are referred to as the "restricted velocity obstacle" at speed V. Unlike the two-dimensional case, there is no general

straightforward analytic solution for the boundaries of Ωι and Ω2, which involves the simultaneous solution of a quadratic equation in three variables and a quartic equation in two of the three [Weisstein22018]. Controllable Obstacles

[0041] One or more embodiments of the invention may also consider engagements in which one or more of the moving obstacles are controllable and can be considered together in order to avoid oscillatory behavior and enhance performance. In this regime, the velocity obstacle between vehicle A and a controllable vehicle B can be replaced by a reciprocal velocity obstacle [van den Berg 2008] for each vehicle constructed from the pointwise weighted sum of their respective initial velocities with each vector in the original velocity obstacle. Embodiments otherwise proceed as described above.

Ecospace Representation of Restricted Velocity Obstacles

[0042] One or more embodiments of the invention use "egospace" as an underlying coordinate system for the expression, processing, and storage of restricted velocity obstacles. Egospace coordinates [Fragosol 2017] consist of a radially aligned generalized depth coordinate along with a parameterization of S 2 (S 1 for a two-dimensional planar vehicle) or a region thereof into pixel coordinates. An "egospace representation" assigns one or more generalized depths to each pixel to depict an obstacle environment. An egospace representation is a C-space representation that encodes valid locations for vehicle A if its depictions of obstacles therein have been expanded by at least the radius of the smallest sphere that would contain vehicle A. Embodiments of the invention are not restricted to any particular structure within the class of egospace representations, including those which allow for a 360-degree field of regard.

[0043] Embodiments of the invention may use the same egospace coordinates as used to represent static obstacles in an environment for the expression, processing, and storage of moving obstacle data (as described further below).

[0044] One or more embodiments of the invention use a discrete set of pixels to store an egospace representation. Embodiments of the invention are not restricted to any specific storage or access implementation, but can use array storage of generalized depth values and identify each element of an array with a specific pixel.

[0045] One or more embodiments of the invention may index candidate velocity vectors through identification with an egospace pixel coordinate and a magnitude (equal to the speed V)

Two Dimensions

[0046] One or more embodiments of the invention in a two-dimensional engagement use the speed V, a pixel coordinate ui, obstacle velocity VB, obstacle radius re, and vehicle separation vector towards vehicle B XBA to check if the candidate velocity vector given by VA(V,ui) results in a collision by determining whether it lies within the interior of the two- dimensional velocity obstacle 0 A using its inequality representations:

where d= XAB/1|--AB|!, φ is the cone half-aperture set by ||ΧΑΒ|| and re, and u= VA-VB. Three Dimensions

[0047] One or more embodiments of the invention in a three-dimensional engagement use the speed V, candidate pixel coordinates (ui,vi), obstacle velocity VB, obstacle radius ΓΒ, and vehicle separation vector towards vehicle B, XBA, to check if the candidate velocity vector given by VA(V,ui,vi) results in a collision by determining whether it lies within the interior of the three-dimensional velocity obstacle 0 A using its inequality representations:

where d= XAB/1|--AB|!, φ is the cone half-aperture set by ||ΧΑΒ|| and re, and u= VA-VB.

[0048] One or more embodiments of the invention check the pixels of an egospace representation and assign to each of the pixels corresponding to Θ within the restricted velocity obstacle a "collision value" that quantifies the imminence of a collision.

Although embodiments of the invention are not restricted to any particular scale for imminence of a collision, examples include a generalized depth, such as the generalized depth of the location where the collision would occur between vehicle A and vehicle B if that course were chosen at the speed V, or a Boolean value that encodes whether any collision eventually occurs in that direction (possibly subject to a time-to-contact or distance limit). Each moving obstacle is considered consecutively, and the most imminent collision value at each pixel retained.

[0049] One or more embodiments of the invention retain the collision value

information at each pixel after processing of the moving obstacles, which is formally a map from the set of pixels to the set of collision values referred to as the "mask".

Merging with Static Obstacles

[0050] One or more embodiments of the invention efficiently represent static obstacles using egospace representations that have undergone C-space expansion ([Fragosol 2017], [Fragoso2 2017], [Brockersl 2016], [Brockers2 2016], [Matthies 2014]). Embodiments of the invention are not restricted to a particular storage or implementation technique, but can merge the mask with the static obstacle egospace representation into a single coherent structure referred to as the "combined representation" by comparing collision values with the generalized depths of the static obstacle egospace representation (FIG. 3). This process is equivalent to generating an artificial static obstacle, with an appropriate generalized depth or collision value, at each pixel that would produce a collision with a moving obstacle if the flight direction it indexes were followed at the specified speed V. Any pixel that satisfies a collision value or generalized depth constraint, towards either a moving or a static obstacle, is referred to as a "seed pixel" and corresponds to a candidate velocity vector referred to as the "seed velocity vector" that can serve as a safe motion plan up to the point of the constraint under an infinite-agility motion model.

[0051] In view of the above, FIG. 3 illustrates the construction of the egospace representation, the mask, and the combined representation for a three-dimensional engagement A controllable vehicle, abstracted to a point mass and seeking a straight-line path at desired speed V (circle 302 is the set of velocity vectors that have the desired speed) attempts to avoid ten expanded obstacles (velocity vectors 304, projected into the plane for visibility [e.g., all velocity vectors other than the set in circle 302]). The engagement occurs within a static forested environment (egocylinder representation 306 shown— area/shading 312 is no depth data, cooler areas/colors/shades 314 are closer). A velocity obstacle mask 308 that indexes directions which result in a collision with a moving obstacle 316 at the speed V is calculated from the restricted velocity obstacle in the same egocylinder coordinates as the static environment and assigned an appropriate depth. Merging the mask 308 into the static obstacle representation 306 results in image 310 (pixels 316 in image 310 are sourced from moving obstacles 316 of image 308) allows for motion planning around the static and moving obstacles within the same representation. Any pixel with a depth greater than that determined by a time-to-contact threshold at the speed V corresponds to a safe motion plan for an infinite agility vehicle up to that threshold. Seed Velocity Vector Selection

[0052] One or more embodiments of the invention ultimately select a seed velocity vector as part of the motion planning pipeline. Embodiments of the invention are not restricted to any particular search implementation, but may do so by scanning over the pixels of the combined representation, retaining safe seed pixels, and reconstructing the corresponding seed velocity vectors.

[0053] Embodiments of the invention may constrain or bias a search for a seed velocity vector by considering an intermediate waypoint or preferred direction of travel and attempting to find the seed pixel that will most closely approach the pixel corresponding to an intermediate waypoint or preferred direction of travel. The "closest approach" criterion is not restricted to any particular metric, pseudo-metric, or tie-breaking procedure, but may use Euclidean or "Manhattan" distance in pixel space.

[0054] Embodiments of the invention may consider an infinite-agility motion model for vehicle A and send a seed velocity vector directly to a lower-level controller as the trajectory to be followed. The low-level controller then generates actuator input signals that cause the vehicle to track the seed velocity vector.

[0055] Embodiments of the invention repeat the seed velocity vector selection process whenever new static or moving obstacle data arrives. Targeting Scenarios and Intentional Collision

[0056] Embodiments of the invention may use a data structure referred to as a "target mask" to identify seed velocity vectors that will cause vehicle A to pursue, intercept, interact with, rendezvous with, or intentionally collide with one of the moving or static obstacles, referred to as the "target obstacle," while avoiding collisions with other moving obstacles and with the static obstacles. The target mask is constructed by selecting the speed V such that a mask considering only the target obstacle includes at least one pixel with a non-trivial collision value (that is, the velocity vector encoded by the pixel coordinates and the speed V will generate a collision with the target obstacle if selected and followed and no other evasive action is taken).

[0057] The target mask is used to bias the search for a seed pixel such that an otherwise collision-free pixel with a non-zero collision value in the target mask is chosen as the seed pixel, or if all are excluded by collision with another obstacle, the collision-free pixel closest (in the sense described previously) to any pixel with non-zero collision value in the target mask is chosen as the seed. When the target mask has more than one otherwise collision-free pixel with a non-zero collision value available, the one with the most imminent collision value is preferred.

Vehicle Dynamics

[0058] Embodiments of the invention feed the seed velocity vector to a second stage of motion planning that incorporates the dynamics of the vehicle and produces a motion plan that can be followed by an internal dynamical motion model, similar to the two- stage motion planner in [Fragoso2 2017]. After generating an egospace with expanded static and moving obstacles merged into a single representation and selecting a candidate velocity vector, the vehicle calculates a feasible maneuver, referred to as the "initial turn maneuver," that transitions smoothly from the initial vehicle velocity onto a path determined by the seed velocity vector VA (the "cruise maneuver" discussed below) such that (FIG. 4): first, the final velocity at the end of the initial turn maneuver is directed radially outward from the origin (placed at initial vehicle position) and with the same magnitude and direction as VA; and second, the duration of the initial turn maneuver is equal to that of the infinite-agility "cruise maneuver", generated by following constant VA with infinite agility from the initial vehicle position, that it meets.

[0059] In view of the above, FIG. 4 exemplifies the use of initial turn maneuver constraints to simplify collision-checking in accordance with one or more embodiments of the invention. In transitioning from the initial velocity vector 402 (directed left and up) onto the cruise maneuver 404 (dotted) determined by the following a constant seed velocity vector 406 (directed right and up), the initial turn maneuver 408 is constrained to smoothly meet the cruise maneuver 404, in at least velocity and position, at the meeting time tf.

[0060] Embodiments of the invention are not restricted to a particular internal dynamical motion model or trajectory generation module for generation of an initial turn maneuver 408 that satisfies the constraints. Embodiments may use differentially flat [Fleiss 1995] motion models and trajectory generation techniques.

[0061] Embodiments of the invention collision-check the initial turn maneuver 408 against the combined representation. Collision checking proceeds by first calculating the generalized depth (and, if different, the collision value) of points on the initial turn maneuver 408 at an appropriate resolution. The generalized depths (and, if different, the collision value) of these points are compared to the combined representation, and if none coincide with obstacles in the combined representation, the initial turn maneuver 408 is determined to be "collision-free" and selected for later execution.

[0062] Embodiments of the invention may consider a shorter-duration or internally modified initial turn maneuver, a different seed velocity vector, or a different speed V and again attempt to calculate an initial turn maneuver if a collision is detected.

[0063] Embodiments of the invention may append the initial turn maneuver with a trajectory of constant velocity equal to the seed velocity, which is referred to as the

"cruise maneuver". By enforcing the endpoint and duration constraints for the initial turn maneuver, the cruise maneuver remains collision-free (as determined by the seed vector selection process described above) against moving and static obstacles up to the generalized depth or collision value of the combined representation and need not be checked again until new obstacle data is acquired. [0064] Embodiments of the invention may employ a "final turn maneuver" that departs from the cruise maneuver, satisfies the internal dynamical motion model, and arrives at a specified destination. The final turn maneuver may be collision-checked in the same fashion as the initial turn maneuver and modified or discarded altogether if found to result in collision.

[0065] Embodiments may vary in the smoothness properties of the trajectory across maneuver transition points, but those which satisfy the internal dynamical motion model over the entire trajectory may be preferred. Execution of the Trajectory

[0066] Embodiments of the invention calculate and issue signals for the devices that compel the vehicle to move, referred to as "actuators," and cause it to follow the selected collision-free trajectory consisting of the initial turn maneuver, the cruise maneuver, and the final turn maneuver (if present) executed consecutively. Embodiments are not restricted to any particular class of actuators, but may include motors for spinning propellers/rotors, engines, and moveable control surfaces (such as elevators, rudders, and ailerons). Embodiments of the invention may employ a "configuration flaf ' internal dynamical motion model that allows actuator inputs to be determined algebraically from the explicit, implicit, or parametric equations for the trajectory in the space of obstacles, but are not required to do so. Embodiments may calculate actuator signals along with the trajectory during the trajectory generation and collision step described above, but are not required to do so.

Exemplary Hardware Environment

[0067] FIGs. 5A and 5B illustrate exemplary vehicles that may be used in accordance with one or more embodiments of the invention. While specific examples are illustrated in FIGs. 5 A and 5B, embodiments of the invention are not limited to a particular vehicle (e.g., a micro-air vehicle [MAV]) or configuration. FIG. 5A illustrates a quadcopter MAV 500 (e.g., an ASTEC HUMMINGBRID) that is equipped with four (4) rotors 502, a flight computer 504 (e.g., ODROID XU4), that hosts a cell phone based system on a chip (SoC) (e.g., an 8 core EXYNOS5422 system). Vehicle 500 may include various actuators or controls. In the exemplary MAVs of FIGs. 5 A and 5B, such actuators drive the rotors 502. A stereo camera setup uses two cameras 506A (e.g., MATRIX VISION BLUEF OX-MLC 200 wG cameras [752x480, gray scale]) that are hardware synchronized. Software on MAV 500 may be running on-board the flight computer 504 using a module (e.g., ROS) for message passing.

[0068] Similar to FIG. 5A, FIG. 5B illustrates a quadcopter MAV 500 (e.g., an

ASCTEC PELICAN) that is equipped with four camera head (i.e., forward facing cameras 506A and side-looking cameras 506B. Thus, in addition to the two cameras 506A, embodiments may extend the total field of regard to about 580° by adding side- looking cameras 506B with structure from motion (SfM) for depth perception.

Alternatively, laser scanners or any device capable of receiving point cloud information may be utilized for cameras 506. The depth data from all cameras 506 may be projected onto a cylindrical inverse range image referred to herein as an "egocylinder", and C- space expansion may be performed on the egocylinder (as described above and in the related applications).

[0069] While MAVs are illustrated in FIGs. 5A and 5B, embodiments of the invention are not limited to such vehicles. As described above, embodiments of the invention may include watercraft, and planar ground vehicles, in environments containing static obstacles, moving obstacles, or both simultaneously. Embodiments may be utilized in/by aircraft of the multirotor family, which include the widely available quadcopter platform (also referred to as a "quadrotor" or, colloquially, as a "drone"). Embodiments may be utilized in/by aircraft of the fixed- wing family, which includes airplane-like platforms. Embodiments may be utilized in/by vehicles with aerodynamic or hydrodynamic control surfaces. Examples of such embodiments may include guided self-propelled systems

(e.g., missiles) that may be propelled via rotors, propellers, rocket/jet propulsion, etc. and or any other type of vehicle that uses any type of engine to control its trajectory.

Embodiments may be manned or unmanned. Embodiments may seek to intercept, interact with, or intentionally collide with a designated moving or static target (or target region/area). The ability to automatically control such vehicles reliably within environments containing static obstacles, moving obstacles, or both without a pilot is of intense technical interest and has so far been elusive, but is provided by embodiments of the invention. Logical Flow

[0070] FIG. 6 illustrates the logical flow for automatically controlling a vehicle to avoid obstacle collision in accordance with one or more embodiments of the invention.

[0071] At step 602, range data of a real-world scene is acquired. The range data is depth data to one or more static objects. The range data may be acquired using one or more range sensors, via broadcast, or via mapped data.

[0072] At step 604, positions and velocities of one or more moving objects are acquired. The positions and velocities may be acquired via receipt of a broadcast of such positions and velocities.

[0073] At step 606, the range data is combined into an egospace representation. The ego space representation consists of one or more pixels in egospace. Egospace is specified with respect to a coordinate system that is radially aligned.

[0074] At step 608, an apparent size of each of the one or more static objects is expanded, in the egospace representation, based on a dimension of the vehicle.

[0075] At step 610, a speed (V) of the vehicle is specified.

[0076] At step 612, a velocity obstacle corresponding to each of the one or more moving objects is constructed. In this regard, velocity obstacles may be generated for each of the moving objects and consolidated in the mask.

[0077] At step 614, a mask is created in the coordinate system (i.e., the same coordinate system as the egospace representation). The mask identifies candidate radial paths that will result in a collision between the vehicle and the one or more moving objects. Such a mask creation may include encoding candidate velocity vectors into each of the one or more pixels, and recording a collision value in the mask for each candidate velocity vector that lies in any of the velocity obstacles. A depth may be calculated and recorded as the collision value. Such a depth corresponds to a location, within the coordinate system, of the collision of the vehicle with the one or more moving objects. Alternatively, the collision value may consist of a Boolean value that encodes a collision potential in a direction.

[0078] At step 616, the mask is combined with the egospace representation in the coordinate system, resulting in a combined representation. The mask may be combined by comparing the egospace representation to the mask, and based on the comparing, using a closest collision as the collision in the combined representation.

[0079] At step 618, the combined representation is used to determine a path for the vehicle. Such a path determination may include selecting a destination for the vehicle, transforming the destination into coordinates of the combined representation, and generating a trackable path from the vehicle to the transformed destination through the combined representation that avoids collision with the one or more static objects and the one or more moving objects. To avoid collision, a collision free velocity vector may be selected from the combined representation. In such embodiments, the trackable path may include a turn maneuver, a final velocity at an end of the turn maneuver is directed radially outward from a position of the vehicle, and equal to the collision free velocity vector, and a first duration of the turn maneuver is equal to a second duration of following the collision free velocity vector to a point of intersection with the turn maneuver.

[0080] Alternatively, the path determination may include designating a target obstacle to be pursued by the vehicle, creating a target mask in the coordinate system (where the target mask identifies a target region that will result in an interaction between the vehicle and the target obstacle), and generating a trackable path from the vehicle to the target region through the combined representation while avoiding a collision with the one or more static objects and the one or more moving objects. In this regard, embodiments of the invention provide the ability to avoid collision with static and/or moving obstacles while targeting a particular obstacle. Embodiments of the invention may be configured to cause the vehicle to interact with the target obstacle (e.g., via a direct collision or to target a region/area within a threshold range of the vehicle).

[0081] Further to the above, step 618 may include utilizing one or more actuator inputs to actually control the vehicle to follow the collision free path (i.e., embodiments of the invention include the firing or utilization of actuators to control a vehicle).

Conclusion

[0082] This concludes the description of the preferred embodiment of the invention. The foregoing description of the preferred embodiment of the invention has been presented for the purposes of illustration and description. It is not intended to be exhaustive or to limit the invention to the precise form disclosed. Many modifications and variations are possible in light of the above teaching. It is intended that the scope of the invention be limited not by this detailed description, but rather by the claims appended hereto.

REFERENCES

[0083] [Ishida 1991 ] T. Ishida and R Korf, "Moving Target Search," International Conference on Artificial Intelligence, 1991.

[0084] [Sun 2009] X. Sun, W. Yeoh, and S. Koenig, "Moving Target D*-Lite", International Conference on Autonomous Agents and Multiagent Systems, 2010.

[0085] [Fiorini 1998] P. Firoini and Z. Shiller, "Motion planning in dynamic environments using velocity obstacles," Intl. Journal of Robotics Research, vol. 17, no. 7, 1998.

[0086] [van den Berg 2008] J. van den Berg, Ming Lin and D. Manocha, "Reciprocal Velocity Obstacles for real-time multi-agent navigation," IEEE International Conference on Robotics and Automation, 2008.

[008η [Liu 2017] S. Liu, M Watterson, K. Mohta, K. Sun, S. Battacharya, C. Taylor, and V. Kumar, "Planning dynamically feasible trajectories for quadrotors using safe flight corridors in 3D complex environments," Robotics and Automation Letters, vol. 2, no. 3, 2017.

[0088] [Dryanovski 2010] W. Dryanovski, W. Morris, and J. Xiao, "Multi-volume occupancy grids: an efficient probabilistic 3D mapping model for micro aerial vehicles," in IEEE Intl. Conf. on Intelligent Robots and Systems, 2010.

[0089] [Heng 2011 ] L. Heng, L. Meier, P. Tanskanen, F. Fraundorfer, and M.

Pollefeys, "Autonomous obstacle avoidance and maneuvering on a vision-guided MAV using onboard processing," in IEEE Intl. Conf. on Robotics and Automation, 201 1.

[0090] [Fraundorfer 2012] F. Fraundorfer, L. Heng, D. Honegger, and M Pollefeys, "Vision-based autonomous mapping and exploration using a quadrotor MAV," in IEEE Intl. Conf. on Intelligent Robots and Systems, 2012.

[0091] [Bakolas 2008] E. Bakolas and P. Tsiotras, "Multiresolution path planning via sector decompositions compatible to onboard sensor data," mAIAA Guidance,

Navigation, and Control Conf , 2008.

[0092] [ Yu 2011] H. Yu and R. Beard, "Vision-based local-level frame mapping and planning in spherical coordinates for miniature air vehicles," in IEEE Conf. on Decision and Control, 2011.

[0093] [Bany 2015] A. Barry and R. Tedrake, "Pushbroom stereo for high-speed navigation in cluttered environments," in IEEE Intl. Conf. on Robotics and Automation, 2015.

[0094] [Fragosol 2017] A. Fragoso, L. Matthies, and R. Murray, "A fast motion planning representation for configuration flat robots with applications to micro air vehicles, in American Control Conf., 2017.

[0095] [Fragoso2 2017] A. Fragoso, C. Cigla, R. Brockers, and L. Matthies,

"Dynamically feasible motion planning for micro air vehicles using an egocylinder," in Conf. on Field and Service Robotics, 2017.

[0096] [Brockersl 2016] R. Brockers, A Fragoso, B. Rothrock, C. Lee, and L.

Matthies, "Vision-based obstacle avoidance for micro air vehicles using an egocylindrical depth map," mint. Symp. on Experimental Robotics, 2016.

[0097] [Brockers22016] R. Brockers, A. Fragoso, and L. Matthies, "Stereo vision- based obstacle avoidance for micro air vehicles using an egocylindrical image space representation," in Micro- and Nanotechnology Sensors, Systems, and Applications VIII, 2016.

[0098] [Matthies 2014] L. Matthies, R Brockers, Y. Kuwata, and S. Weiss, "Stereo vision-based obstacle avoidance for micro air vehicles using disparity space," in IEEE Intl. Conf. on Robotics and Automation, 2014. [0099] [Lavalle 2006] S. Lavalle, Planning Algorithms, 1st ed. Cambridge University Press, 2006.

[0100] [Isaacs 1951] R. Isaacs, Games of Pursuit, RAND Corporation, 1951.

[0101] [Pontani 2008] M. Pontani and B. Conway, "Optimal Interception of Evasive Missile Warheads: Numerical Solution of the Differential Game," Journal of Guidance, Control and Dynamics, vol. 31, no. 4, 2008.

[0102] [Yuan 1948] L. Yuan, "Homing and Navigation Courses of Automatic Target- Seeking Devices," Journal of Applied Physics, vol. 19, no. 12, 1948.

[0103] [Palumbo 2010] N. Palumbo, R. Blauwkamp, and J. Lloyd, "Modem Homing Missile Guidance and Techniques," Johns Hopkins APL Technical Digest, vol 29. no. 1, 2010.

[0104] [Kant 1986] K. Kant and S. Zucker, "Toward efficient trajectory planning: the path-velocity decomposition," Intl. Journal of Robotics Research, vol. 5, no. 3, 1986.

[0105] [Baldini 2016] F. Baldini, S. Bandyopadhyay, R. Foust, S. Chung, A. Rahmani, J. de la Croix, A. Bacula, C. Chilan, and F. Hadaegh, "Fast motion planning for agile space systems with multiple obstacles," mAIAA/AASAstrodynamics Specialist Conf, 2016.

[0106] [Liu22017] S. Liu, M Watterson, S. Tang, and V. Kumar, "High speed navigation for quadrotors with limited onboard sensing," in IEEE Intl. Conf. on Robotics and Automation, 2016. [0107] [Powers 2015] C. Powers, D. Mellinger, and V. Kumar, "Quadrotor kinematics and dynamics," m Handbook oj ' Unmanned Aerial Vehicles, Springer Netherlands, 2015.

[0108] [Fleiss 1995] M Fleiss, J. Levine, P. Martin, and P. Rouchon, "Flatness and defect of nonlinear systems: introductory theory and examples," Int. J. Control, vol. 61, no. 6, 1995.

[0109] [Weissteinl 2018] E. Weisstein. (2018). "Wolfram mathworld: Circle-Line intersection," [On-line]. Available: mathworld.wolfram.com/Circle-LineIntersection.html

[0110] [Weisstein2 2018] E. Weisstein. (2018). "Wolfram mathworld: Cone-Sphere intersection," [On-□ line]. Available: mathworld.wolfram.com/Cone- SphereIntersection.html