![]() |
elchtest mod :) - Printable Version +- Forums (https://www.vdrift.net/Forum) +-- Forum: Project (https://www.vdrift.net/Forum/forumdisplay.php?fid=4) +--- Forum: Development (https://www.vdrift.net/Forum/forumdisplay.php?fid=9) +--- Thread: elchtest mod :) (/showthread.php?tid=1235) |
elchtest mod :) - NaN - 02-04-2010 Recently, I rewrote the way the wheel forces are calculated. I think it's good enough to be committed. Ladies and gentlemen, the Elchtest modification. :lol: ![]() So please check out and test. PS: I think we need a car reset button. ![]() - NaN - 02-04-2010 Oops, ABS is broken. Bugfix is wip. - NaN - 02-04-2010 ABS is back in rev2588. - nomoo - 02-04-2010 Great job! - joevenzon - 02-05-2010 Can you describe what you changed? I'm still making my way through the changelogs but don't quite grasp it yet. :-) I did notice that the C7 likes to roll on a lot of corners now. - NaN - 02-05-2010 1.) Applying tire force at contact point(it was applied at wheel center before). 2.) Change the way tire/brake lock up is calculated. The idea is that the maximum applicable brake/rolling_resistance torque is the wheel lock up torque(torque that reduces wheel angular_momentum to zero). 3.) I'd like to have rolling_resistance depend on tire normal force. It doesn't work now, as the wheel/suspension is following the surface displacements(velocity = (displacement - last_displacement)/dt) and we are getting huge normal forces on bumpy surfaces. edit: The initial commit was a bit too early. So multiple bugfixes followed. I think it should be correct now. Sorry for change log pollution. :oops: - NaN - 02-05-2010 OMG! I haven't tested the mod with the new cars. A lot of them have way too much traction(rolling over all the time). Need to look into car parameters after supension modificiation. - NaN - 02-05-2010 Found/fixed a bug in tire normal force calculation(suspension force magnitude was used before, even if the force was negative relative to wheel up-vector). Now the cars should behave more civilized. - joevenzon - 02-06-2010 Well the change seems to feel pretty good with most of the cars, it may just be that the C7 needs some parameter adjustment (it still seems to flip pretty easily, but it did that some before too). - NaN - 02-10-2010 No need to change C7 parameters. I rewrote the wheel camber calculation. The previous was returning wrong camber angles. Rollovers should be gone now. - NaN - 02-10-2010 I have noticed some regressions with the latest changes. 1. Car will move indeterminately after a forced rollover. This is related to the way suspension is simulated. Suspension returns huge overtravel values on rollover. Overtravel is added to car position. 2. The AI cars have problems starting a race. Maybe a bug in Autoshift/Autoclutch. Can somebody confirm this one? - portets - 02-10-2010 NaN Wrote:2. The AI cars have problems starting a race. Maybe a bug in Autoshift/Autoclutch. Can somebody confirm this one? yeah i can confirm, the ai is stuck on full throttle. ramming into them makes them roll away so no breaks are applied. and when hitting them the rpm's drop shortly and return to normal. another thing is that drifting points aren't calculated anymore - NaN - 02-10-2010 OK, my second attempt on tire force calculation. I have been calculating the tire forces in wheel space(relative to wheel). This is wrong. They have to be calculated relative to road surface(tire space). See: http://ti.mb.fh-osnabrueck.de/adamshelp/mergedProjects/tire/tire_models/html_version/pacejka/correct_coord.htm @portets Thanks for the reply! It looks like the car wheels are not on track. So no drift score and no lap times. Will fix asap. - portets - 02-10-2010 another thing that i noticed is that whenever the wheel(specifically the tire) lifts off of the track and collides with a wall or cone i either get the game crashing and a Code: INFO: Car loading was successful: TC or the car appears way below the track spinning every which way and the wheels separate from the car ![]() edit: it actually seems like the track disappears. it's easy to replicate in the NS, i just weave back and forth and hit the break and all of a sudden the car is falling and shaking violently. if i move the camera around i can't find the track anywhere. - NaN - 02-20-2010 Car rollover/wheel collision misbehavior should be fixed now(rev2613). Testers are welcome, as usual. |