For optimal viewing of this document (and all *.md
files), try opening it in a text editor that supports syntax highlighting for markdown *.md
files (e.g. Sublime Text 2+).
Implementation of a 2-D 2DoF manipulator configuration space visualizer, as well as implementations of a gradient descent and wavefront planner for this manipulator.
-------------------------------------------------------------------------------
Language files blank comment code
-------------------------------------------------------------------------------
Python 23 730 1582 1635
YAML 11 80 209 148
Markdown 1 21 0 28
-------------------------------------------------------------------------------
SUM: 35 831 1791 1811
-------------------------------------------------------------------------------
This repository uses python 3, which is managed with an anaconda environment.
In order to obtain all dependencies, you simply need to install anaconda for your OS, and then run from any shell with the conda
command on its path:
$(REPO_DIR_LOCATION) $ conda env create -f conda/environment.yml
To run the code:
-
Activate the
conda
environment you just created in the "Dependencies" section:$(REPO_DIR_LOCATION) $ conda activate motionPlanning2
-
Run the main python module to run all of the simulations:
$(REPO_DIR_LOCATION) $ python main.py
To change the scenarios for the c-space visualization simulation, simply modify one of the $(REPO_DIR_LOCATION)/config/cspace_XXX.yaml
files to change the robot or obstacle vertices, or to change the location of the start / goal state or the robot.
To change the scenarios for the gradient descent planning simulation, simply modify one of the $(REPO_DIR_LOCATION)/config/gradient_XXX.yaml
files to change the robot or obstacle vertices, or to change the location of the start / goal state or the robot, or to change the planner settings.
To change the scenarios for the wavefront planning simulation, simply modify one of the $(REPO_DIR_LOCATION)/config/wavefront_XXX.yaml
files to change the robot or obstacle vertices, or to change the location of the start / goal state or the robot, or to change properties of the wavefront planner.
To change the scenarios for the manipulator simulation, simply modify one of the $(REPO_DIR_LOCATION)/config/manipulator_XXX.yaml
files to change the robot or obstacle vertices, or to change the location of the start / goal state or the robot, or to change properties of the wavefront planner.