Fix status

This commit is contained in:
2023-01-17 11:27:11 +02:00
parent dfcb30c1da
commit 60cb82b8d6

View File

@@ -59,7 +59,7 @@ class AxidrawController : public RobotController
result.wait(); result.wait();
std::string res_string = result.get()->status; std::string res_string = result.get()->status;
RCLCPP_INFO(this->get_logger(), "Called is_ready(), status: %s", res_string.c_str()); RCLCPP_INFO(this->get_logger(), "Called is_ready(), status: %s", res_string.c_str());
return res_string == "waiting"; return res_string == "ready";
} }
// Set limits for A4 paper: 297x210mm // Set limits for A4 paper: 297x210mm