git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@1927 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 0a05b1630a2255fbc39af7fed6a8a1dd2d09e158
Former-commit-id: 5d43325f33295f03c7b387603d056f4722714abe
This commit is contained in:
wdbee 2009-12-03 21:37:16 +00:00
parent e314146e61
commit 27766d35ed
20 changed files with 313 additions and 28 deletions

View file

@ -0,0 +1,29 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!--
file : alpine-1.xml
created : 01 Dec 2007
last modified : 03 Dec 2009
copyright : (C) 2007-2009 Wolf-Dieter Beelitz
SIMPLIX TRB1 - CAR1-TRB1
-->
<!-- This program is free software; you can redistribute it and/or modify -->
<!-- it under the terms of the GNU General Public License as published by -->
<!-- the Free Software Foundation; either version 2 of the License, or -->
<!-- (at your option) any later version. -->
<!DOCTYPE params SYSTEM "../../../src/libs/tgf/params.dtd">
<params name="car1-trb1" type="template" mode="mw">
<section name="Rear Anti-Roll Bar">
<attnum name="spring" unit="lbs/in" min="0" max="5000" val="500"/>
</section>
<section name="Rear Right Suspension">
<attnum name="spring" unit="lbs/in" min="0" max="10000" val="3500"/>
</section>
<section name="Rear Left Suspension">
<attnum name="spring" unit="lbs/in" min="0" max="10000" val="3500"/>
</section>
<section name="simplix private">
<attnum name="scale bump" min="0" max="1" val="0.2"/>
<attnum name="scale bump outer" min="0" max="2" val="0.3"/>
</section>
</params>

View file

@ -0,0 +1,19 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!--
file : e-track-4.xml
created : 01 Dec 2007
last modified : 03 Dec 2009
copyright : (C) 2007-2009 Wolf-Dieter Beelitz
SIMPLIX TRB1 - CAR1-TRB1
-->
<!-- This program is free software; you can redistribute it and/or modify -->
<!-- it under the terms of the GNU General Public License as published by -->
<!-- the Free Software Foundation; either version 2 of the License, or -->
<!-- (at your option) any later version. -->
<!DOCTYPE params SYSTEM "../../../src/libs/tgf/params.dtd">
<params name="car1-trb1" type="template" mode="mw">
<section name="Rear Differential">
<attnum name="ratio" min="0" max="10" val="3.25"/>
</section>
</params>

View file

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!--
file : Corkscrew.xml
created : 28 Mar 2008
last modified : 03 Dec 2009
copyright : (C) 2008-2009 Wolf-Dieter Beelitz; Jürgen Schüssler
-->
<!-- This program is free software; you can redistribute it and/or modify -->
<!-- it under the terms of the GNU General Public License as published by -->
<!-- the Free Software Foundation; either version 2 of the License, or -->
<!-- (at your option) any later version. -->
<!DOCTYPE params SYSTEM "../../../src/libs/tgf/params.dtd">
<params name="car2-trb1" type="template" mode="mw">
<section name="Front Wing">
<attnum name="angle" unit="deg" min="0" max="12" val="12"/>
</section>
<section name="Rear Wing">
<attnum name="angle" unit="deg" min="0" max="18" val="18"/>
</section>
<section name="Rear Anti-Roll Bar">
<attnum name="spring" unit="lbs/in" min="0" max="5000" val="1000"/>
</section>
</params>

View file

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!--
file : alpine-1.xml
created : 28 Mar 2008
last modified : 03 Dec 2009
copyright : (C) 2008-2009 Wolf-Dieter Beelitz; Jürgen Schüssler
-->
<!-- This program is free software; you can redistribute it and/or modify -->
<!-- it under the terms of the GNU General Public License as published by -->
<!-- the Free Software Foundation; either version 2 of the License, or -->
<!-- (at your option) any later version. -->
<!DOCTYPE params SYSTEM "../../../src/libs/tgf/params.dtd">
<params name="car2-trb1" type="template" mode="mw">
<section name="Rear Anti-Roll Bar">
<attnum name="spring" unit="lbs/in" min="0" max="5000" val="1000"/>
</section>
<section name="Rear Right Suspension">
<attnum name="spring" unit="lbs/in" min="0" max="10000" val="4000"/>
</section>
<section name="Rear Left Suspension">
<attnum name="spring" unit="lbs/in" min="0" max="10000" val="4000"/>
</section>
</params>

View file

@ -56,7 +56,7 @@
<attnum name="bellcrank" min="1" max="5" val="2.5"/>
</section>
<section name="Rear Anti-Roll Bar">
<attnum name="spring" unit="lbs/in" min="0" max="5000" val="2000"/>
<attnum name="spring" unit="lbs/in" min="0" max="5000" val="1000"/>
<attnum name="suspension course" unit="m" min="0" max="0.2" val="0.2"/>
<attnum name="bellcrank" min="1" max="5" val="2.5"/>
</section>

View file

@ -0,0 +1,17 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!--
file : e-track-4.xml
created : 28 Mar 2008
last modified : 03 Dec 2009
copyright : (C) 2008-2009 Wolf-Dieter Beelitz; Jürgen Schüssler
-->
<!-- This program is free software; you can redistribute it and/or modify -->
<!-- it under the terms of the GNU General Public License as published by -->
<!-- the Free Software Foundation; either version 2 of the License, or -->
<!-- (at your option) any later version. -->
<!DOCTYPE params SYSTEM "../../../src/libs/tgf/params.dtd">
<params name="car2-trb1" type="template" mode="mw">
<section name="Rear Differential">
<attnum name="ratio" min="0" max="10" val="2.95"/>
</section>
</params>

View file

@ -0,0 +1,18 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!--
file : e-track-4.xml
created : 28 Mar 2008
last modified : 03 Dec 2009
copyright : (C) 2008-2009 Wolf-Dieter Beelitz; Jürgen Schüssler
-->
<!-- This program is free software; you can redistribute it and/or modify -->
<!-- it under the terms of the GNU General Public License as published by -->
<!-- the Free Software Foundation; either version 2 of the License, or -->
<!-- (at your option) any later version. -->
<!DOCTYPE params SYSTEM "../../../src/libs/tgf/params.dtd">
<params name="car3-trb1" type="template" mode="mw">
<section name="Rear Differential">
<attnum name="ratio" min="0" max="10" val="2.95"/>
</section>
</params>

View file

@ -0,0 +1,18 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!--
file : e-track-4.xml
created : 28 Mar 2008
last modified : 03 Dec 2009
copyright : (C) 2008-2009 Wolf-Dieter Beelitz; Jürgen Schüssler
-->
<!-- This program is free software; you can redistribute it and/or modify -->
<!-- it under the terms of the GNU General Public License as published by -->
<!-- the Free Software Foundation; either version 2 of the License, or -->
<!-- (at your option) any later version. -->
<!DOCTYPE params SYSTEM "../../../src/libs/tgf/params.dtd">
<params name="car4-trb1" type="template" mode="mw">
<section name="Rear Differential">
<attnum name="ratio" min="0" max="10" val="2.95"/>
</section>
</params>

View file

@ -0,0 +1,36 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!--
file : default.xml
created : 28 Mar 2008
last modified : 26 Nov 2008
copyright : (C) 2008 Wolf-Dieter Beelitz; Jürgen Schüssler
-->
<!-- This program is free software; you can redistribute it and/or modify -->
<!-- it under the terms of the GNU General Public License as published by -->
<!-- the Free Software Foundation; either version 2 of the License, or -->
<!-- (at your option) any later version. -->
<!DOCTYPE params SYSTEM "../../../src/libs/tgf/params.dtd">
<params name="car5-trb1" type="template" mode="mw">
<section name="Front Wing">
<attnum name="angle" unit="deg" min="0" max="11" val="11"/>
</section>
<section name="Rear Wing">
<attnum name="angle" unit="deg" min="0" max="16" val="16"/>
</section>
<section name="Front Anti-Roll Bar">
<attnum name="spring" unit="lbs/in" min="0" max="5000" val="1000"/>
</section>
<section name="Front Right Suspension">
<attnum name="spring" min="0" max="10000" unit="lbs/in" val="3500"/>
</section>
<section name="Front Left Suspension">
<attnum name="spring" min="0" max="10000" unit="lbs/in" val="3500"/>
</section>
<section name="Rear Right Suspension">
<attnum name="spring" min="0" max="10000" unit="lbs/in" val="3000"/>
</section>
<section name="Rear Left Suspension">
<attnum name="spring" min="0" max="10000" unit="lbs/in" val="3000"/>
</section>
</params>

