@@ -143,12 +143,12 @@ TEST_F(RTDEClientTest, invalid_target_frequency)
143143{
144144 // Setting target frequency below 0 or above 500, should throw an exception
145145 client_.reset (
146- new rtde_interface::RTDEClient (ROBOT_IP, notifier_, output_recipe_file_, input_recipe_file_, false , -1.0 ));
146+ new rtde_interface::RTDEClient (ROBOT_IP, notifier_, output_recipe_file_, input_recipe_file_, -1.0 , false ));
147147
148148 EXPECT_THROW (client_->init (), UrException);
149149
150150 client_.reset (
151- new rtde_interface::RTDEClient (ROBOT_IP, notifier_, output_recipe_file_, input_recipe_file_, false , 1000 ));
151+ new rtde_interface::RTDEClient (ROBOT_IP, notifier_, output_recipe_file_, input_recipe_file_, 1000 , false ));
152152
153153 EXPECT_THROW (client_->init (), UrException);
154154}
@@ -167,7 +167,7 @@ TEST_F(RTDEClientTest, unconfigured_target_frequency)
167167
168168TEST_F (RTDEClientTest, set_target_frequency)
169169{
170- client_.reset (new rtde_interface::RTDEClient (ROBOT_IP, notifier_, output_recipe_file_, input_recipe_file_, false , 1 ));
170+ client_.reset (new rtde_interface::RTDEClient (ROBOT_IP, notifier_, output_recipe_file_, input_recipe_file_, 1 , false ));
171171 client_->init ();
172172
173173 // Maximum frequency should still be equal to the robot's maximum frequency
@@ -376,8 +376,8 @@ TEST_F(RTDEClientTest, check_all_rtde_output_variables_exist)
376376 client_->init ();
377377
378378 // Ignore unknown output variables to account for variables not available in old urcontrol versions.
379- client_.reset (
380- new rtde_interface::RTDEClient (ROBOT_IP, notifier_, exhaustive_output_recipe_file_, input_recipe_file_ , true ));
379+ client_.reset (new rtde_interface::RTDEClient (ROBOT_IP, notifier_, exhaustive_output_recipe_file_, input_recipe_file_,
380+ 0.0 , true ));
381381
382382 EXPECT_NO_THROW (client_->init ());
383383 client_->start ();
@@ -405,8 +405,8 @@ TEST_F(RTDEClientTest, check_unknown_rtde_output_variable)
405405 std::vector<std::string> incorrect_output_recipe = client_->getOutputRecipe ();
406406 incorrect_output_recipe.push_back (" unknown_rtde_variable" );
407407
408- client_.reset (
409- new rtde_interface::RTDEClient (ROBOT_IP, notifier_, incorrect_output_recipe, resources_input_recipe_ , false ));
408+ client_.reset (new rtde_interface::RTDEClient (ROBOT_IP, notifier_, incorrect_output_recipe, resources_input_recipe_,
409+ 0.0 , false ));
410410
411411 EXPECT_THROW (client_->init (), UrException);
412412}
0 commit comments