/// <summary> /// 本番コース用(R側) ShortCut /// </summary> public void SetCourceInfo_MainCource_R_ShortCut() { courceInfoContainer.Clear(); // 直線1 StraightCource straight1 = new StraightCource(); straight1.Distance = 1000; straight1.R = 9999.0; straight1.MaxSpeed = 80; straight1.IsSoner = false; straight1.IsTail = false; courceInfoContainer.Add(straight1); // カーブ1 CurveCource curvecource1 = new CurveCource(); curvecource1.Distance = 1000; curvecource1.R = 9999.0; curvecource1.MaxSpeed = 30; curvecource1.IsSoner = false; curvecource1.IsTail = false; courceInfoContainer.Add(curvecource1); // すっとばし // 直線3(第一Goal) StraightCource straight3 = new StraightCource(); straight3.Distance = 1000; straight3.R = 9999.0; straight3.MaxSpeed = 30; straight3.IsSoner = false; straight3.IsTail = false; courceInfoContainer.Add(straight3); // 直線4(第1Goal ~ 次カーブ) StraightCource straight4 = new StraightCource(); straight4.Distance = 1000; straight4.R = 9999.0; straight4.MaxSpeed = 30; straight4.IsSoner = false; straight4.IsTail = true; courceInfoContainer.Add(straight4); // カーブ4 CurveCource curvecource4 = new CurveCource(); curvecource4.Distance = 1000; curvecource4.R = 9999.0; curvecource4.MaxSpeed = 30; curvecource4.IsSoner = false; curvecource4.IsTail = true; courceInfoContainer.Add(curvecource4); // 直線5 (~ フィギュアLまで) StraightCource straight5 = new StraightCource(); straight5.Distance = 1000; straight5.R = 9999.0; straight5.MaxSpeed = 30; straight5.IsSoner = false; straight5.IsTail = true; courceInfoContainer.Add(straight5); // フィギュアL FigureLCource figureL = new FigureLCource(); figureL.Distance = 1000; figureL.R = 9999.0; figureL.MaxSpeed = 30; figureL.IsSoner = false; figureL.IsTail = true; courceInfoContainer.Add(figureL); // 直線6 StraightCource straight6 = new StraightCource(); straight6.Distance = 1000; straight6.R = 9999.0; straight6.MaxSpeed = 30; straight6.IsSoner = false; straight6.IsTail = true; courceInfoContainer.Add(straight6); // カーブ5 CurveCource curvecource5 = new CurveCource(); curvecource5.Distance = 1000; curvecource5.R = 9999.0; curvecource5.MaxSpeed = 30; curvecource5.IsSoner = false; curvecource5.IsTail = false; courceInfoContainer.Add(curvecource5); // 直線7 (~ 駐車) StraightCource straight7 = new StraightCource(); straight7.Distance = 1000; straight7.R = 9999.0; straight7.MaxSpeed = 30; straight7.IsSoner = false; straight7.IsTail = true; courceInfoContainer.Add(straight7); // 駐車 GarageInCource garageIn = new GarageInCource(); garageIn.Distance = 1000; garageIn.R = 9999.0; garageIn.MaxSpeed = 30; garageIn.IsSoner = false; garageIn.IsTail = true; courceInfoContainer.Add(garageIn); }
/// <summary> /// 本番コース用(L側) /// </summary> public void SetCourceInfo_MainCource_L() { courceInfoContainer.Clear(); // 直線1 StraightCource straight1 = new StraightCource(); straight1.Distance = 1000; straight1.R = 9999.0; straight1.MaxSpeed = 80; straight1.IsSoner = false; straight1.IsTail = false; courceInfoContainer.Add(straight1); // カーブ1 CurveCource curvecource1 = new CurveCource(); curvecource1.Distance = 1000; curvecource1.R = 9999.0; curvecource1.MaxSpeed = 30; curvecource1.IsSoner = false; curvecource1.IsTail = false; courceInfoContainer.Add(curvecource1); // 直線2 StraightCource straight2 = new StraightCource(); straight2.Distance = 1000; straight2.R = 9999.0; straight2.MaxSpeed = 80; straight2.IsSoner = false; straight2.IsTail = false; courceInfoContainer.Add(straight2); // カーブ2 CurveCource curvecource2 = new CurveCource(); curvecource2.Distance = 1000; curvecource2.R = 9999.0; curvecource2.MaxSpeed = 30; curvecource2.IsSoner = false; curvecource2.IsTail = false; courceInfoContainer.Add(curvecource2); // カーブ3 CurveCource curvecource3 = new CurveCource(); curvecource3.Distance = 1000; curvecource3.R = 9999.0; curvecource3.MaxSpeed = 30; curvecource3.IsSoner = false; curvecource3.IsTail = false; courceInfoContainer.Add(curvecource3); // 直線3(灰色線 ~ 第一Goal) StraightCource straight3 = new StraightCource(); straight3.Distance = 1000; straight3.R = 9999.0; straight3.MaxSpeed = 80; straight3.IsSoner = false; straight3.IsTail = false; courceInfoContainer.Add(straight3); // 直線4(第1Goal ~ くぐり[灰色線]) StraightCource straight4 = new StraightCource(); straight4.Distance = 1000; straight4.R = 9999.0; straight4.MaxSpeed = 80; straight4.IsSoner = false; straight4.IsTail = true; courceInfoContainer.Add(straight4); // くぐり ThroughGateCource throughGate = new ThroughGateCource(); throughGate.Distance = 1000; throughGate.R = 9999.0; throughGate.MaxSpeed = 20; throughGate.IsSoner = false; throughGate.IsTail = true; courceInfoContainer.Add(throughGate); // 直線5 (くぐり ~ 駐車[灰色線]) StraightCource straight5 = new StraightCource(); straight5.Distance = 1000; straight5.R = 9999.0; straight5.MaxSpeed = 80; straight5.IsSoner = false; straight5.IsTail = false; courceInfoContainer.Add(straight5); // 駐車 GarageInCource garageIn = new GarageInCource(); garageIn.Distance = 1000; garageIn.R = 9999.0; garageIn.MaxSpeed = 30; garageIn.IsSoner = false; garageIn.IsTail = true; courceInfoContainer.Add(garageIn); }
/// <summary> /// テストコース用 /// </summary> /// <remarks> /// ライントレースに沿った距離情報 /// </remarks> public void SetCourceInfo_TestCource_OnLineTrace() { courceInfoContainer.Clear(); // 直線1 StraightCource straight1 = new StraightCource(); straight1.Distance = 500; straight1.R = 9999.0; straight1.MaxSpeed = 50; straight1.IsSoner = false; straight1.IsTail = false; courceInfoContainer.Add(straight1); // カーブ1 CurveCource curvecource1 = new CurveCource(); curvecource1.Distance = 100; curvecource1.R = 9999.0; curvecource1.MaxSpeed = 30; curvecource1.IsSoner = false; curvecource1.IsTail = false; courceInfoContainer.Add(curvecource1); // 直線2 StraightCource straight2 = new StraightCource(); straight2.Distance = 500; straight2.R = 9999.0; straight2.MaxSpeed = 80; straight2.IsSoner = false; straight2.IsTail = false; courceInfoContainer.Add(straight2); // カーブ2 CurveCource curvecource2 = new CurveCource(); curvecource2.Distance = 100; curvecource2.R = 9999.0; curvecource2.MaxSpeed = 30; curvecource2.IsSoner = false; curvecource2.IsTail = false; courceInfoContainer.Add(curvecource2); // カーブ3 CurveCource curvecource3 = new CurveCource(); curvecource3.Distance = 100; curvecource3.R = 9999.0; curvecource3.MaxSpeed = 30; curvecource3.IsSoner = false; curvecource3.IsTail = false; courceInfoContainer.Add(curvecource3); // 直線3 StraightCource straight3 = new StraightCource(); straight3.Distance = 500; straight3.R = 9999.0; straight3.MaxSpeed = 80; straight3.IsSoner = false; straight3.IsTail = false; courceInfoContainer.Add(straight3); // カーブ4 CurveCource curvecource4 = new CurveCource(); curvecource4.Distance = 100; curvecource4.R = 9999.0; curvecource4.MaxSpeed = 30; curvecource4.IsSoner = false; curvecource4.IsTail = false; courceInfoContainer.Add(curvecource4); // 直線4(~ 元の位置に) StraightCource straight4 = new StraightCource(); straight4.Distance = 500; straight4.R = 9999.0; straight4.MaxSpeed = 80; straight4.IsSoner = false; straight4.IsTail = false; courceInfoContainer.Add(straight4); }