Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
wolf_ros_imu
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mobile_robotics
wolf_projects
wolf_ros
wolf_ros_imu
Commits
49ab836b
Commit
49ab836b
authored
5 years ago
by
Joan Vallvé Navarro
Browse files
Options
Downloads
Patches
Plain Diff
subscriber empty but compiling
parent
d12e94a3
No related branches found
No related tags found
2 merge requests
!5
After cmake and const refactor
,
!3
new release
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
CMakeLists.txt
+2
-2
2 additions, 2 deletions
CMakeLists.txt
include/wolf_subscriber_imu.h
+3
-3
3 additions, 3 deletions
include/wolf_subscriber_imu.h
src/wolf_subscriber_imu.cpp
+1
-1
1 addition, 1 deletion
src/wolf_subscriber_imu.cpp
with
6 additions
and
6 deletions
CMakeLists.txt
+
2
−
2
View file @
49ab836b
...
...
@@ -22,7 +22,7 @@ find_package(catkin REQUIRED COMPONENTS
# find_package(Ceres REQUIRED)
# find_package(Eigen3 REQUIRED)
find_package
(
wolf REQUIRED
)
find_package
(
wolf
imu
REQUIRED
)
find_package
(
wolf
IMU
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
}
${
wolf
imu
_INCLUDE_DIRS
}
${
wolf
IMU
_INCLUDE_DIRS
}
${
catkin_INCLUDE_DIRS
}
${
CERES_INCLUDE_DIRS
}
)
...
...
This diff is collapsed.
Click to expand it.
include/wolf_subscriber_imu.h
+
3
−
3
View file @
49ab836b
...
...
@@ -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
<
Subscriber
Wrapper
>
create
(
const
std
::
string
&
_unique_name
,
const
ParamsServer
&
_params
,
const
SensorBasePtr
_sensor_ptr
);
static
std
::
shared_ptr
<
Wolf
Subscriber
>
create
(
const
std
::
string
&
_unique_name
,
const
ParamsServer
&
_params
,
const
SensorBasePtr
_sensor_ptr
);
};
WOLF_REGISTER_SUBSCRIBER
(
WolfSubscriberImu
)
This diff is collapsed.
Click to expand it.
src/wolf_subscriber_imu.cpp
+
1
−
1
View file @
49ab836b
...
...
@@ -4,7 +4,7 @@ using namespace wolf;
// Constructor
WolfSubscriberImu
::
WolfSubscriberImu
(
const
SensorBasePtr
&
sensor_ptr
)
:
Subscriber
(
sensor_ptr
)
Wolf
Subscriber
(
sensor_ptr
)
{
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment