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

Model and implement the shock absorbers #7

Open juherask opened 8 years ago

juherask commented 8 years ago

Use a Python script from a earlier prototype.

juherask commented 8 years ago

According to discussion with a friendly consulting physicist, the effect of geometry should be included into this formula. If the shocks are in straight position the spring adheres to Hooke's law and is linearly proportional to the compression of the spring. On the other hand the damping force of the oil is linearly propotional to the velocity of the piston related to the shock body. Changing the lower mounting point of the shock changes the leverage on the suspension arm, which is simple to model. However it, and changing the upper shock position also changes the progressivity of the suspension (the angle of the shock changes when it compresses) which is more tricky as compression amount (and velocity) are functions of wheel position.