Commit 5da127d3 authored by Joan Vallvé Navarro's avatar Joan Vallvé Navarro
Browse files

registers in cpp

parent 70388ead
......@@ -98,7 +98,6 @@ class PublisherFalko : public Publisher
std::map<FrameBasePtr, VectorComposite> map_frame_states;
};
WOLF_REGISTER_PUBLISHER(PublisherFalko)
} // namespace wolf
#endif
......@@ -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
......@@ -60,7 +60,6 @@ class PublisherOdomIcp: public Publisher
};
WOLF_REGISTER_PUBLISHER(PublisherOdomIcp)
}
#endif
......@@ -77,6 +77,5 @@ class SubscriberLaser2d : public Subscriber
void callback(const sensor_msgs::LaserScan::ConstPtr& msg);
};
WOLF_REGISTER_SUBSCRIBER(SubscriberLaser2d)
}
#endif
......@@ -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
......@@ -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
......@@ -94,4 +94,5 @@ void PublisherOdomIcp::publishDerived()
publisher_.publish(msg_);
}
WOLF_REGISTER_PUBLISHER(PublisherOdomIcp)
}
......@@ -121,4 +121,5 @@ void SubscriberLaser2d::callback(const sensor_msgs::LaserScan::ConstPtr& msg)
new_capture->process();
}
WOLF_REGISTER_SUBSCRIBER(SubscriberLaser2d)
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment