Skip to content

Bastiantheone/DStarLite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

DStarLite

D* Lite implementation in C#

What is D* Lite

D* Lite is a dynamic version of A*. It dynamically finds the shortest path to the goal.

Uses of This Implementation

To navigate a robot to some goal coordinates, when the map gets explored as the robot moves. The map needs to be able to be represented as a grid with navigable and unnavigable terrain. The robot is able to move forwards, backwards and to the sides. It is not able to move diagonal. To allow diagonal movements or to add different cost to different movements some simple changes to the code need to be made. This implementation is made for a 100x100 plane. To change the size simply change the size of the State array in Initialize.

How to Use it

Create a class that inherits the DStarLiteEnvironment interface. This class is responsible for the interaction between the environment and the algorithm. It has two methods MoveTo and GetObjectsInVision which are pretty self-explanatory. Then call RunDStarLite(StartX, StartY, GoalX, GoalY, EnvironmentClass). See TestProgram.cs for an example.

About

D* Lite implementation in C#

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages