Skip to content

Commit

Permalink
Make function arguments const
Browse files Browse the repository at this point in the history
  • Loading branch information
christophfroehlich committed Oct 9, 2023
1 parent 3f28f8f commit 2fc6935
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion steering_controllers_library/src/steering_odometry.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ double SteeringOdometry::convert_trans_rot_vel_to_steering_angle(double Vx, doub
}

std::tuple<std::vector<double>, std::vector<double>> SteeringOdometry::get_commands(
double Vx, double theta_dot)
const double Vx, const double theta_dot)
{
// desired velocity and steering angle of the middle of traction and steering axis
double Ws, alpha;
Expand Down

0 comments on commit 2fc6935

Please sign in to comment.