Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Clutch not locked but not slipping??
03-03-2012, 03:07 PM,
#5
 
NaN Wrote:Don't let you irritate by the debug output check the code.
Code:
out << "Total torque: " << GetTorque() << "\n";
....
    ///return the sum of all torques acting on the engine (except clutch forces)
    btScalar GetTorque() const
    {
        return combustion_torque + friction_torque;
    }
Total torque reported by debug output is the torque from the engine side not taking clutch into account for whatever reason.

yes you are right NaN.

So to sum up:
Code:
    btScalar total_torque = combustion_torque + friction_torque + clutch_torque;
    shaft.applyMomentum(total_torque * dt);
total_torque is used to accelerate the shaft (that is the engine), (combustion_torque + friction_torque) is just used to apply torque to car body, -clutch_torque is used to accelerate the differential (and the wheels).
Is this right?
Reply


Messages In This Thread
Clutch not locked but not slipping?? - by NewLife - 03-02-2012, 07:20 PM
[No subject] - by NaN - 03-03-2012, 03:15 AM
[No subject] - by NewLife - 03-03-2012, 09:19 AM
[No subject] - by NaN - 03-03-2012, 11:48 AM
[No subject] - by NewLife - 03-03-2012, 03:07 PM
[No subject] - by NaN - 03-03-2012, 03:44 PM
[No subject] - by NewLife - 03-03-2012, 05:21 PM
[No subject] - by NaN - 03-04-2012, 04:28 AM
[No subject] - by NewLife - 03-04-2012, 08:12 PM
[No subject] - by NaN - 03-05-2012, 10:33 AM
[No subject] - by NaN - 03-05-2012, 10:38 AM
[No subject] - by NewLife - 03-07-2012, 09:10 PM
[No subject] - by NaN - 03-08-2012, 04:39 AM
[No subject] - by NewLife - 03-10-2012, 10:36 AM
[No subject] - by NaN - 03-10-2012, 12:28 PM
[No subject] - by NewLife - 03-17-2012, 12:28 AM
[No subject] - by NaN - 03-17-2012, 06:52 AM
[No subject] - by NewLife - 03-22-2012, 01:16 AM
[No subject] - by NaN - 04-01-2012, 09:37 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)