From 880f05bb47bd4149d5686d067270cc17d6efdc19 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20Gr=C3=B6ger?= <tobias.groeger@student.kit.edu> Date: Mon, 29 Apr 2024 22:25:11 +0200 Subject: [PATCH] T --- ...tHolonomicPlatformVelocityControllerWithRamp.cpp | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/source/RobotAPI/components/units/RobotUnit/NJointControllers/NJointHolonomicPlatformVelocityControllerWithRamp.cpp b/source/RobotAPI/components/units/RobotUnit/NJointControllers/NJointHolonomicPlatformVelocityControllerWithRamp.cpp index ea3da74f6..5e5b1c9ee 100644 --- a/source/RobotAPI/components/units/RobotUnit/NJointControllers/NJointHolonomicPlatformVelocityControllerWithRamp.cpp +++ b/source/RobotAPI/components/units/RobotUnit/NJointControllers/NJointHolonomicPlatformVelocityControllerWithRamp.cpp @@ -153,14 +153,11 @@ namespace armarx { // if (state.norm() >= oldState.norm()) // { - std::stringstream ss; - ss << "====TargetZero:\nTarget:\n" - << target << "\nstate:\n" - << state << "\noldst:\n" - << oldState << "\ndelta:\n" - << delta << "\nfactor: " << factor << "\n====\n"; - std::string s = ss.str(); - ARMARX_RT_LOGF_IMPORTANT("%s", s.c_str()); + ARMARX_RT_LOGF_IMPORTANT("Target %d %d %d", target(0), target(1), target(2)); + ARMARX_RT_LOGF_IMPORTANT("OStte %d %d %d", oldState(0), oldState(1), oldState(2)); + ARMARX_RT_LOGF_IMPORTANT("State %d %d %d", state(0), state(1), state(2)); + ARMARX_RT_LOGF_IMPORTANT("Delta %d %d %d", delta(0), delta(1), delta(2)); + ARMARX_RT_LOGF_IMPORTANT("Factor %d", factor); if (state.norm() > oldState.norm()) { ARMARX_RT_LOGF_IMPORTANT("!!!!NORM INVALID!!!!"); -- GitLab