The code is now a bit of messy, I'll tide it up later.
- create a workspace, for example ~/ws/src
- in ~/ws/src/, git clone git@github.com:ZJU-FAST-Lab/std-trees.git
- in ~/ws/, run catkin_make
In two seperate terminals, in ~/ws/, source first, then:
- roslaunch state_machine rviz.launch
- roslaunch state_machine test_planners.launch
If everything goes right, you'll see sth. like the following in Rviz.
The color indications are light blue for kRRT, dark blue for kRRT-ST, yellow for kRRT*, green for kRRT*-ST, orange for kRRT#, and red for kRRT#-ST. Planning with ST deformation generates smoother trajectories with lower cost (red, green, and dark blue compared with orange, yellow, and light blue, respectively)