Skip to content
Snippets Groups Projects
Commit 49ab836b authored by Joan Vallvé Navarro's avatar Joan Vallvé Navarro
Browse files

subscriber empty but compiling

parent d12e94a3
No related branches found
No related tags found
2 merge requests!5After cmake and const refactor,!3new release
......@@ -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}
)
......
......@@ -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)
......@@ -4,7 +4,7 @@ using namespace wolf;
// Constructor
WolfSubscriberImu::WolfSubscriberImu(const SensorBasePtr& sensor_ptr) :
Subscriber(sensor_ptr)
WolfSubscriber(sensor_ptr)
{
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment