From ba32d50158cec8689b9b0eb3fcf47f61477a4796 Mon Sep 17 00:00:00 2001 From: Tomas Baca Date: Wed, 8 May 2024 17:56:43 +0200 Subject: [PATCH] fixed tests --- test/control_manager/eland_innovation/test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/control_manager/eland_innovation/test.cpp b/test/control_manager/eland_innovation/test.cpp index cd53ec5..69c8599 100644 --- a/test/control_manager/eland_innovation/test.cpp +++ b/test/control_manager/eland_innovation/test.cpp @@ -24,7 +24,7 @@ class Tester : public mrs_uav_testing::TestGeneric { Tester::Tester() : mrs_uav_testing::TestGeneric() { - sh_hw_api_odom_ = mrs_lib::SubscribeHandler(shopts_, "/" + _uav_name_ + "/hw_api/odometry_unchanged", &Tester::callbackOdometry, this); + sh_hw_api_odom_ = mrs_lib::SubscribeHandler(*shopts_, "/" + _uav_name_ + "/hw_api/odometry_unchanged", &Tester::callbackOdometry, this); ph_odometry_ = mrs_lib::PublisherHandler(nh_, "/" + _uav_name_ + "/hw_api/odometry"); }