Skip to content

Commit

Permalink
fix: expose more functions and init controller
Browse files Browse the repository at this point in the history
  • Loading branch information
bpapaspyros committed Dec 5, 2024
1 parent a0e2a43 commit 9f3b4ec
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions source/modulo_controllers/test/test_controller_interface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,15 @@ class FriendControllerInterface : public ControllerInterface {
public:
using ControllerInterface::add_input;
using ControllerInterface::add_output;
using ControllerInterface::add_static_tf_broadcaster;
using ControllerInterface::add_tf_broadcaster;
using ControllerInterface::add_tf_listener;
using ControllerInterface::lookup_transform;
using ControllerInterface::read_input;
using ControllerInterface::send_static_transform;
using ControllerInterface::send_static_transforms;
using ControllerInterface::send_transform;
using ControllerInterface::send_transforms;
using ControllerInterface::write_output;

private:
Expand Down Expand Up @@ -213,6 +220,7 @@ TYPED_TEST_P(ControllerInterfaceTest, OutputTest) {
}

TYPED_TEST_P(ControllerInterfaceTest, TF) {
this->init();
this->interface_->add_tf_broadcaster();
this->interface_->add_static_tf_broadcaster();
this->interface_->add_tf_listener();
Expand Down

0 comments on commit 9f3b4ec

Please sign in to comment.