Fixed robot moving more than I want it to
This commit is contained in:
1 parent
379fa62ebf
commit
0c33502b90
1 file changed
+1
@@ -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;
|
||||||
|
|||||||
Reference in new issue
Block a user