Open juherask opened 8 years ago
In the case of 4wd drive, as an option also the front wheels are driven. Then the middle and front diff has to be modeled also (in a same way as the rear diff). However the distribution of the torque to driving wheels should be within one python module that is always updated. This allows also modeling the wheels running the diffs/transmission when little or no torque is being applied.
The joystick_throttle.py script should be run as a module on a back subframe that has driving wheels. The amount of torque is given propotionally to the wheel with least resitance (friction). At least some torque is however always going to the other side as well (depending on the viscousity of the diff oil/grease). This models the differential. There should be torque curve for the motor output that caps the speed and acceleration.