Fix Disconnecting autopilot causing pitch upset

This commit is contained in:
Joshua Davidson 2017-05-27 23:59:17 -04:00
parent 33e421875b
commit cee947e8e3
9 changed files with 735 additions and 15 deletions

View file

@ -0,0 +1,271 @@
AC3Db
MATERIAL "ac3dmat1.020" rgb 1 1 1 amb 0.7124 0.7124 0.7124 emis 0.7255 0.702 0.6941 spec 1 0.7765 0.6588 shi 5 trans 0
MATERIAL "ac3dmat1" rgb 1 1 1 amb 0 0 0 emis 0.658824 0.670588 0.67451 spec 0 0 0 shi 128 trans 0
MATERIAL "DefaultWhite" rgb 1 1 1 amb 1 1 1 emis 1 1 1 spec 1 1 1 shi 0 trans 0
MATERIAL "ac3dmat0" rgb 0 0 0 amb 0 0 0 emis 0 0 0 spec 0 0 0 shi 0 trans 0
OBJECT world
kids 7
OBJECT poly
name "RollPtr"
loc 0.0010518 -0.00894291 -5.45697e-011
data 10
Mesh.11512
texture "ati.png"
crease 30.000000
numvert 3
-0.0010518 0.0235783 0
-0.0010518 0.0204859 0.00174654
-0.0010518 0.0204859 -0.00174654
numsurf 1
SURF 0x10
mat 2
refs 3
2 0.271634 0.882813
0 0.250149 0.921875
1 0.224759 0.882813
kids 0
OBJECT poly
name "centerbar"
loc 2.31608e-006 -0.00181924 -0.000203798
texture "symbols.png"
crease 45.000000
numvert 4
0 0.00330199 -0.0223909
0 0.00330199 0.0227985
0 -0.00330199 0.0227985
0 -0.00330199 -0.0223909
numsurf 1
SURF 0x30
mat 1
refs 4
0 0.403727 0.933591
1 0.909275 0.933591
2 0.909275 0.783893
3 0.403727 0.783893
kids 0
OBJECT poly
name "AltTape"
loc 3.50666e-006 0.00116143 -0.000728134
data 9
Plane.012
texture "alt-tape.png"
crease 30.000000
numvert 4
0 -0.0170364 -0.0155124
0 -0.0170364 -0.0245885
0 0.0146997 -0.0245885
0 0.0146997 -0.0155124
numsurf 1
SURF 0x0
mat 2
refs 4
1 0.999999 -0.195048
2 1 0.292935
3 0.0992008 0.292935
0 0.0992001 -0.195047
kids 0
OBJECT poly
name "rect"
loc -3.50665e-006 8.08194e-011 0
crease 45.000000
numvert 4
0 -0.0237663 -0.0254416
0 -0.0237663 0.0254416
0 0.0237663 0.0254416
0 0.0237663 -0.0254416
numsurf 1
SURF 0x30
mat 3
refs 4
3 1 1
2 0 1
1 0 0
0 1 0
kids 0
OBJECT poly
name "stby-ai"
loc 0.00332995 -0.0495893 -0.109277
texture "horizon.png"
crease 45.000000
numvert 6
-0.00333038 0.033725 0.0862427
-0.00333038 0.033725 0.132312
-0.00333038 0.033725 0.125019
-0.00333064 0.0642921 0.132312
-0.00333064 0.0642921 0.0935498
-0.00333064 0.0642921 0.0862427
numsurf 2
SURF 0x30
mat 0
refs 4
4 0.559743 0.559743
2 0.440202 0.440202
0 0.5875 0.440202
5 0.5875 0.559743
SURF 0x30
mat 0
refs 4
3 0.4125 0.559743
1 0.4125 0.440202
2 0.440202 0.440202
4 0.559743 0.559743
kids 0
OBJECT poly
name "SpdTape"
loc 3.50666e-006 0.00116839 -0.00195621
data 9
Plane.014
texture "spd-tape.png"
crease 30.000000
numvert 4
0 -0.0170433 0.0273608
0 0.0146927 0.0273608
0 0.0146927 0.0189892
0 -0.0170433 0.0189892
numsurf 1
SURF 0x0
mat 2
refs 4
2 0.846756 0.190349
1 0.164308 0.190349
0 0.164307 0.0216905
3 0.846756 0.0216905
kids 0
OBJECT poly
name "Roll"
loc 0.0010518 -0.00894291 -5.45697e-011
data 8
Mesh.001
texture "ati.png"
crease 30.000000
numvert 30
-0.0010518 0.0248032 0.0121044
-0.0010518 0.0248032 -0.0152801
-0.0010518 0.0248032 0.0170378
-0.0010518 0.0248032 -0.0022592
-0.0010518 0.0248032 -0.0121314
-0.0010518 0.0248032 0.00223203
-0.0010518 0.0248032 -1.35838e-005
-0.0010518 0.0248032 -0.0162401
-0.0010518 0.0248032 0.0152539
-0.0010518 0.0205399 -0.0162401
-0.0010518 0.0235682 -0.0162401
-0.0010518 0.0134787 -0.0162401
-0.0010518 0.0156215 -0.0162401
-0.0010518 0.0170773 -0.0139548
-0.0010518 0.0144788 -0.0157741
-0.0010518 0.0144788 0.015746
-0.0010518 0.0170773 0.0139267
-0.0010518 0.0193196 0.0116834
-0.0010518 0.0211389 0.00908588
-0.0010518 0.0224799 0.00620992
-0.0010518 0.0233008 0.00314668
-0.0010518 0.0235783 -1.35838e-005
-0.0010518 0.0233008 -0.00317385
-0.0010518 0.0224799 -0.00623805
-0.0010518 0.0211389 -0.00911305
-0.0010518 0.0193196 -0.0117115
-0.0010518 0.017645 0.0170378
-0.0010518 0.0117084 0.0170378
-0.0010518 0.0243415 0.0170378
-0.0010518 0.0217893 0.0170378
numsurf 14
SURF 0x0
mat 2
refs 4
29 0.0563438 0.909489
16 0.0918195 0.855469
17 0.11721 0.880859
28 0.0562575 0.938604
SURF 0x0
mat 2
refs 4
26 0.0557721 0.860847
15 0.0703351 0.824219
16 0.0918195 0.855469
29 0.0563438 0.909489
SURF 0x0
mat 2
refs 3
27 0.0552835 0.792235
15 0.0703351 0.824219
26 0.0557721 0.860847
SURF 0x0
mat 2
refs 3
12 0.438873 0.837439
14 0.433617 0.824219
11 0.438371 0.812673
SURF 0x0
mat 2
refs 4
9 0.436841 0.895166
13 0.410179 0.855469
14 0.433617 0.824219
12 0.438873 0.837439
SURF 0x0
mat 2
refs 4
10 0.438309 0.929713
25 0.386742 0.880859
13 0.410179 0.855469
9 0.436841 0.895166
SURF 0x0
mat 2
refs 5
2 0.056228 0.943974
28 0.0562575 0.938604
17 0.11721 0.880859
18 0.146507 0.902344
8 0.0764282 0.944196
SURF 0x0
mat 2
refs 4
8 0.0764282 0.944196
18 0.146507 0.902344
19 0.17971 0.916016
0 0.112535 0.943188
SURF 0x0
mat 2
refs 5
1 0.426544 0.944196
24 0.355492 0.902344
25 0.386742 0.880859
10 0.438309 0.929713
7 0.437828 0.944077
SURF 0x0
mat 2
refs 4
6 0.250023 0.942341
21 0.250023 0.927734
22 0.287132 0.925781
3 0.276392 0.943305
SURF 0x0
mat 2
refs 4
5 0.22643 0.943305
20 0.21682 0.925781
21 0.250023 0.927734
6 0.250023 0.942341
SURF 0x0
mat 2
refs 4
0 0.112535 0.943188
19 0.17971 0.916016
20 0.21682 0.925781
5 0.22643 0.943305
SURF 0x0
mat 2
refs 4
3 0.276392 0.943305
22 0.287132 0.925781
23 0.322289 0.916016
4 0.390219 0.943188
SURF 0x0
mat 2
refs 4
4 0.390219 0.943188
23 0.322289 0.916016
24 0.355492 0.902344
1 0.426544 0.944196
kids 0

