From 60cb82b8d6e25680952b1a146815356606e033e6 Mon Sep 17 00:00:00 2001 From: Nicolas Hiillos Date: Tue, 17 Jan 2023 11:27:11 +0200 Subject: [PATCH] Fix status --- src/axidraw_controller/src/cpp/axidraw_controller.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/axidraw_controller/src/cpp/axidraw_controller.cpp b/src/axidraw_controller/src/cpp/axidraw_controller.cpp index 16374db..69d3095 100644 --- a/src/axidraw_controller/src/cpp/axidraw_controller.cpp +++ b/src/axidraw_controller/src/cpp/axidraw_controller.cpp @@ -59,7 +59,7 @@ class AxidrawController : public RobotController result.wait(); std::string res_string = result.get()->status; 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