Skip to content

Commit

Permalink
fix mistake in jerk limit (diff_drive_controller)
Browse files Browse the repository at this point in the history
  • Loading branch information
schadocalex committed Nov 28, 2018
1 parent 3512c3a commit 4f09a81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion diff_drive_controller/src/speed_limiter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ namespace diff_drive_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 4f09a81

Please sign in to comment.