Skip to content

Commit

Permalink
Fixed typo.
Browse files Browse the repository at this point in the history
  • Loading branch information
tonybaltovski committed Nov 19, 2024
1 parent 0cd1f1a commit b8a607e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/marker_server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ void TwistServerNode::processFeedback(
vel_msg.angular.z = std::min(vel_msg.angular.z, max_angular_velocity);
vel_msg.angular.z = std::max(vel_msg.angular.z, -max_angular_velocity);

if (linear_drive_scale_map.find("x") != linear_drive_scale_map.end()
if (linear_drive_scale_map.find("x") != linear_drive_scale_map.end())
{
vel_msg.linear.x = linear_drive_scale_map["x"] * feedback->pose.position.x;
vel_msg.linear.x = std::min(vel_msg.linear.x, max_positive_linear_velocity_map["x"]);
Expand Down

0 comments on commit b8a607e

Please sign in to comment.