Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

halimi/pathplanner

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Path planner

Path planner is a path search algorithm. It finds the most valuable path on the grid.

Usage

You can run Path planner as a cli app. It expects some inputs that you can provide as a command line parameter.

Input parameters:

Name Description
filename The filename of the grid file.
t Total number of discrete time steps.
T Maximum duration of the algorithm in milliseconds.
--start Starting position of the drone (x, y). Default is (0, 0).

How to run it:

$ python app.py filename t T --start x y

Example:

$ python app.py grid.txt 5 1000 --start 2 2
Most valuable path score and path: 44, [(2, 2), (3, 3), (4, 4), (3, 4), (4, 3), (4, 2)]

About

A pathplanner algorithm

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.