Commit 01b706ed authored by Christopher Reis's avatar Christopher Reis

Added pass prediction for set hour

parent 5d79569f
......@@ -75,7 +75,19 @@ public class SatelliteTrack {
e.printStackTrace();
}
passes.toString();
return passes;
}
public List<SatPassTime> getPassesForTime(GroundStationPosition gpos,int hours){
updateSatPassPredictor(gpos);
List<SatPassTime> passes = null;
try {
passes = passPredictor.getPasses(new Date(), hours, false);
} catch (SatNotFoundException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
return passes;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment