Skip to content

Commit

Permalink
Always reset the smoothing filter when paused
Browse files Browse the repository at this point in the history
  • Loading branch information
AndyZe committed Aug 12, 2024
1 parent a696127 commit 37bc770
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions moveit_ros/moveit_servo/src/servo_node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,7 @@ void ServoNode::servoLoop()
// Skip processing if servoing is disabled.
if (servo_paused_)
{
servo_->resetSmoothing(current_state);
servo_frequency.sleep();
continue;
}
Expand Down

0 comments on commit 37bc770

Please sign in to comment.