From 49ab836b9c430c9f365b03dd98ca425eb3e557a3 Mon Sep 17 00:00:00 2001 From: joan <jvallve@iri.upc.edu> Date: Thu, 12 Mar 2020 17:54:04 +0100 Subject: [PATCH] subscriber empty but compiling --- CMakeLists.txt | 4 ++-- include/wolf_subscriber_imu.h | 6 +++--- src/wolf_subscriber_imu.cpp | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 9730599..f165cd6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -22,7 +22,7 @@ find_package(catkin REQUIRED COMPONENTS # find_package(Ceres REQUIRED) # find_package(Eigen3 REQUIRED) find_package(wolf REQUIRED) -find_package(wolfimu REQUIRED) +find_package(wolfIMU REQUIRED) ## Uncomment this if the package has a setup.py. This macro ensures ## modules and global scripts declared therein get installed @@ -125,7 +125,7 @@ include_directories( include ${EIGEN_INCLUDE_DIRS} ${wolf_INCLUDE_DIRS} - ${wolfimu_INCLUDE_DIRS} + ${wolfIMU_INCLUDE_DIRS} ${catkin_INCLUDE_DIRS} ${CERES_INCLUDE_DIRS} ) diff --git a/include/wolf_subscriber_imu.h b/include/wolf_subscriber_imu.h index b05cf2c..0150663 100644 --- a/include/wolf_subscriber_imu.h +++ b/include/wolf_subscriber_imu.h @@ -5,8 +5,8 @@ #include <core/common/wolf.h> #include <core/problem/problem.h> #include <core/utils/params_server.hpp> -#include <gnss/capture/capture_imu.h> -#include <gnss/sensor/sensor_imu.h> +#include <IMU/capture/capture_IMU.h> +#include <IMU/sensor/sensor_IMU.h> /************************** * ROS includes * @@ -39,6 +39,6 @@ class WolfSubscriberImu : public WolfSubscriber void callback(const sensor_msgs::Imu::ConstPtr& msg); - static std::shared_ptr<SubscriberWrapper> create(const std::string& _unique_name, const ParamsServer& _params, const SensorBasePtr _sensor_ptr); + static std::shared_ptr<WolfSubscriber> create(const std::string& _unique_name, const ParamsServer& _params, const SensorBasePtr _sensor_ptr); }; WOLF_REGISTER_SUBSCRIBER(WolfSubscriberImu) diff --git a/src/wolf_subscriber_imu.cpp b/src/wolf_subscriber_imu.cpp index c406ff7..43942a1 100644 --- a/src/wolf_subscriber_imu.cpp +++ b/src/wolf_subscriber_imu.cpp @@ -4,7 +4,7 @@ using namespace wolf; // Constructor WolfSubscriberImu::WolfSubscriberImu(const SensorBasePtr& sensor_ptr) : - Subscriber(sensor_ptr) + WolfSubscriber(sensor_ptr) { } -- GitLab