From 73e34863a18531ce2b10ef7b11c5cffd6cb93fd7 Mon Sep 17 00:00:00 2001 From: fan-ziqi Date: Mon, 8 Apr 2024 20:34:48 +0800 Subject: [PATCH] fix: open robot_state output --- src/rl_sar/src/rl_real_cyberdog.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/rl_sar/src/rl_real_cyberdog.cpp b/src/rl_sar/src/rl_real_cyberdog.cpp index 851593d..116bf08 100644 --- a/src/rl_sar/src/rl_real_cyberdog.cpp +++ b/src/rl_sar/src/rl_real_cyberdog.cpp @@ -71,9 +71,9 @@ void RL_Real::RobotControl() // cyberdogData.qd[9], cyberdogData.qd[10], cyberdogData.qd[11], // cyberdogData.qd[6], cyberdogData.qd[7], cyberdogData.qd[8]); - // std::cout << "robot_state" << keyboard.robot_state - // << " x" << keyboard.x << " y" << keyboard.y << " yaw" << keyboard.yaw - // << "\r"; + std::cout << "robot_state" << keyboard.robot_state + << " x" << keyboard.x << " y" << keyboard.y << " yaw" << keyboard.yaw + << "\r"; motiontime++;