Example #1
0
 public Mission(Mission _Mission)
 {
     id                      = 0;
     name                    = _Mission.name;
     unedited                = _Mission.unedited;
     active                  = _Mission.active;
     air_drop_pos            = new GPS_Position(_Mission.air_drop_pos);
     emergent_last_known_pos = new GPS_Position(_Mission.emergent_last_known_pos);
     fly_zones               = new List <FlyZone>(_Mission.fly_zones);
     home_pos                = new GPS_Position(_Mission.home_pos);
     mission_waypoints       = new List <Waypoint>(_Mission.mission_waypoints);
     all_waypoints           = new List <Waypoint>(_Mission.all_waypoints);
     off_axis_target_pos     = new GPS_Position(_Mission.off_axis_target_pos);
     search_grid_points      = new List <Waypoint>(_Mission.search_grid_points);
 }
Example #2
0
        //SRIC removed for AUVSI 2017
        //public GPS_Position sric_pos { get; set; }

        public Mission()
        {
            id                      = 0;
            name                    = "New Mission";
            unedited                = true;
            active                  = false;
            air_drop_pos            = new GPS_Position();
            emergent_last_known_pos = new GPS_Position();
            fly_zones               = new List <FlyZone>();
            fly_zones.Add(new FlyZone());
            home_pos            = new GPS_Position();
            mission_waypoints   = new List <Waypoint>();
            all_waypoints       = new List <Waypoint>();
            off_axis_target_pos = new GPS_Position();
            search_grid_points  = new List <Waypoint>();
        }
Example #3
0
 public GPS_Position(GPS_Position _GPS_Position)
 {
     latitude  = _GPS_Position.latitude;
     longitude = _GPS_Position.longitude;
 }