experience and innovation

Now Hiring!

-------------------------------------------------------------------------------
   Rotary friction model using differentiable functions. 
   This model uses functions that are differentiable making it suitable for 
   numerical simulations. 
   See also RWA.m and SmoothFrictionDemo.
-------------------------------------------------------------------------------
   Form:
   f = FrictionSmooth( x, d )
-------------------------------------------------------------------------------

   ------
   Inputs
   ------
   x			  (:)     rate
   d			  (:)     .fStatic   - Static friction maximum
                         .kStatic   - Static friction scaling coefficient
                         .fCoulomb  - Coulomb friction maximum
                         .kCoulomb  - Coulomb friction scaling coefficient
                                      (higher means a faster rise)
                         .bViscous  - Viscous friction coefficient

   -------
   Outputs
   -------
   f             (:)    Friction

-------------------------------------------------------------------------------