Thread Rating:
  • 2 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
New sim code
10-17-2012, 02:41 PM, (This post was last modified: 10-17-2012, 03:31 PM by NaN.)
#49
RE: New sim code
(10-16-2012, 08:03 PM)charlieg Wrote: What's not good? That you're experimenting? Or the results?

Forks aren't bad things though. Wink
The new sim has a more correct suspension, driveline and tire contact model but can't keep up with tire response of the old implementation as it is low frequency (90Hz, old code is running at 900Hz). This is noticeable in the handling of high powered cars, to be more exact cars with high torque engines. The solution to run new sim at higher frequency is too demanding if you want to run more than 1-2 cars at 60fps. I've been looking for ways to simplify, speed up the code. But it looks like it might take some time and experimenting (with negative effects sometimes), thus the revert to the old code.

I still would like to mess with the new code as it works great within certain limits.

Edit:
To be honest up to now I've struggled with the tire model (pacejka+beckman). It felt kinda wrong sometimes and I had no idea about the origin/correctness of the parameters.

Now with the real tire data and the more complete pacejka model there is a reference. I feel I should start with the tires and build the simulation around them. Something high frequency with maybe a minimal iterative solver (3 - 4 iterations per simulation step) for the components. It should be fast enough to run 4-6 cars at 60fps on a 2GHz core (16ms per frame).
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)