private static void write_missionBase(StreamWriter file, mission_base_s mission_base, int prev) { string pre = ""; for (int i = 0; i < prev; i++) { pre += " "; } file.WriteLine(pre + "name: " + mission_base.name); file.WriteLine(pre + "id: " + mission_base.id.ToString()); file.WriteLine(pre + "type: " + mission_base.type.ToString()); file.WriteLine(pre + "frame_id: " + mission_base.fr_id.ToString()); }
public float windDirAngle; // wind direction in degrees, 0Β° = from north to south public mission_as_s(mission_base_s mi_base, int subdivision, float windDirAngle) { this.mission_base = mi_base; this.subdivision = subdivision; this.windDirAngle = windDirAngle; }
public mission_tr_s(mission_base_s mi_base, buoy_s startLine_B1, buoy_s startLine_B2, buoy_s course_B1, buoy_s course_B2, buoy_s finishLine_B1, buoy_s finishLine_B2) { this.mission_base = mi_base; this.startLine_B1 = startLine_B1; this.startLine_B2 = startLine_B2; this.course_B1 = course_B1; this.course_B2 = course_B2; this.finishLine_B1 = finishLine_B1; this.finishLine_B2 = finishLine_B2; }
public float windDirAngle; // wind direction in degrees, 0Β° = from north to south public mission_sk_s(mission_base_s mi_base, float time, float windDirAngle) { this.mission_base = mi_base; this.time = time; this.windDirAngle = windDirAngle; }
public mission_uc_s(mission_base_s mi_base, List<waypoint_s> wp_list, List<obstacle_s> ob_list) { this.mission_base = mi_base; this.waypoints = wp_list; this.obstacles = ob_list; }