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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file commonroad-route-planner-2022.3.tar.gz.

File metadata

File hashes

Hashes for commonroad-route-planner-2022.3.tar.gz
Algorithm Hash digest
SHA256 eaefb365db8ac4692b1f18eb2cfea3c757acb7b973d58ad94feb809cfebd8897
MD5 d2169753608afe07e849c2a9bbe7df97
BLAKE2b-256 3a3619446f976d23a8edc8d04fba108f0fe65814fab45136a6e62ca31ed45d48

See more details on using hashes here.

File details

Details for the file commonroad_route_planner-2022.3-py3-none-any.whl.

File metadata

File hashes

Hashes for commonroad_route_planner-2022.3-py3-none-any.whl
Algorithm Hash digest
SHA256 5eb5147d144df74b245028aa02f78fa6f298ae185294281f752355686281da65
MD5 58f113fdc061280d0904e22a58fdf9c0
BLAKE2b-256 58a386ffb4daac4eecd45d00e19b8f9f95fce708eab6c732dd054edaf8311215

See more details on using hashes here.

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