From 98cc34c492e6a13d9c9d4fdce72e6fff5592fd9c Mon Sep 17 00:00:00 2001 From: URJala Date: Tue, 9 Jul 2024 10:44:12 +0000 Subject: [PATCH] Fixed test_script_command_interface --- tests/test_script_command_interface.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/test_script_command_interface.cpp b/tests/test_script_command_interface.cpp index 682adba6..63f36369 100644 --- a/tests/test_script_command_interface.cpp +++ b/tests/test_script_command_interface.cpp @@ -252,7 +252,10 @@ TEST_F(ScriptCommandInterfaceTest, test_force_mode) urcl::vector6d_t wrench = { 20, 0, 40, 0, 0, 0 }; int32_t force_mode_type = 2; urcl::vector6d_t limits = { 0.1, 0.1, 0.1, 0.785, 0.785, 1.57 }; - script_command_interface_->startForceMode(&task_frame, &selection_vector, &wrench, force_mode_type, &limits); + float damping = 0.8; + float gain_scaling = 0.8; + script_command_interface_->startForceMode(&task_frame, &selection_vector, &wrench, force_mode_type, &limits, damping, + gain_scaling); int32_t command; std::vector message;