View file

@ -0,0 +1,290 @@
AC3Db
MATERIAL "ac3dmat1" rgb 1 1 1 amb 0.2 0.2 0.2 emis 0 0 0 spec 0.2 0.2 0.2 shi 128 trans 0
MATERIAL "ac3dmat1.020" rgb 1 1 1 amb 0.7124 0.7124 0.7124 emis 0.7255 0.702 0.6941 spec 1 0.7765 0.6588 shi 5 trans 0
MATERIAL "ac3dmat1" rgb 1 1 1 amb 0 0 0 emis 0.658824 0.670588 0.67451 spec 0 0 0 shi 128 trans 0
MATERIAL "DefaultWhite" rgb 1 1 1 amb 1 1 1 emis 1 1 1 spec 1 1 1 shi 0 trans 0
MATERIAL "ac3dmat0" rgb 0 0 0 amb 0 0 0 emis 0 0 0 spec 0 0 0 shi 0 trans 0
OBJECT world
kids 8
OBJECT poly
name "RollPtr"
loc 0.0010518 -0.00894291 -5.45697e-011
data 10
Mesh.11512
texture "ati.png"
crease 30.000000
numvert 3
-0.0010518 0.0235783 0
-0.0010518 0.0204859 0.00174654
-0.0010518 0.0204859 -0.00174654
numsurf 1
SURF 0x10
mat 3
refs 3
2 0.271634 0.882813
0 0.250149 0.921875
1 0.224759 0.882813
kids 0
OBJECT poly
name "centerbar"
loc 2.31608e-006 -0.00124071 -0.000203798
texture "symbols.png"
crease 45.000000
numvert 4
0 0.00330199 -0.0223909
0 0.00330199 0.0227985
0 -0.00330199 0.0227985
0 -0.00330199 -0.0223909
numsurf 1
SURF 0x30
mat 2
refs 4
0 0.403727 0.933591
1 0.909275 0.933591
2 0.909275 0.783893
3 0.403727 0.783893
kids 0
OBJECT poly
name "AltTape"
loc 3.50666e-006 0.00116143 -0.000728134
data 9
Plane.012
texture "alt-tape.png"
crease 30.000000
numvert 4
0 -0.0170364 -0.0155124
0 -0.0170364 -0.0245885
0 0.0146997 -0.0245885
0 0.0146997 -0.0155124
numsurf 1
SURF 0x0
mat 3
refs 4
1 0.999999 -0.195048
2 1 0.292935
3 0.0992008 0.292935
0 0.0992001 -0.195047
kids 0
OBJECT poly
name "rect"
loc -3.50665e-006 8.08194e-011 0
crease 45.000000
numvert 4
0 -0.0237663 -0.0254416
0 -0.0237663 0.0254416
0 0.0237663 0.0254416
0 0.0237663 -0.0254416
numsurf 1
SURF 0x30
mat 4
refs 4
3 1 1
2 0 1
1 0 0
0 1 0
kids 0
OBJECT poly
name "rect"
loc -0.0227505 -0.48414 -0.0162402
crease 45.000000
numvert 4
0.5 0.5 -0.5
-0.5 0.5 -0.5
-0.5 0.5 0.5
0.5 0.5 0.5
numsurf 1
SURF 0x30
mat 0
refs 4
3 1 1
2 0 1
1 0 0
0 1 0
kids 0
OBJECT poly
name "stby-ai"
loc 0.00332995 -0.0495893 -0.109277
texture "horizon.png"
crease 45.000000
numvert 6
-0.00333038 0.033725 0.0862427
-0.00333038 0.033725 0.132312
-0.00333038 0.033725 0.125019
-0.00333064 0.0642921 0.132312
-0.00333064 0.0642921 0.0935498
-0.00333064 0.0642921 0.0862427
numsurf 2
SURF 0x30
mat 1
refs 4
4 0.559743 0.559743
2 0.440202 0.440202
0 0.5875 0.440202
5 0.5875 0.559743
SURF 0x30
mat 1
refs 4
3 0.4125 0.559743
1 0.4125 0.440202
2 0.440202 0.440202
4 0.559743 0.559743
kids 0
OBJECT poly
name "SpdTape"
loc 3.50666e-006 0.00116839 -0.00195621
data 9
Plane.014
texture "spd-tape.png"
crease 30.000000
numvert 4
0 -0.0170433 0.0273608
0 0.0146927 0.0273608
0 0.0146927 0.0189892
0 -0.0170433 0.0189892
numsurf 1
SURF 0x0
mat 3
refs 4
2 0.846756 0.190349
1 0.164308 0.190349
0 0.164307 0.0216905
3 0.846756 0.0216905
kids 0
OBJECT poly
name "Roll"
loc 0.0010518 -0.00894291 -5.45697e-011
data 8
Mesh.001
texture "ati.png"
crease 30.000000
numvert 30
-0.0010518 0.0248032 0.0121044
-0.0010518 0.0248032 -0.0152801
-0.0010518 0.0248032 0.0170378
-0.0010518 0.0248032 -0.0022592
-0.0010518 0.0248032 -0.0121314
-0.0010518 0.0248032 0.00223203
-0.0010518 0.0248032 -1.35838e-005
-0.0010518 0.0248032 -0.0162401
-0.0010518 0.0248032 0.0152539
-0.0010518 0.0205399 -0.0162401
-0.0010518 0.0235682 -0.0162401
-0.0010518 0.0134787 -0.0162401
-0.0010518 0.0156215 -0.0162401
-0.0010518 0.0170773 -0.0139548
-0.0010518 0.0144788 -0.0157741
-0.0010518 0.0144788 0.015746
-0.0010518 0.0170773 0.0139267
-0.0010518 0.0193196 0.0116834
-0.0010518 0.0211389 0.00908588
-0.0010518 0.0224799 0.00620992
-0.0010518 0.0233008 0.00314668
-0.0010518 0.0235783 -1.35838e-005
-0.0010518 0.0233008 -0.00317385
-0.0010518 0.0224799 -0.00623805
-0.0010518 0.0211389 -0.00911305
-0.0010518 0.0193196 -0.0117115
-0.0010518 0.017645 0.0170378
-0.0010518 0.0117084 0.0170378
-0.0010518 0.0243415 0.0170378
-0.0010518 0.0217893 0.0170378
numsurf 14
SURF 0x0
mat 3
refs 4
29 0.0563438 0.909489
16 0.0918195 0.855469
17 0.11721 0.880859
28 0.0562575 0.938604
SURF 0x0
mat 3
refs 4
26 0.0557721 0.860847
15 0.0703351 0.824219
16 0.0918195 0.855469
29 0.0563438 0.909489
SURF 0x0
mat 3
refs 3
27 0.0552835 0.792235
15 0.0703351 0.824219
26 0.0557721 0.860847
SURF 0x0
mat 3
refs 3
12 0.438873 0.837439
14 0.433617 0.824219
11 0.438371 0.812673
SURF 0x0
mat 3
refs 4
9 0.436841 0.895166
13 0.410179 0.855469
14 0.433617 0.824219
12 0.438873 0.837439
SURF 0x0
mat 3
refs 4
10 0.438309 0.929713
25 0.386742 0.880859
13 0.410179 0.855469
9 0.436841 0.895166
SURF 0x0
mat 3
refs 5
2 0.056228 0.943974
28 0.0562575 0.938604
17 0.11721 0.880859
18 0.146507 0.902344
8 0.0764282 0.944196
SURF 0x0
mat 3
refs 4
8 0.0764282 0.944196
18 0.146507 0.902344
19 0.17971 0.916016
0 0.112535 0.943188
SURF 0x0
mat 3
refs 5
1 0.426544 0.944196
24 0.355492 0.902344
25 0.386742 0.880859
10 0.438309 0.929713
7 0.437828 0.944077
SURF 0x0
mat 3
refs 4
6 0.250023 0.942341
21 0.250023 0.927734
22 0.287132 0.925781
3 0.276392 0.943305
SURF 0x0
mat 3
refs 4
5 0.22643 0.943305
20 0.21682 0.925781
21 0.250023 0.927734
6 0.250023 0.942341
SURF 0x0
mat 3
refs 4
0 0.112535 0.943188
19 0.17971 0.916016
20 0.21682 0.925781
5 0.22643 0.943305
SURF 0x0
mat 3
refs 4
3 0.276392 0.943305
22 0.287132 0.925781
23 0.322289 0.916016
4 0.390219 0.943188
SURF 0x0
mat 3
refs 4
4 0.390219 0.943188
23 0.322289 0.916016
24 0.355492 0.902344
1 0.426544 0.944196
kids 0

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

