|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectGlobalNavigation.CSpace
public class CSpace
Simple configuration space.
Each real obstacle is expanded to a CS obstacle by computing the convex hull of the Minkowski sum of the real obstacle and a square circumscribed on the robot bounding disc.
Field Summary | |
---|---|
protected java.util.LinkedList<PolygonObstacle> |
obstacles
The CS obstacles. |
Constructor Summary | |
---|---|
CSpace(java.util.List<PolygonObstacle> realObstacles,
double robotRadius)
Compute a new CSpace. |
Method Summary | |
---|---|
java.util.List<PolygonObstacle> |
getObstacles()
Get obstacles . |
protected PolygonObstacle |
makeCSObstacle(PolygonObstacle realObstacle,
double robotRadius)
Make a CS obstacle. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.util.LinkedList<PolygonObstacle> obstacles
The CS obstacles.
Constructor Detail |
---|
public CSpace(java.util.List<PolygonObstacle> realObstacles, double robotRadius)
Compute a new CSpace.
realObstacles
- the set of real obstaclesrobotRadius
- the robot disc radiusMethod Detail |
---|
public java.util.List<PolygonObstacle> getObstacles()
Get obstacles
.
obstacles
protected PolygonObstacle makeCSObstacle(PolygonObstacle realObstacle, double robotRadius)
Make a CS obstacle.
realObstacle
- the corresp real obstaclerobotRadius
- the robot bounding disc radius (m)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |