When the task is stopped, FU publishes nothing
This commit is contained in:
parent
f1e4c24d51
commit
6227a8a18c
@ -862,12 +862,6 @@ class fu_node : public rclcpp::Node
|
||||
|
||||
publishControlCommand();
|
||||
}
|
||||
else
|
||||
{
|
||||
state_machine_->publish_speed = 0;
|
||||
state_machine_->publish_angle = 0;
|
||||
publishControlCommand(false, true);
|
||||
}
|
||||
}
|
||||
|
||||
// =====================================================================
|
||||
|
||||
Loading…
Reference in New Issue
Block a user