From dec8b29c3c4b3c42db8e47a9e1c681c2d4f45ed8 Mon Sep 17 00:00:00 2001 From: Sucan126 <632190820@qq.com> Date: Mon, 8 Sep 2025 19:58:26 +0800 Subject: [PATCH] Update RobotStateClient timeout to use float literal for consistency. This change ensures type correctness in the timeout setting within the CustomRobot initialization process. --- src/custom_robot.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/custom_robot.cpp b/src/custom_robot.cpp index a59739b..79fe9db 100644 --- a/src/custom_robot.cpp +++ b/src/custom_robot.cpp @@ -58,7 +58,7 @@ bool CustomRobot::initialize() { controller_->initialize(); rsc_ = std::make_unique(); - rsc_->SetTimeout(3.0); + rsc_->SetTimeout(3.0f); rsc_->Init(); if (!initializeMqtt()) {