@@ -16,8 +16,6 @@ const (
1616 // CBiRRT indicates that a CBiRRTMotionPlanner should be used. This is currently the
1717 // default motion planner.
1818 CBiRRT PlanningAlgorithm = "cbirrt"
19- // RRTStar indicates that an RRTStarConnectMotionPlanner should be used.
20- RRTStar PlanningAlgorithm = "rrtstar"
2119 // TPSpace indicates that TPSpaceMotionPlanner should be used.
2220 TPSpace PlanningAlgorithm = "tpspace"
2321 // UnspecifiedAlgorithm indicates that the use of our motion planning will accept whatever defaults the package
@@ -28,9 +26,8 @@ const (
2826// AlgorithmSettings is a polymorphic representation of motion planning algorithms and their parameters. The `Algorithm`
2927// should correlate with the available options (e.g. if `Algorithm` us CBiRRT, RRTStarOpts should be nil and CBirrtOpts should not).
3028type AlgorithmSettings struct {
31- Algorithm PlanningAlgorithm `json:"algorithm"`
32- CBirrtOpts * cbirrtOptions `json:"cbirrt_settings"`
33- RRTStarOpts * rrtStarConnectOptions `json:"rrtstar_settings"`
29+ Algorithm PlanningAlgorithm `json:"algorithm"`
30+ CBirrtOpts * cbirrtOptions `json:"cbirrt_settings"`
3431}
3532
3633// move back to cBiRRT.go when motionplan is taken out of RDK.
@@ -42,15 +39,6 @@ type cbirrtOptions struct {
4239 qstep map [string ][]float64
4340}
4441
45- // move back to rrtStarConnect.go when motionplan is taken out of RDK.
46- type rrtStarConnectOptions struct {
47- // The number of nearest neighbors to consider when adding a new sample to the tree
48- NeighborhoodSize int `json:"neighborhood_size"`
49-
50- // This is how far rrtStarConnect will try to extend the map towards a goal per-step
51- qstep map [string ][]float64
52- }
53-
5442type plannerConstructor func (
5543 * referenceframe.FrameSystem ,
5644 * rand.Rand ,
@@ -71,8 +59,6 @@ func newMotionPlanner(
7159 switch opt .PlanningAlgorithm () {
7260 case CBiRRT :
7361 return newCBiRRTMotionPlanner (fs , seed , logger , opt , constraintHandler , chains )
74- case RRTStar :
75- return newRRTStarConnectMotionPlanner (fs , seed , logger , opt , constraintHandler , chains )
7662 case TPSpace :
7763 return newTPSpaceMotionPlanner (fs , seed , logger , opt , constraintHandler , chains )
7864 case UnspecifiedAlgorithm :
0 commit comments