View file

@ -0,0 +1,18 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!--
file : e-track-4.xml
created : 28 Mar 2008
last modified : 03 Dec 2009
copyright : (C) 2008-2009 Wolf-Dieter Beelitz; Jürgen Schüssler
-->
<!-- This program is free software; you can redistribute it and/or modify -->
<!-- it under the terms of the GNU General Public License as published by -->
<!-- the Free Software Foundation; either version 2 of the License, or -->
<!-- (at your option) any later version. -->
<!DOCTYPE params SYSTEM "../../../src/libs/tgf/params.dtd">
<params name="car5-trb1" type="template" mode="mw">
<section name="Rear Differential">
<attnum name="ratio" min="0" max="10" val="4.0"/>
</section>
</params>

View file

@ -0,0 +1,40 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!--
file : default.xml
created : 01 Dec 2007
last modified : 26 Nov 2008
copyright : (C) 2007-2008 Wolf-Dieter Beelitz
SIMPLIX TRB1A - CAR6-TRB1
-->
<!-- This program is free software; you can redistribute it and/or modify -->
<!-- it under the terms of the GNU General Public License as published by -->
<!-- the Free Software Foundation; either version 2 of the License, or -->
<!-- (at your option) any later version. -->
<!DOCTYPE params SYSTEM "../../../src/libs/tgf/params.dtd">
<params name="car6-trb1" type="template" mode="mw">
<section name="Front Wing">
<attnum name="angle" unit="deg" min="0" max="12" val="12"/>
</section>
<section name="Rear Wing">
<attnum name="angle" unit="deg" min="0" max="17" val="17"/>
</section>
<section name="Front Anti-Roll Bar">
<attnum name="spring" unit="lbs/in" min="0" max="5000" val="1000"/>
</section>
<section name="Rear Anti-Roll Bar">
<attnum name="spring" unit="lbs/in" min="0" max="5000" val="600"/>
</section>
<section name="Front Right Suspension">
<attnum name="spring" unit="lbs/in" min="0" max="10000" val="3200"/>
</section>
<section name="Front Left Suspension">
<attnum name="spring" unit="lbs/in" min="0" max="10000" val="3200"/>
</section>
<section name="Rear Right Suspension">
<attnum name="spring" unit="lbs/in" min="0" max="10000" val="3500"/>
</section>
<section name="Rear Left Suspension">
<attnum name="spring" unit="lbs/in" min="0" max="10000" val="3500"/>
</section>
</params>

View file

@ -0,0 +1,19 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!--
file : e-track-4.xml
created : 01 Dec 2007
last modified : 03 Dec 2009
copyright : (C) 2007-2009 Wolf-Dieter Beelitz
SIMPLIX TRB1A - CAR6-TRB1
-->
<!-- This program is free software; you can redistribute it and/or modify -->
<!-- it under the terms of the GNU General Public License as published by -->
<!-- the Free Software Foundation; either version 2 of the License, or -->
<!-- (at your option) any later version. -->
<!DOCTYPE params SYSTEM "../../../src/libs/tgf/params.dtd">
<params name="car6-trb1" type="template" mode="mw">
<section name="Rear Differential">
<attnum name="ratio" min="0" max="10" val="3.15"/>
</section>
</params>

View file

