Fast motion planning algorithm implementations with hovercraft and KUKA 7-DOF arm demos in pybullet!
Custom maze builder is also supported!
- A*
- RRT
- RRT*
- Bidirectional RRT
- Kinodynamic RRT
- Bidirectional Kinodynamic RRT
- Shortcut Path Smoothing
- BVP Steering
- Fast NN query with lazy-rebuilt KD Tree
- Iterative Inverse Kinematics
- Secondary IK tasks through Jacobian null space projection
-
Clone this repo
git clone https://github.com/silvery107/kinodynamic-rrt-pybullet.git
-
Install required python packages
chmod +x install.sh ./install.sh
-
Run the hovercraft demo!
python demo.py # default to Kinodynamic RRT
Choose a different planning algorithm by setting
--algo
, choices are["RRT", "BiRRT", "KdRRT", "Astar", "BiKdRRT"]
. -
Customize your maze. Just edit the maze matrix in
maze_layout.json
and have fun. Make sure the goal (shown in green) is feasible. -
Run the KUKA iiwa arm demo!
python demo_kuka.py # default to Bidirectional RRT
Choose a different planning algorithm by setting
--algo
, choices are["RRT", "BiRRT"]
. The start and goal joint configurations are solved through iterative IK from task space positions.
demo_kuka.mp4
- BVP solver can be unstable when steering between two states with large velocities.
- Iterative IK solver can converge to sub-optimal solutions due to joint limits, singularities or different initial guesses.