Package cmion.addOns.samgar.playerProxy
Class PlayerPlanner
- java.lang.Object
-
- cmion.addOns.samgar.playerProxy.PlayerPlanner
-
public class PlayerPlanner extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPlayerPlanner.CMDstatic classPlayerPlanner.DATA
-
Field Summary
Fields Modifier and Type Field Description CoordinatecurrWaypointintcurrWaypointIdbooleandonePathCoordinategoalCoordinateposebooleanupdatedbooleanvalidPathjava.util.ArrayList<Coordinate>waypointsintwaypointsCount
-
Constructor Summary
Constructors Constructor Description PlayerPlanner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidenable(yarp.Bottle b)voidsetGoal(yarp.Bottle b, Coordinate coord)voidsetReq(yarp.Bottle b, boolean goal, boolean pose, boolean curr_waypoint, boolean path, boolean waypoints)voidupdate(yarp.Bottle b)
-
-
-
Field Detail
-
goal
public Coordinate goal
-
pose
public Coordinate pose
-
currWaypoint
public Coordinate currWaypoint
-
currWaypointId
public int currWaypointId
-
validPath
public boolean validPath
-
donePath
public boolean donePath
-
waypoints
public java.util.ArrayList<Coordinate> waypoints
-
waypointsCount
public int waypointsCount
-
updated
public boolean updated
-
-
Method Detail
-
enable
public void enable(yarp.Bottle b)
-
setGoal
public void setGoal(yarp.Bottle b, Coordinate coord)
-
setReq
public void setReq(yarp.Bottle b, boolean goal, boolean pose, boolean curr_waypoint, boolean path, boolean waypoints)
-
update
public void update(yarp.Bottle b)
-
-