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


Messages In This Thread
Bug in cardynamics.cpp ComputeTireFrictionForce code - by LBodnar - 07-31-2011, 06:25 AM
[No subject] - by NaN - 07-31-2011, 09:28 AM
[No subject] - by LBodnar - 07-31-2011, 09:35 AM
[No subject] - by NaN - 07-31-2011, 09:51 AM
[No subject] - by joevenzon_phpbb2_import3 - 07-31-2011, 12:06 PM
[No subject] - by NaN - 07-31-2011, 01:05 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)