Skip to content

Commit 2314021

Browse files
committed
remove redundant call
1 parent 075e985 commit 2314021

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,6 @@ impl Kinematics {
245245
let current_yaw = t_world_platform[(0, 1)].atan2(t_world_platform[(0, 0)]);
246246
let relative_yaw = body_yaw_target - current_yaw;
247247
body_yaw_target = current_yaw + relative_yaw.clamp(-max_rel_yaw, max_rel_yaw);
248-
body_yaw_target = body_yaw_target;
249248
}
250249
// then clamp the body yaw within +/- max_body_yaw
251250
// this is physically limited by the mechanical design

0 commit comments

Comments
 (0)