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

cosmetics

parent 57ed05fd
No related branches found
No related tags found
1 merge request!14After cmake and const refactor
......@@ -55,7 +55,7 @@ WOLF_PTR_TYPEDEFS(Publisher);
const ParamsServer& _server, \
ProblemConstPtr _problem, \
ros::NodeHandle& _nh) \
{ \
{ \
PublisherPtr pub = std::make_shared<PublisherClass>(_unique_name, _server, _problem); \
pub->initialize(_nh, pub->getTopic()); \
return pub; \
......@@ -99,6 +99,8 @@ class Publisher
std::string getName() const;
void printProfiling(std::ostream& stream = std::cout) const;
protected:
template<typename T>
......@@ -121,9 +123,6 @@ class Publisher
unsigned int n_publish_;
std::chrono::microseconds acc_duration_;
std::chrono::microseconds max_duration_;
public:
void printProfiling(std::ostream& stream = std::cout) const;
};
inline std::string Publisher::getTopic() const
......
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