When the task is stopped, FU publishes nothing

This commit is contained in:
Alvin-lyq 2026-05-14 16:06:52 +08:00
parent f1e4c24d51
commit 6227a8a18c

View File

@ -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);
}
}
// =====================================================================