Package | Description |
---|---|
pt.lsts.imc | |
pt.lsts.util |
Modifier and Type | Method and Description |
---|---|
static PlanSpecification |
PlanSpecification.clone(IMCMessage msg) |
static PlanSpecification |
PlanSpecification.create(java.lang.Object... values) |
PlanSpecification |
EmergencyControl.getPlan() |
PlanSpecification |
PlanSpecification.setDescription(java.lang.String description) |
PlanSpecification |
PlanSpecification.setEndActions(java.util.Collection<IMCMessage> end_actions) |
PlanSpecification |
PlanSpecification.setManeuvers(java.util.Collection<PlanManeuver> maneuvers) |
PlanSpecification |
PlanSpecification.setPlanId(java.lang.String plan_id) |
PlanSpecification |
PlanSpecification.setStartActions(java.util.Collection<IMCMessage> start_actions) |
PlanSpecification |
PlanSpecification.setStartManId(java.lang.String start_man_id) |
PlanSpecification |
PlanSpecification.setTransitions(java.util.Collection<PlanTransition> transitions) |
PlanSpecification |
PlanSpecification.setVariables(java.util.Collection<PlanVariable> variables) |
PlanSpecification |
PlanSpecification.setVnamespace(java.lang.String vnamespace) |
Modifier and Type | Method and Description |
---|---|
EmergencyControl |
EmergencyControl.setPlan(PlanSpecification plan) |
Constructor and Description |
---|
EmergencyControl(EmergencyControl.COMMAND command,
PlanSpecification plan) |
Modifier and Type | Method and Description |
---|---|
static PlanSpecification |
PlanUtilities.createPlan(java.lang.String plan_id,
float speed,
float altitude,
double[] latitudes,
double[] longitudes)
Creates a plan containing a FollowPath maneuver that goes through all provided waypoints
|
static PlanSpecification |
PlanUtilities.createPlan(java.lang.String id,
Maneuver... maneuvers)
Creates an IMC plan corresponding to given maneuver sequence
|
Modifier and Type | Method and Description |
---|---|
static java.util.Collection<double[]> |
PlanUtilities.computeLocations(PlanSpecification plan)
Given a PlanSpecification message, computes its list of WGS84 locations
|
static java.util.List<PlanUtilities.Waypoint> |
PlanUtilities.computeWaypoints(PlanSpecification plan)
This method parses an IMC plan and calculates its waypoints.
|
static java.util.List<Maneuver> |
PlanUtilities.getManeuverCycleOrSequence(PlanSpecification plan)
This method calculates the maneuver sequence present in a plan.
|
static java.util.List<Maneuver> |
PlanUtilities.getManeuverSequence(PlanSpecification plan)
This method calculates the maneuver sequence present in a plan.
|
static boolean |
PlanUtilities.isCyclic(PlanSpecification plan)
Check if Plan is Cyclic (last maneuver transits to first one)
|