@@ -142,11 +142,13 @@ TEST_F(RTDEClientTest, empty_recipe_file)
142142TEST_F (RTDEClientTest, invalid_target_frequency)
143143{
144144 // Setting target frequency below 0 or above 500, should throw an exception
145- client_.reset (new rtde_interface::RTDEClient (ROBOT_IP, notifier_, output_recipe_file_, input_recipe_file_, -1.0 ));
145+ client_.reset (
146+ new rtde_interface::RTDEClient (ROBOT_IP, notifier_, output_recipe_file_, input_recipe_file_, false , -1.0 ));
146147
147148 EXPECT_THROW (client_->init (), UrException);
148149
149- client_.reset (new rtde_interface::RTDEClient (ROBOT_IP, notifier_, output_recipe_file_, input_recipe_file_, 1000 ));
150+ client_.reset (
151+ new rtde_interface::RTDEClient (ROBOT_IP, notifier_, output_recipe_file_, input_recipe_file_, false , 1000 ));
150152
151153 EXPECT_THROW (client_->init (), UrException);
152154}
@@ -165,7 +167,7 @@ TEST_F(RTDEClientTest, unconfigured_target_frequency)
165167
166168TEST_F (RTDEClientTest, set_target_frequency)
167169{
168- client_.reset (new rtde_interface::RTDEClient (ROBOT_IP, notifier_, output_recipe_file_, input_recipe_file_, 1 ));
170+ client_.reset (new rtde_interface::RTDEClient (ROBOT_IP, notifier_, output_recipe_file_, input_recipe_file_, false , 1 ));
169171 client_->init ();
170172
171173 // Maximum frequency should still be equal to the robot's maximum frequency
0 commit comments