|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MapZone
Represents a polygonal area on a map that defines certain navigation constraints, like, for example, the maximum allowed velocity.
| Method Summary | |
|---|---|
int |
getId()
Returns the id of this map zone. |
int |
getMapId()
Returns the id of the associated map. |
String |
getName()
Returns the name of this map zone. |
Polygon |
getShape()
Returns the shape of this zone as polygon. |
boolean |
isEnabled()
Returns true if this zone is enabled, false otherwise. |
boolean |
isInside(MobileRobot robot)
Returns true if the robot and its load is inside this zone, false otherwise. |
boolean |
isInside(MobileRobot robot,
boolean withLoad)
Returns true if the robot and optionally its load is inside this zone, false otherwise. |
boolean |
isInside(Pose pose)
Returns true if the pose is inside this zone, false otherwise. |
| Method Detail |
|---|
int getId()
String getName()
int getMapId()
Polygon getShape()
boolean isEnabled()
true if this zone is enabled, false otherwise. A disabled zone has no effect on
the behavior of the robots.
true if this zone is enabled, false otherwiseboolean isInside(Pose pose)
true if the pose is inside this zone, false otherwise.
pose - The pose.
true if the pose is inside this zone, false otherwise.
boolean isInside(MobileRobot robot,
boolean withLoad)
true if the robot and optionally its load is inside this zone, false otherwise.
robot - The robot.withLoad - If true then the load of the robot will be taken into account, otherwise not.
true if the robot and optionally its load is inside this zone, false otherwise.boolean isInside(MobileRobot robot)
true if the robot and its load is inside this zone, false otherwise.
robot - The robot.
true if the robot and its load is inside this zone, false otherwise.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||