Skip to content

A pathfinding executable, using a theta* algorithm and relying on redis for communication

License

Notifications You must be signed in to change notification settings

rustyducks/NoWay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NoWay

A simple pathfinding module based on the theta* algorithm, communicating thanks to redis.

Installation

  1. Install dependencies (a valid c++ toolchain, cmake, pkg-config and hiredis)
sudo apt-get install build-essential cmake pkg-config libhiredis-dev
  1. Clone and compile
git clone https://github.com/rustyducks/NoWay.git 
cd Noway && mkdir build && cd build
cmake ..
make -j8

Usage

Run the executable : ./NoWay [redis_host] [redis_port] (default: 127.0.0.1:6379) The executable will respond to redis command, here is the common workflow:

  1. Update the dynamic obstacles: RPUSH dynamic_obstacles [xcenter],[ycenter],[radius] ...
  2. Ask a way: PUBLISH findpath xstart,ystart;xgoal,ygoal
  3. The result will be available on path: GET path -> x1,y1;x2,y2;...xn,yn;...xgoal,ygoal;

About

A pathfinding executable, using a theta* algorithm and relying on redis for communication

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published