Skip to content

Commit 680c74b

Browse files
schadocalexbmagyar
authored andcommitted
fix mistake in jerk limit
1 parent fecd7b5 commit 680c74b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

four_wheel_steering_controller/src/speed_limiter.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ namespace four_wheel_steering_controller
115115
const double dv = v - v0;
116116
const double dv0 = v0 - v1;
117117

118-
const double dt2 = 2. * dt * dt;
118+
const double dt2 = dt * dt;
119119

120120
const double da_min = min_jerk * dt2;
121121
const double da_max = max_jerk * dt2;

0 commit comments

Comments
 (0)