public abstract class SearchTrackPlanner extends Object implements Runnable
Modifier and Type | Field and Description |
---|---|
protected Plan |
plan
Computed plan that produces the desired goal state
|
protected GeoArea |
searchArea
The geographic area that is being searched
|
protected double[] |
startPoint
Reference to the search starting point (transit waypoints should end here)
|
Constructor and Description |
---|
SearchTrackPlanner(GeoArea searchArea,
double[] startPosit)
Creates a new instance of SearchTrackPlanner
|
Modifier and Type | Method and Description |
---|---|
Plan |
getPlan()
Returns the plan that was developed by the planner
|
double |
getRunTime()
Returns the amount of time (seconds) that the planner took to run.
|
abstract void |
run()
Must implement the Runnable interface
|
void |
setRunTime(long time)
Sets the planner's run time (nanoseconds)
|
protected Plan plan
protected GeoArea searchArea
protected double[] startPoint
public SearchTrackPlanner(GeoArea searchArea, double[] startPosit)
searchArea
- geographic area that is to be searchedstartPosit
- double[2] defining the vehicle's position at the beginning of the searchpublic abstract void run()
public Plan getPlan()
public double getRunTime()
public void setRunTime(long time)
time
-