View file

@ -0,0 +1,159 @@
AC3Db
MATERIAL "DefaultWhite" rgb 1 1 1 amb 1 1 1 emis 1 1 1 spec 1 1 1 shi 0 trans 0
OBJECT world
kids 2
OBJECT poly
name "Roll"
loc 0.0303476 0 -0.063735
data 8
Mesh.001
texture "ati.png"
crease 30.000000
numvert 24
-0.001084 0.0176 -0.014382
-0.001084 0.014922 -0.016257
-0.001084 0.011958 -0.017638
-0.001084 0.011958 -0.022156
-0.001084 0.011958 0.022128
-0.001084 0.011958 0.01761
-0.001084 0.014922 0.016228
-0.001084 0.0176 0.014353
-0.001084 0.019911 0.012041
-0.001084 0.021786 0.009364
-0.001084 0.023168 0.0064
-0.001084 0.024014 0.003243
-0.001084 0.0243 -1.39996e-005
-0.001084 0.024014 -0.003271
-0.001084 0.023168 -0.006429
-0.001084 0.021786 -0.009392
-0.001084 0.019911 -0.01207
-0.001084 0.029364 -0.022146
-0.001084 0.011958 -0.022161
-0.001084 0.011957 -0.022167
-0.001084 0.011957 0.022167
-0.001084 0.011958 0.022146
-0.001084 0.029364 0.02212
-0.001084 0.029364 -1.39996e-005
numsurf 16
SURF 0x0
mat 0
refs 3
17 0.49807 0.986328
0 0.410179 0.855469
1 0.433617 0.824219
SURF 0x0
mat 0
refs 4
2 0.447289 0.791016
18 0.49807 0.791016
17 0.49807 0.986328
1 0.433617 0.824219
SURF 0x0
mat 0
refs 4
3 0.49807 0.791016
19 0.49807 0.791016
18 0.49807 0.791016
2 0.447289 0.791016
SURF 0x0
mat 0
refs 4
5 0.0547101 0.791016
21 0.00588193 0.791016
20 0.00588193 0.791016
4 0.00588193 0.791016
SURF 0x0
mat 0
refs 4
6 0.0703351 0.824219
22 0.00588193 0.986328
21 0.00588193 0.791016
5 0.0547101 0.791016
SURF 0x0
mat 0
refs 3
7 0.0918195 0.855469
22 0.00588193 0.986328
6 0.0703351 0.824219
SURF 0x0
mat 0
refs 3
8 0.11721 0.880859
22 0.00588193 0.986328
7 0.0918195 0.855469
SURF 0x0
mat 0
refs 3
9 0.146507 0.902344
22 0.00588193 0.986328
8 0.11721 0.880859
SURF 0x0
mat 0
refs 3
10 0.17971 0.916016
22 0.00588193 0.986328
9 0.146507 0.902344
SURF 0x0
mat 0
refs 4
11 0.21682 0.925781
23 0.250023 0.986328
22 0.00588193 0.986328
10 0.17971 0.916016
SURF 0x0
mat 0
refs 3
12 0.250023 0.927734
23 0.250023 0.986328
11 0.21682 0.925781
SURF 0x0
mat 0
refs 3
13 0.287132 0.925781
23 0.250023 0.986328
12 0.250023 0.927734
SURF 0x0
mat 0
refs 4
23 0.250023 0.986328
13 0.287132 0.925781
14 0.322289 0.916016
17 0.49807 0.986328
SURF 0x0
mat 0
refs 3
15 0.355492 0.902344
17 0.49807 0.986328
14 0.322289 0.916016
SURF 0x0
mat 0
refs 3
16 0.386742 0.880859
17 0.49807 0.986328
15 0.355492 0.902344
SURF 0x0
mat 0
refs 3
0 0.410179 0.855469
17 0.49807 0.986328
16 0.386742 0.880859
kids 0
OBJECT poly
name "RollPtr"
loc 0.0303476 0 -0.063735
data 10
Mesh.11512
texture "ati.png"
crease 30.000000
numvert 3
-0.001084 0.0243 0
-0.001084 0.021113 0.0018
-0.001084 0.021113 -0.0018
numsurf 1
SURF 0x10
mat 0
refs 3
2 0.271634 0.882813
0 0.250149 0.921875
1 0.224759 0.882813
kids 0

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

