Double initial guess for the surface kink position.
authorW. Trevor King <wking@drexel.edu>
Fri, 27 Aug 2010 21:31:39 +0000 (17:31 -0400)
committerW. Trevor King <wking@drexel.edu>
Fri, 27 Aug 2010 21:31:39 +0000 (17:31 -0400)
commit964355d2abecaee76304b309ec2e3400158bdf6c
treea0aa91d8de07b1f515b3385d28a52ed2801aa99b
parente57e6aa9b86351398b3af9a24513169395a71522
Double initial guess for the surface kink position.

The previous algorithm would fail for curves if
1) They didn't have many tension features to stretch out the range.
2) The contact slope "softened" a bit in the kink region.

For example, try it on most of the test/vclamp_picoforce data ;).

The new algorithm works perfectly on the ideal, boring curve:
    _______
   /
  /
hooke/plugin/vclamp.py
hooke/util/fit.py