08-29-2012, 02:32 AM,
|
|
NaN
Posting Freak
|
Posts: 2,024
Threads: 120
Joined: Jan 2010
|
|
RE: New sim code
I have been fighting with too much wheel travel(with possible roll over) in high speed turns(banked) yesterday, trying to use harder anti-roll settings and stiffness.
Just checked the suspension code and noticed that suspension over-travel was not reimplemented. Displacement would simply be clamped to max travel also clamping suspension response this way. Duh.
After fixing it the issues are gone too.
|
|
08-29-2012, 07:23 PM,
(This post was last modified: 08-30-2012, 03:02 AM by NaN.)
|
|
NaN
Posting Freak
|
Posts: 2,024
Threads: 120
Joined: Jan 2010
|
|
RE: New sim code
Sim code is in master now. I'll be looking for regressions the next few days.
If you run into issues report here ( or https://github.com/VDrift/vdrift/issues ).
|
|
08-30-2012, 02:23 AM,
|
|
nomoo
Member
|
Posts: 111
Threads: 15
Joined: Mar 2007
|
|
RE: New sim code
I've got the last rev..
os: win 7 x64
codeblocks
cleaned before build.
Output:
||=== vdrift, Release ===|
vdrift-win\include\SDL\SDL_stdinc.h|636|warning: «M_PI» redeclared|
vdrift-win\include\SDL\SDL_stdinc.h|636|warning: «M_PI» redeclared|
vdrift-win\include\SDL\SDL_stdinc.h|636|warning: «M_PI» redeclared|
C:\Vdrift\src\parallel_task.h|65|error: invalid conversion «long unsigned int (*)(void*, unsigned int, unsigned int (*)(void*), void*, unsigned int, unsigned int*) {aka long unsigned int (*)(void*, unsigned int, unsigned int (*)(void*), void*, unsigned int, unsigned int*)}» в «pfnSDL_CurrentBeginThread {aka unsigned int (*)(void*, unsigned int, unsigned int (*)(void*), void*, unsigned int, unsigned int*)}» [-fpermissive]|
vdrift-win\include\SDL\SDL_thread.h|105|error: while initializing 4 arg «SDL_Thread* SDL_CreateThread(SDL_ThreadFunction, const char*, void*, pfnSDL_CurrentBeginThread, pfnSDL_CurrentEndThread)» [-fpermissive]|
||=== Build finished: 8 errors, 0 warnings (4 minutes, 5 seconds) ===|
p.s. errors were in native lang, tried to translate correctly.
p.p.s. NaN, your last link to issues is broken because of the bracket.
|
|
08-30-2012, 03:01 AM,
(This post was last modified: 08-30-2012, 03:47 AM by NaN.)
|
|
NaN
Posting Freak
|
Posts: 2,024
Threads: 120
Joined: Jan 2010
|
|
RE: New sim code
(08-30-2012, 02:23 AM)nomoo Wrote: I've got the last rev..
os: win 7 x64
codeblocks
cleaned before build.
Output:
||=== vdrift, Release ===|
vdrift-win\include\SDL\SDL_stdinc.h|636|warning: «M_PI» redeclared|
vdrift-win\include\SDL\SDL_stdinc.h|636|warning: «M_PI» redeclared|
vdrift-win\include\SDL\SDL_stdinc.h|636|warning: «M_PI» redeclared|
C:\Vdrift\src\parallel_task.h|65|error: invalid conversion «long unsigned int (*)(void*, unsigned int, unsigned int (*)(void*), void*, unsigned int, unsigned int*) {aka long unsigned int (*)(void*, unsigned int, unsigned int (*)(void*), void*, unsigned int, unsigned int*)}» в «pfnSDL_CurrentBeginThread {aka unsigned int (*)(void*, unsigned int, unsigned int (*)(void*), void*, unsigned int, unsigned int*)}» [-fpermissive]|
vdrift-win\include\SDL\SDL_thread.h|105|error: while initializing 4 arg «SDL_Thread* SDL_CreateThread(SDL_ThreadFunction, const char*, void*, pfnSDL_CurrentBeginThread, pfnSDL_CurrentEndThread)» [-fpermissive]|
||=== Build finished: 8 errors, 0 warnings (4 minutes, 5 seconds) ===|
p.s. errors were in native lang, tried to translate correctly.
p.p.s. NaN, your last link to issues is broken because of the bracket. I think I've seen this before. You are running the official mingw? Can you try replacing it with mingw-w64?
web: http://mingw-w64.sourceforge.net/
download: http://sourceforge.net/projects/mingw-w6...z/download
Uninstall/remove previous mingw version. Extract the content into C:/mingw32 or C:/mingw. If codeblocks complains about compiler, set Settings/Compiler/Toolchain executables
C Compiler: gcc.exe
C++ Compiler: g++.exe
Linker for dynamic... :g++.exe
Do a rebuild.
There is a minor auto clutch regression with F1-02 at start(first gear), need to make the logic a bit more clever.
|
|
08-30-2012, 05:17 AM,
|
|
NaN
Posting Freak
|
Posts: 2,024
Threads: 120
Joined: Jan 2010
|
|
RE: New sim code
Clutch issue fixed.
Windows build for anyone running with svn data (@berzingue):
http://sourceforge.net/projects/vdrift/f...e/download
|
|
08-30-2012, 07:04 AM,
|
|
NaN
Posting Freak
|
Posts: 2,024
Threads: 120
Joined: Jan 2010
|
|
RE: New sim code
I've found some info on S2000 spring rates and sway bars:
http://www.s2ki.com/s2000/topic/863751-official-cr-faq
Characterization_of_Honda_S2000_OE_Springs_rev1.pdf
It turns out that sway bars are rather stiff devices. The anti-roll stiffness of XS.car has been 1000 and 6000 N/m. The real world stiffness values are 62016 and 54483 N/m. They exceed the suspension spring stiffness!
I think we need to review anti-roll bar settings for a number of VDrift cars.
|
|
09-02-2012, 11:46 AM,
|
|
NaN
Posting Freak
|
Posts: 2,024
Threads: 120
Joined: Jan 2010
|
|
RE: New sim code
Found/fixed a bug in ABS code.
New values for XS:
60-0 Stopping Distance (real world) 113 ft
60-0 Stopping Distance (no ABS) 116 ft
60-0 Stopping Distance (ABS) 111 ft
I know it is maybe nothing to get too excited about. But it is kinda cool to get the same values as the real world vehicle. I wish I had some race telemetry to test the sim a bit more.
|
|
|