The source code for the search algorithms are in the src/farrt folder.
- The current state of the art approach is RRTx. The code can be found at
rrtx2.py. - Our new variation uses potential fields to move the orphan points before they are rewired into the tree. It ccan be found at
farrtstar2.py.
- Setup the python environment
- Source the
conda/install.shscript - OR - use the requirements.txt file provided at the root of the directory
- Source the
- Run one of the following commands to see the results of a single algorithm:
python src/farrt/rrtx2.pypython src/farrt/farrtstar2.py
- Run
python main.pyto run FA-RRT* and RRTx on the same map and get a comparison.
There is unfortunately not a clean command line interface for the code. To modify the gui settings, manually change gui=True to =False in the source code.