Fixed robot moving more than I want it to

This commit is contained in:
2024-12-08 12:56:41 +01:00
parent 379fa62ebf
commit 0c33502b90

View File

@ -212,6 +212,7 @@ private:
rate.sleep(); rate.sleep();
} }
if(rclcpp::ok()) { if(rclcpp::ok()) {
command_publisher_->publish(to_twist(0.0 ,0.0));
auto x = std::make_shared<MoveAction::Result>(); auto x = std::make_shared<MoveAction::Result>();
x->error = MoveAction::Result::SUCCESS; x->error = MoveAction::Result::SUCCESS;
is_processing_goal_ = false; is_processing_goal_ = false;