Skip to content

Commit

Permalink
fix mistake in jerk limit
Browse files Browse the repository at this point in the history
  • Loading branch information
schadocalex committed Nov 28, 2018
1 parent 723c4e9 commit 3512c3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion four_wheel_steering_controller/src/speed_limiter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ namespace four_wheel_steering_controller
const double dv = v - v0;
const double dv0 = v0 - v1;

const double dt2 = 2. * dt * dt;
const double dt2 = dt * dt;

const double da_min = min_jerk * dt2;
const double da_max = max_jerk * dt2;
Expand Down

0 comments on commit 3512c3a

Please sign in to comment.