juherask / open-rc-buggy-simulator

Open source simulator for radio-controlled off-road buggies and cars. Based on entirely open source stack:
GNU General Public License v2.0
0 stars 0 forks source link

Improved joystick_throttle.py to act as a differential #10

Open juherask opened 8 years ago

juherask commented 8 years ago

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.

juherask commented 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.