uk.ac.ed.inf.sdp2012.group7.strategy.planning
Class AllStaticObjects
java.lang.Object
uk.ac.ed.inf.sdp2012.group7.strategy.planning.AllStaticObjects
public class AllStaticObjects
- extends java.lang.Object
- Author:
- s0955088
This class holds all static elements required for planning
including the grid setup, the grid is used in A* planning
It also contains the commands for running the Planning thread
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
public static final org.apache.log4j.Logger logger
worldState
public WorldState worldState
AllStaticObjects
public AllStaticObjects()
convertDoubleToNode
public double convertDoubleToNode(double d)
convertToNode
public Node convertToNode(java.awt.Point p)
convertToNodes
public java.util.ArrayList<Node> convertToNodes(java.util.ArrayList<java.awt.Point> l)
getNodeWidthInPixels
public double getNodeWidthInPixels()
getNodeHeightInPixels
public double getNodeHeightInPixels()
getPitchTopBuffer
public int getPitchTopBuffer()
getPitchLeftBuffer
public int getPitchLeftBuffer()
getHeight
public int getHeight()
getWidth
public int getWidth()
getRobotWidthInNodes
public double getRobotWidthInNodes()
getBoundary
public double getBoundary()
getTheirTopGoalPost
public Node getTheirTopGoalPost()
getTheirBottomGoalPost
public Node getTheirBottomGoalPost()
getInFrontOfOurGoal
public Node getInFrontOfOurGoal()
getInFrontOfTheirGoal
public Node getInFrontOfTheirGoal()
getCentreOfTheirGoal
public Node getCentreOfTheirGoal()
getCentreOfOurGoal
public Node getCentreOfOurGoal()
getPlanType
public int getPlanType()
setPlanType
public void setPlanType(int pT)
stopRun
public void stopRun()
startRun
public void startRun()
getRunFlag
public boolean getRunFlag()
getPitchHeight
public int getPitchHeight()
getPitchWidth
public int getPitchWidth()
getDeceleration
public double getDeceleration()
getDt
public double getDt()
getPitchBottomBuffer
public int getPitchBottomBuffer()
getPitchRightBuffer
public int getPitchRightBuffer()
getCentreToEndOfKicker
public double getCentreToEndOfKicker()
getTheirGoalNodes
public java.util.ArrayList<Node> getTheirGoalNodes()
getAngleConstant
public double getAngleConstant()
getLineConstant
public double getLineConstant()