diff --git a/CMakeLists.txt b/CMakeLists.txt index 9730599eccfcf4c95a3a3b747a9ef6415333787e..f165cd6662d8f9ba8bebbf94d3fd46f4a7767b23 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 b05cf2c169630503a7dbce3ece21c5b8b276b9e9..015066328c77267179491cf10701cc5b5129372d 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 c406ff788ad15d7f2d801071aa49922da2fc19c6..43942a1dcf6469fbcf916ba71940b3488a45e785 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) { }