From ad7cabe2386e044590ad146ea9c2289ca7b36ad7 Mon Sep 17 00:00:00 2001 From: AiYangSky <1732570904@qq.com> Date: Thu, 7 Dec 2023 17:42:46 +0800 Subject: [PATCH] recover debug info --- .../gimbal_detection_with_clicked_tracking.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/samples/demo/gimbal_detection_with_clicked_tracking.cpp b/samples/demo/gimbal_detection_with_clicked_tracking.cpp index b252259..a7c6623 100644 --- a/samples/demo/gimbal_detection_with_clicked_tracking.cpp +++ b/samples/demo/gimbal_detection_with_clicked_tracking.cpp @@ -245,14 +245,14 @@ void GimableCallback(double &frame_ang_r, double &frame_ang_p, double &frame_ang static int count = 0; if (count == 25) { - // std::cout << "GIMBAL_CMD_RCV_POS" << std::endl; - // std::cout << "=============================================" << std::endl; - // std::cout << "HALL_yaw:" << frame_ang_y << " " << std::endl; - // std::cout << "HALL_roll:" << frame_ang_r << " " << std::endl; - // std::cout << "HALL_pitch:" << frame_ang_p << " " << std::endl; - // std::cout << "GYRO_yaw:" << imu_ang_y << " " << std::endl; - // std::cout << "GYRO_roll:" << imu_ang_r << " " << std::endl; - // std::cout << "GYRO_pitch:" << imu_ang_p << " " << std::endl; + std::cout << "GIMBAL_CMD_RCV_POS" << std::endl; + std::cout << "=============================================" << std::endl; + std::cout << "HALL_yaw:" << frame_ang_y << " " << std::endl; + std::cout << "HALL_roll:" << frame_ang_r << " " << std::endl; + std::cout << "HALL_pitch:" << frame_ang_p << " " << std::endl; + std::cout << "GYRO_yaw:" << imu_ang_y << " " << std::endl; + std::cout << "GYRO_roll:" << imu_ang_r << " " << std::endl; + std::cout << "GYRO_pitch:" << imu_ang_p << " " << std::endl; count = 0; } count++;