Path Planning
Most AirGen maps come with precomputed occupany maps that allow for collision-avoidant path planning. AirGen offers API for computing paths between start and goal points, and the ability to navigate smoothly through a computed safe path. Depending on whether the main robot is aerial or wheeled, AirGen switches between a 3D octree-based occupancy grid, or a 2D navmesh for path planning. Hence, for drones, AirGen computes a 3D path, and for wheeled robots, a path on the ground, such that the path avoids obstacles.- Path Planning between two points: The simPlanPath function computes a collision-free path between two points.
- Path Planning to a Random Free Point: Another functionality offered by AirGen allows for randomly sampling a free/unoccupied point and planning a path to it, which results in behaviors such as random safe exploration. This can be achieved through the
simPlanPathToRandomFreePoint()function, which takes in a search radius as the main argument.
- Navigation Extents: AirGen uses a “navigation mesh” to inform which areas of the map are navigable. It is possible to access the extents of this navigation mesh to sample points from, or to understand which parts of the map are accessible through the planning API.