@ -0,0 +1,19 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!--
file : e-track-4.xml
created : 01 Dec 2007
last modified : 03 Dec 2009
copyright : (C) 2007-2009 Wolf-Dieter Beelitz
SIMPLIX TRB1 - CAR7-TRB1
-->
<!-- This program is free software; you can redistribute it and/or modify -->
<!-- it under the terms of the GNU General Public License as published by -->
<!-- the Free Software Foundation; either version 2 of the License, or -->
<!-- (at your option) any later version. -->
<!DOCTYPE params SYSTEM "../../../src/libs/tgf/params.dtd">
<params name="car7-trb1" type="template" mode="mw">
<section name="Rear Differential">
<attnum name="ratio" min="0" max="10" val="4.0"/>
</section>
</params>

View file

@ -23,10 +23,10 @@
<attnum name="pit long offset" min="-5" max="5" val="0.0"/>
<attnum name="pit scale brake" val="1.0"/>
<attnum name="pit stop dist" val="1.5"/>
<attnum name="scale_mu" min="0.1" max="2.0" val="0.85"/>
<attnum name="scale bump" min="0" max="1" val="0.30"/>
<attnum name="scale bump outer" min="0" max="2" val="0.50"/>
<attnum name="offset skill" val="0.00"/>
<attnum name="scale_mu" min="0.1" max="2.0" val="0.9"/>
<attnum name="scale bump" min="0" max="1" val="0.25"/>
<attnum name="scale bump outer" min="0" max="2" val="0.40"/>
<attnum name="offset skill" val="0.10"/>
<attnum name="scale skill" val="1.0"/>
</section>
</params>

View file

@ -2,7 +2,7 @@
<!--
file : alpine-1.xml
created : 28 Mar 2008
last modified : 29 Nov 2009
last modified : 03 Dec 2009
copyright : (C) 2008-2009 Wolf-Dieter Beelitz
-->
<!-- This program is free software; you can redistribute it and/or modify -->
@ -23,11 +23,11 @@
<attnum name="pit long offset" min="-5" max="5" val="0.0"/>
<attnum name="pit scale brake" val="0.70"/>
<attnum name="pit stop dist" val="1.50"/>
<attnum name="scale_mu" min="0.1" max="2.0" val="1.0"/>
<attnum name="scale_mu" min="0.1" max="2.0" val="0.85"/>
<attnum name="scale bump" min="0" max="1" val="0.20"/>
<attnum name="scale bump outer" min="0" max="2" val="0.30"/>
<attnum name="lookaheadfactor" min="0.0" max="0.5" val="0.03"/>
<attnum name="offset skill" val="0.15"/>
<attnum name="offset skill" val="0.1"/>
<attnum name="scale skill" val="1.0"/>
</section>
</params>

View file

@ -2,7 +2,7 @@
<!--
file : alpine-2.xml
created : 28 Mar 2008
last modified : 29 Nov 2009
last modified : 03 Dec 2009
copyright : (C) 2008-2009 Wolf-Dieter Beelitz
-->
<!-- This program is free software; you can redistribute it and/or modify -->
@ -23,10 +23,10 @@
<attnum name="pit long offset" min="-5" max="5" val="0.0"/>
<attnum name="pit scale brake" val="1.0"/>
<attnum name="pit stop dist" val="1.5"/>
<attnum name="scale_mu" min="0.1" max="2.0" val="0.90"/>
<attnum name="scale bump" min="0" max="1" val="0.30"/>
<attnum name="scale bump outer" min="0" max="2" val="0.40"/>
<attnum name="offset skill" val="0.00"/>
<attnum name="scale skill" val="1.00"/>
<attnum name="scale_mu" min="0.1" max="2.0" val="0.95"/>
<attnum name="scale bump" min="0" max="1" val="0.25"/>
<attnum name="scale bump outer" min="0" max="2" val="0.35"/>
<attnum name="offset skill" val="0.0"/>
<attnum name="scale skill" val="1.25"/>
</section>
</params>

View file

