Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Bug in cardynamics.cpp ComputeTireFrictionForce code
07-31-2011, 06:25 AM,
#1
Bug in cardynamics.cpp ComputeTireFrictionForce code
Code:
    btVector3 friction_force = tire[i].GetForce( normal_force, friction_coeff, camber_rads, angvel, lonvel, latvel );

GetForce 3rd argument is in radians while the function expects degrees.

Code:
btVector3 CARTIRE::GetForce (
    btScalar normal_force,                        // Fz, normal_force in N
    btScalar friction_coeff,                    // track surface friction scaling coefficient
    btScalar inclination,                        // camber, degrees
    btScalar ang_velocity,                        // rotational speed, rad/sec
    btScalar lon_velocity,                        // Vx
    btScalar lat_velocity )                        // Vy
{
...
}
Reply
07-31-2011, 09:28 AM,
#2
 
And a few fixes later you'll be where I've been last year. Seriously, I'd prefer to see this fixes in a separate fork. With github this is mostly a matter of a few mouse clicks: http://help.github.com/
Reply
07-31-2011, 09:35 AM,
#3
 
NaN Wrote:And a few fixes later you'll be where I've been last year. Seriously, I'd prefer to see this fixes in a separate fork. With github this is mostly a matter of a few mouse clicks: http://help.github.com/

No problem, I will continue on my own.
Reply
07-31-2011, 09:51 AM,
#4
 
I didn't mean to turn you off. As your bug reports and fixes are actually confirming my own work. Fact is I've had this stuff(and some more) in trunk and it broke the cars and I haven't managed to fix them and people were pissed of.

I really hope to see your fork on github for me and others to try and test.
Reply
07-31-2011, 12:06 PM,
#5
 
LBodnar Wrote:No problem, I will continue on my own.

Please feel free to continue to ask questions on the forum! I'd love to see these things get fixed too. :-)
Reply
07-31-2011, 01:05 PM,
#6
 
Issue: https://github.com/VDrift/vdrift/issues/30
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)