Thread Rating:
  • 2 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
New sim code
10-21-2012, 07:53 PM,
#55
RE: New sim code
Looking at the telemetry showed that the old code is running with a wrong weight distribution for the 350Z 47/53 while the correct one in the new sim(with substeps) is 53/47. Which also explains the grip issues. After feeding the same car data into both sims the new one is actually more stable. I need to test both sims with a few more cars but I hope for similar outcomes so that the new code can be "re-reverted".

Just for fun a snippet of engine + wheel friction torques of both sims:

old(10 substeps):

47.8968
50.1497 w -129.877 -134.324 -320.931 -321.354
49.4877 w 129.619 134.153 331.809 332.474
51.7235 w -128.938 -133.477 -331.263 -331.948
50.9522 w 129.224 133.975 341.636 342.303
53.1722 w -128.478 -133.159 -341.065 -341.664
52.2995 w 128.68 133.542 350.682 351.343
54.5049 w -127.885 -132.424 -350.122 -350.44
53.5393 w 128.573 133.515 359.017 359.649
55.7313 w -128.154 -132.91 -358.943 -359.382
54.6771 w 128.205 133.183 366.662 367.278
57.0

new (10 substeps):

47.4184
51.6482 w -50.2377 -47.6083 -355.091 -349.725
51.6482 w 43.8085 43.861 -216.299 -210.362
51.6482 w -13.8166 -12.9071 -305.447 -295.342
51.6482 w 18.1025 17.5345 -256.7 -249.294
51.6482 w 2.99534 -0.33031 -274.576 -281.526
51.6482 w 6.95784 10.0478 -270.359 -263.997
51.6482 w 4.61346 1.61523 -272.124 -278.665
51.6482 w 12.4322 15.5022 -262.111 -255.427
51.6482 w -7.19947 -10.3066 -290.224 -296.928
51.6482 w 11.8116 14.9467 -289.785 -127.92
55.8798

The engine torque is updated every full step in the new sim. Please note the oscillations in the old sim which have been one of the reasons for the rewrite and are greatly reduced in the new implementation. Ideally we would want an even more smooth behavior but that would require running the complete sim at high frequency.
Reply


Messages In This Thread
New sim code - by NaN - 01-17-2012, 12:41 PM
RE: New sim code - by NaN - 08-27-2012, 03:59 PM
RE: New sim code - by NaN - 08-28-2012, 10:59 AM
RE: New sim code - by NaN - 08-29-2012, 02:32 AM
RE: New sim code - by NaN - 08-29-2012, 07:23 PM
RE: New sim code - by nomoo - 08-30-2012, 02:23 AM
RE: New sim code - by NaN - 08-30-2012, 03:01 AM
RE: New sim code - by NaN - 08-30-2012, 05:17 AM
RE: New sim code - by NaN - 08-30-2012, 07:04 AM
RE: New sim code - by NaN - 08-31-2012, 09:43 AM
RE: New sim code - by NaN - 09-02-2012, 11:46 AM
RE: New sim code - by zimluura - 09-02-2012, 02:47 PM
RE: New sim code - by NaN - 09-03-2012, 08:18 AM
RE: New sim code - by NaN - 09-08-2012, 06:35 AM
RE: New sim code - by MiguelM - 09-09-2012, 08:09 AM
RE: New sim code - by joevenzon - 09-09-2012, 12:38 PM
RE: New sim code - by MiguelM - 09-15-2012, 09:17 AM
RE: New sim code - by NaN - 09-15-2012, 11:10 AM
RE: New sim code - by zimluura - 09-16-2012, 10:38 AM
RE: New sim code - by joevenzon - 09-18-2012, 11:20 AM
RE: New sim code - by MiguelM - 09-23-2012, 03:02 PM
RE: New sim code - by joevenzon - 09-27-2012, 11:31 AM
RE: New sim code - by NaN - 09-16-2012, 12:29 PM
RE: New sim code - by NaN - 09-23-2012, 06:01 PM
RE: New sim code - by MiguelM - 09-28-2012, 07:24 AM
RE: New sim code - by joevenzon - 09-28-2012, 11:31 AM
RE: New sim code - by MiguelM - 09-28-2012, 12:52 PM
RE: New sim code - by NaN - 10-12-2012, 10:40 AM
RE: New sim code - by NaN - 10-13-2012, 08:09 AM
RE: New sim code - by NaN - 10-15-2012, 02:23 PM
RE: New sim code - by charlieg - 10-16-2012, 08:03 PM
RE: New sim code - by NaN - 10-17-2012, 02:41 PM
RE: New sim code - by ghiboz - 10-17-2012, 04:03 PM
RE: New sim code - by NaN - 10-17-2012, 04:23 PM
RE: New sim code - by joevenzon - 10-17-2012, 10:34 PM
RE: New sim code - by NaN - 10-18-2012, 09:52 AM
RE: New sim code - by NaN - 10-20-2012, 03:50 PM
RE: New sim code - by NaN - 10-21-2012, 07:53 PM
RE: New sim code - by NaN - 10-22-2012, 03:47 PM
RE: New sim code - by NaN - 10-22-2012, 05:14 PM
RE: New sim code - by NaN - 12-08-2012, 02:05 PM
RE: New sim code - by charlieg - 12-10-2012, 12:35 AM
RE: New sim code - by GunChleoc - 12-10-2012, 10:43 AM
[No subject] - by NaN - 02-13-2012, 09:59 AM
[No subject] - by NaN - 02-13-2012, 10:43 AM
[No subject] - by NaN - 08-06-2012, 06:44 AM
[No subject] - by NaN - 08-08-2012, 10:32 AM
[No subject] - by NaN - 08-08-2012, 10:43 AM
[No subject] - by berzingue - 08-09-2012, 02:25 PM
[No subject] - by NaN - 08-10-2012, 04:21 AM
[No subject] - by berzingue - 08-10-2012, 09:56 AM
[No subject] - by NaN - 08-10-2012, 10:04 AM
[No subject] - by NaN - 08-10-2012, 10:10 AM
[No subject] - by berzingue - 08-10-2012, 11:02 AM
[No subject] - by joevenzon_phpbb2_import3 - 08-10-2012, 11:18 AM
[No subject] - by berzingue - 08-10-2012, 02:38 PM
[No subject] - by NaN - 08-10-2012, 03:36 PM
[No subject] - by NaN - 08-16-2012, 12:18 PM
[No subject] - by NaN - 08-22-2012, 02:59 PM
[No subject] - by NaN - 08-22-2012, 04:05 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)