Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mobile_robotics
wolf_projects
wolf_ros
wolf_ros_laser
Commits
5da127d3
Commit
5da127d3
authored
Mar 30, 2022
by
Joan Vallvé Navarro
Browse files
registers in cpp
parent
70388ead
Changes
8
Hide whitespace changes
Inline
Side-by-side
include/publisher_falko.h
View file @
5da127d3
...
...
@@ -98,7 +98,6 @@ class PublisherFalko : public Publisher
std
::
map
<
FrameBasePtr
,
VectorComposite
>
map_frame_states
;
};
WOLF_REGISTER_PUBLISHER
(
PublisherFalko
)
}
// namespace wolf
#endif
include/publisher_laser_map.h
View file @
5da127d3
...
...
@@ -43,7 +43,8 @@
#include
"publisher.h"
using
namespace
wolf
;
namespace
wolf
{
struct
ScanData
{
...
...
@@ -127,4 +128,5 @@ inline Eigen::Vector2i PublisherLaserMap::vectorToCell(const Eigen::DenseBase<T>
return
cell
;
}
}
#endif
include/publisher_odom_icp.h
View file @
5da127d3
...
...
@@ -60,7 +60,6 @@ class PublisherOdomIcp: public Publisher
};
WOLF_REGISTER_PUBLISHER
(
PublisherOdomIcp
)
}
#endif
include/subscriber_laser2d.h
View file @
5da127d3
...
...
@@ -77,6 +77,5 @@ class SubscriberLaser2d : public Subscriber
void
callback
(
const
sensor_msgs
::
LaserScan
::
ConstPtr
&
msg
);
};
WOLF_REGISTER_SUBSCRIBER
(
SubscriberLaser2d
)
}
#endif
src/publisher_falko.cpp
View file @
5da127d3
...
...
@@ -377,4 +377,5 @@ void PublisherFalko::getPosition(Eigen::Vector3d &p, Eigen::Quaterniond &q, Vect
Eigen
::
AngleAxisd
(
_state
[
'O'
](
0
)
+
sensor_
->
getO
()
->
getState
()(
0
),
Eigen
::
Vector3d
::
UnitZ
()));
}
WOLF_REGISTER_PUBLISHER
(
PublisherFalko
)
}
// namespace wolf
src/publisher_laser_map.cpp
View file @
5da127d3
...
...
@@ -31,6 +31,9 @@
#include
<limits>
namespace
wolf
{
PublisherLaserMap
::
PublisherLaserMap
(
const
std
::
string
&
_unique_name
,
const
ParamsServer
&
_server
,
const
ProblemPtr
_problem
)
:
...
...
@@ -521,3 +524,4 @@ void PublisherLaserMap::updatePcMsg()
}
WOLF_REGISTER_PUBLISHER
(
PublisherLaserMap
)
}
\ No newline at end of file
src/publisher_odom_icp.cpp
View file @
5da127d3
...
...
@@ -94,4 +94,5 @@ void PublisherOdomIcp::publishDerived()
publisher_
.
publish
(
msg_
);
}
WOLF_REGISTER_PUBLISHER
(
PublisherOdomIcp
)
}
src/subscriber_laser2d.cpp
View file @
5da127d3
...
...
@@ -121,4 +121,5 @@ void SubscriberLaser2d::callback(const sensor_msgs::LaserScan::ConstPtr& msg)
new_capture
->
process
();
}
WOLF_REGISTER_SUBSCRIBER
(
SubscriberLaser2d
)
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment