Skip to content

Commit

Permalink
Fix position prescribed friction for both moving directions
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kormann committed May 10, 2023
1 parent 7e917b4 commit f689295
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ equation
a_relfric/unitAcceleration = if locked then 0 else if free then sa else
if startForward then sa - f0_max/unitForce else if startBackward then
sa + f0_max/unitForce else if pre(mode) == Forward then sa - f0_max/
unitForce else sa + f0_max/unitForce;
unitForce else sa - sign(v_relfric)*f0_max/unitForce;

/* Friction force "f" has to be defined in a subclass. Example for possible
realization of a brake utilizing interpolation by ExternalCombiTable1D see:
Expand Down

0 comments on commit f689295

Please sign in to comment.