@ -2,7 +2,7 @@
<!--
file : e-track-1.xml
created : 28 Mar 2008
last modified : 29 Nov 2009
last modified : 03 Dec 2009
copyright : (C) 2008-2009 Wolf-Dieter Beelitz
-->
<!-- This program is free software; you can redistribute it and/or modify -->
@ -24,10 +24,10 @@
<attnum name="pit scale brake" val="1.0"/>
<attnum name="pit stop dist" val="1.5"/>
<attnum name="scale_mu" min="0.1" max="2.0" val="0.90"/>
<attnum name="scale bump" min="0" max="1" val="0.10"/>
<attnum name="scale bump outer" min="0" max="2" val="0.20"/>
<attnum name="scale bump" min="0" max="1" val="0.05"/>
<attnum name="scale bump outer" min="0" max="2" val="0.2100"/>
<attnum name="lookaheadfactor" min="0.0" max="0.5" val="0.10"/>
<attnum name="offset skill" val="0.00"/>
<attnum name="scale skill" val="1.0"/>
<attnum name="offset skill" val="0.10"/>
<attnum name="scale skill" val="0.80"/>
</section>
</params>

View file

@ -2,7 +2,7 @@
<!--
file : e-track-2.xml
created : 28 Mar 2008
last modified : 29 Nov 2009
last modified : 03 Dec 2009
copyright : (C) 2008-2009 Wolf-Dieter Beelitz
-->
<!-- This program is free software; you can redistribute it and/or modify -->
@ -30,6 +30,6 @@
<attnum name="scale bump outer" min="0" max="2" val="0.01"/>
<attnum name="lookaheadfactor" min="0.0" max="0.5" val="0.10"/>
<attnum name="offset skill" val="0.00"/>
<attnum name="scale skill" val="1.0"/>
<attnum name="scale skill" val="0.90"/>
</section>
</params>

View file

@ -23,11 +23,11 @@
<attnum name="pit long offset" min="-5" max="5" val="0.0"/>
<attnum name="pit scale brake" val="1.0"/>
<attnum name="pit stop dist" val="1.5"/>
<attnum name="scale_mu" min="0.1" max="2.0" val="0.90"/>
<attnum name="scale_mu" min="0.1" max="2.0" val="0.85"/>
<attnum name="scale bump" min="0" max="1" val="0.40"/>
<attnum name="scale bump outer" min="0" max="2" val="0.80"/>
<attnum name="lookaheadfactor" min="0.0" max="0.5" val="0.20"/>
<attnum name="offset skill" val="0.00"/>
<attnum name="scale skill" val="1.00"/>
<attnum name="scale skill" val="0.5"/>
</section>
</params>

View file

@ -9,7 +9,7 @@
//
// File : unitclothoid.cpp
// Created : 2007.11.25
// Last changed : 2009.02.13
// Last changed : 2009.12.03
// Copyright : © 2007-2009 Wolf-Dieter Beelitz
// eMail : wdb@wdbee.de
// Version : 2.00.000
@ -558,6 +558,7 @@ void TClothoidLane::OptimisePath
TPathPt* L4 = &oPathPoints[0];
TPathPt* L5 = &oPathPoints[Step];
TPathPt* L6 = &oPathPoints[2 * Step];
TPathPt* LFly;
// Go forwards
int K = 3 * Step;
@ -571,20 +572,25 @@ void TClothoidLane::OptimisePath
L4 = L5;
L5 = L6;
L6 = &oPathPoints[K];
LFly = L3;
int Index = (K + Count - 3 * Step) % Count;
double Factor = 1.016f;
if (BumpMod == 2 && L3->FlyHeight > 0.1)
if (LFly->FlyHeight > 0.035)
{
Optimise(Factor/100, L3, L0, L1, L2, L4, L5, L6, BumpMod);
}
else if (BumpMod == 2 && L3->FlyHeight > 0.1)
{
//GfOut("OptimiseLine Index: %d\n",Index);
OptimiseLine(Index, Step, 0.1, L3, L2, L4);
}
else
{
// Optimise(1.015, L3, L0, L1, L2, L4, L5, L6, BumpMod);
Optimise(1.016, L3, L0, L1, L2, L4, L5, L6, BumpMod);
Optimise(Factor, L3, L0, L1, L2, L4, L5, L6, BumpMod);
}
//K = (K + Step) % Count;
K += Step;
if (K >= Count)
K = 0;