Skip to content

Commit 98cc34c

Browse files
committed
Fixed test_script_command_interface
1 parent 48eea48 commit 98cc34c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tests/test_script_command_interface.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,10 @@ TEST_F(ScriptCommandInterfaceTest, test_force_mode)
252252
urcl::vector6d_t wrench = { 20, 0, 40, 0, 0, 0 };
253253
int32_t force_mode_type = 2;
254254
urcl::vector6d_t limits = { 0.1, 0.1, 0.1, 0.785, 0.785, 1.57 };
255-
script_command_interface_->startForceMode(&task_frame, &selection_vector, &wrench, force_mode_type, &limits);
255+
float damping = 0.8;
256+
float gain_scaling = 0.8;
257+
script_command_interface_->startForceMode(&task_frame, &selection_vector, &wrench, force_mode_type, &limits, damping,
258+
gain_scaling);
256259

257260
int32_t command;
258261
std::vector<int32_t> message;

0 commit comments

Comments
 (0)