diff --git a/source/modulo_controllers/test/test_controller_interface.cpp b/source/modulo_controllers/test/test_controller_interface.cpp index 0ee27fe8..5f3078e1 100644 --- a/source/modulo_controllers/test/test_controller_interface.cpp +++ b/source/modulo_controllers/test/test_controller_interface.cpp @@ -220,6 +220,11 @@ TYPED_TEST_P(ControllerInterfaceTest, OutputTest) { } TYPED_TEST_P(ControllerInterfaceTest, TF) { + EXPECT_THROW(this->interface_->add_tf_broadcaster(), modulo_core::exceptions::CoreException); + EXPECT_THROW(this->interface_->add_static_tf_broadcaster(), modulo_core::exceptions::CoreException); + EXPECT_THROW(this->interface_->add_tf_listener(), modulo_core::exceptions::CoreException); + auto send_early_tf = state_representation::CartesianPose::Random("test", "world"); + EXPECT_THROW(this->interface_->send_transform(send_early_tf), modulo_core::exceptions::CoreException); this->init(); this->interface_->add_tf_broadcaster(); this->interface_->add_static_tf_broadcaster();