View file

@ -111,7 +111,7 @@
<alpha>0.1</alpha> <alpha>0.1</alpha>
<gamma>0</gamma> <gamma>0</gamma>
<Ti>5</Ti> <Ti>5</Ti>
<Td>0.1</Td> <Td>0.005</Td>
<u_min>-1</u_min> <u_min>-1</u_min>
<u_max>1</u_max> <u_max>1</u_max>
</config> </config>
@ -252,7 +252,7 @@
<alpha>0.1</alpha> <alpha>0.1</alpha>
<gamma>0</gamma> <gamma>0</gamma>
<Ti>5</Ti> <Ti>5</Ti>
<Td>0.08</Td> <Td>0.005</Td>
<u_min>-1</u_min> <u_min>-1</u_min>
<u_max>1</u_max> <u_max>1</u_max>
</config> </config>

View file

@ -97,19 +97,19 @@
<table> <table>
<independentVar lookup="row">/controls/flight/elevator-input</independentVar> <independentVar lookup="row">/controls/flight/elevator-input</independentVar>
<tableData> <tableData>
-1.0 0.075 -1.0 0.1
-0.7 0.04 -0.7 0.05
-0.5 0.015 -0.5 0.02
-0.3 0.005 -0.3 0.01
-0.15 0.0015 -0.15 0.005
-0.05 0.00075 -0.05 0.001
0.00 0.0000 0.00 0.00
0.05 -0.00075 0.05 -0.001
0.15 -0.0015 0.15 -0.005
0.3 -0.005 0.3 -0.01
0.5 -0.015 0.5 -0.02
0.7 -0.04 0.7 -0.05
1.0 -0.075 1.0 -0.1
</tableData> </tableData>
</table> </table>
</sum> </sum>