Skip to content

Commit

Permalink
Removed additional sign multiplication (ros-navigation#3088)
Browse files Browse the repository at this point in the history
  • Loading branch information
automech-rb authored Aug 19, 2022
1 parent 82a16dc commit ef76b5b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ geometry_msgs::msg::TwistStamped RegulatedPurePursuitController::computeVelocity
linear_vel, sign);

// Apply curvature to angular velocity after constraining linear velocity
angular_vel = sign * linear_vel * curvature;
angular_vel = linear_vel * curvature;
}

// Collision checking on this velocity heading
Expand Down

0 comments on commit ef76b5b

Please sign in to comment.