The srl_global_planner
ROS
package provides an implementation of the sampling based motion planners (RRT
, RRT*
, Theta*-RRT
) as global planner plugin for move_base
, a ROS
framework. Please refer to http://wiki.ros.org/move_base, for a detailed description of the move_base
framework.
All the algorithms exploit the POSQ steer function, but other steer functions are available (single and double integrator, Dubins curve).
For additional info regarding the POSQ steer function and the learned distance metric used by srl_global_planner
refer to the following papers:
Clone the package into you catkin workspace
cd [workspace]/src
git clone https://github.com/srl-freiburg/srl_global_planner.git
cd ../
catkin_make
or catkin build
TYPE_PLANNER
, set to:RRT
RRT*
only partial rewiringRRT*
NUMBER_UPDATE_TRAJ
, set to:BOX
:RADIUS
:RRT*
select -1 so to have the RRT*
shrinking ball.RHO
:DT
:TYPE_SAMPLING
:TYPE_SAMPLING
== 0 support set as uniform over a strips following a discrete path generate by a Theta*
algorithmTYPE_SAMPLING
== 1 support set as Gaussian Mixture over the Theta*
pathTYPE_SAMPLING
== 2 support set as gaussians over a spline fitting the Theta*
waypointsTYPE_SAMPLING
== 3 support for Theta*-RRT
, if set need to specify the range where to set orientations OR_RANGE
and the width of the strip along the Theta*
path WIDTH_STRIP
TYPE_SAMPLING
== 4 support set as the entire state space, the dimension of the state space are read from the grid generate by the move_base frameworkTYPE_SAMPLING
== 5 Path Biasing along the current available trajectory. If used need to set also the biasing probability BIAS_PROB
and the DISPERSION
GOAL_BIASING
GOAL_BIASING_THS
ADD_COST_FROM_COSTMAP
, set to true if you want to add cost from global cost mapADD_COST_PATHLENGTH
, set to true if you want to add the cost associated to path length and changes of headingADD_COST_THETASTAR
, set to true if you want to add cost resembling closeness to thetastar pathLEARNED
and NOTLEARNED
select the best vertex from the spherical neighborhood with radius equal to the parameter RADIUS
:LEARNED
, set to 1, if you want to find the nearest vertex according to the learned costFINDNEAREST
, set to 1 if you want to find the nearest vertex according to the Kd Tree Euclidean DistanceNOTLEARNED
, set to 1 if you want to find the nearest vertex according to the cost computed over extensions of POSQ pathTIMECOUNTER
, set to 1 if you want to specify the maximum amount of seconds your planner should work.MAXTIME
, max number of seconds allowed to find a pathmax_iterations
, if TIMECOUNTER
is 0, this is the maximum number of iterations the planner will execute to find a path,Any contribution to the software is welcome. Contact the current developers for any info:
RRTx