Skip to content

Commit

Permalink
set filter state when no commands (#3027)
Browse files Browse the repository at this point in the history
Signed-off-by: Paul Gesel <[email protected]>
  • Loading branch information
pac48 authored Oct 29, 2024
1 parent 02ebcba commit ae05a5e
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 @@ -383,6 +383,7 @@ void ServoNode::servoLoop()
{
// if no new command was created, use current robot state
updateSlidingWindow(current_state, joint_cmd_rolling_window_, servo_params_.max_expected_latency, cur_time);
servo_->resetSmoothing(current_state);
}

status_msg.code = static_cast<int8_t>(servo_->getStatus());
Expand Down

0 comments on commit ae05a5e

Please sign in to comment.