Skip to main content

route planner for CommonRoad scenarios

Project description

CommonRoad Route Planner

The basic functionality of this package is to find sequences of lanelets (also referred to as routes) that lead from the initial lanelet(s) to the goal lanelet(s) of a given planning problem. It also works with survival scenarios (where no goal region is specified). In addition, the package generates a reference path for each of the planned route, which can be used to construct a curvilinear coordinate system at a later stage.

Supported Backends

The planner supports different backends to search for the shortest route in the scenario:

  1. NETWORKX: uses built-in functions from the networkx package, tends to change lanes later
  2. NETWORKX_REVERSED: uses built-in functions from the networkx package, tends to change lanes earlier
  3. PRIORITY_QUEUE: uses A-star search to find routes, lane change maneuver depends on the heuristic cost

Installation

To use this module, run the setup script in the root folder:

pip install .

Or simply install the dependencies listed in requirements.txt and add this repository to your python path.

Minimal Example

A tutorial notebook and an example script can be found under the tutorial/ folder.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

commonroad-route-planner-2022.3.tar.gz (19.8 kB view hashes)

Uploaded Source

Built Distribution

commonroad_route_planner-2022.3-py3-none-any.whl (23.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page