I've got a bit of a problem that I hope you guys can help with.
I've got a wheel and an engine and all the drivetrain. In the wheel,
I calculate the following :
1) Calculate the slip ratio
This is calculated from the following
(wheelAngVel * wheelRadius - vehicleVelocity) / (wheelAngVel *
wheelRadius)
2) Calculate the traction force applied by the wheel on the road
This is calculated by the following
Traction = (axleTorque / wheelRadius) * slipRatio
3) Calculate the angular acceleration on the wheel
angAcceleration = axleTorque / wheelInertia
4) Calculate the angular velocity of the wheel
angVelocity += (angAcceleration * deltaTime)
The Traction is returned and is used to calculate the force applied on
the vehicle to move it forward.
First question - Is this right ? Is this how you calculate the
traction force and the rotational acceleration of the wheel ?
Now, I take the force from each of the rear wheels and apply it to the
vehicle using f=ma and calculate the acceleration and thus the speed
of the vehicle. The problem I have is that in first gear (ratio of
3.5, rear diff of 3.6, efficiency of 0.7, engine max torque = 190Nm),
I get up to a speed of approx. 70mph.... I'm not sure if I'm
calculating the traction force wrong, the resistive force, or
something else. So, I just want to check this bit first.
Cheers,
Nick.