Checker *ControllerSimpleGlider::controllerFileChecker() const {
  //! \Note Dummy
  Checker *ret = new Checker();
	ret->addProperty("speed", new NTimes(1));
	ret->addProperty("min_wp_dist", new NTimes(1));
	ret->addBlock("flight_plan", new NTimes(1));
	FlightPlan fp;
	ret->addChecker("flight_plan", fp.getFlightPlanChecker());
	return ret;
}
Ejemplo n.º 2
0
Checker* FireworksConfig::getChecker()
{
  Checker *check = CostConfig::getConfigChecker();
  
  check->addProperty("am", new NTimes(1));
  check->addProperty("bm", new NTimes(1));
  check->addProperty("mm", new NTimes(1));
  check->addProperty("m", new NTimes(1));
  
  return check;
}
Ejemplo n.º 3
0
Checker* TemporalConstrain::getChecker()
{
  Checker *check = new Checker;
  
  check->addProperty("min_time", new NTimes(1));
  check->addProperty("max_time", new NTimes(1));
  check->addProperty("updraft_id", new NTimes(1));
  check->addProperty("uav_id", new NTimes(1));
  
  return check;
}
Ejemplo n.º 4
0
Checker* CostConfig::getConfigChecker()
{
	Checker *check = new Checker;
	check->addProperty("population", new NTimes(1));
	check->addProperty("generations", new NTimes(1));
	check->addProperty("waypoint_dimension", new NTimes(1));
	check->addProperty("intermediate_waypoints", new NTimes(1));
	
	Checker *bound_checker = new Checker;
	
	bound_checker->addProperty("upper", new NTimes(1));
	bound_checker->addProperty("lower", new NTimes(1));
	
	check->addBlock("bounds", new NTimes(1));
	check->addChecker("bounds", bound_checker);
	
	Checker *cost_check = new Checker;
	cost_check->addProperty("distance", new NTimes(1));
	cost_check->addProperty("collision_penalty", new NTimes(1));
	check->addChecker("cost", cost_check);
	check->addBlock("cost", new NTimes(1));
	
	return check;
}