diff --git a/src/ros_publish.hxx b/src/ros_publish.hxx index 5f8c6bff9df1b5a71eafaffc42d1902839929540..252a47de63e4ffe7b32101e83ba523ab90cdb465 100644 --- a/src/ros_publish.hxx +++ b/src/ros_publish.hxx @@ -16,7 +16,8 @@ inline void RosPublish::sendData<std::pair<sot::MatrixHomogeneous, Vector> >( publisher, boost::shared_ptr< SotToRos<std::pair<sot::MatrixHomogeneous, Vector> >::signalIn_t> - signal, sigtime_t time) { + signal, + sigtime_t time) { SotToRos<std::pair<sot::MatrixHomogeneous, Vector> >::ros_t result; if (publisher->trylock()) { publisher->msg_.child_frame_id = "/dynamic_graph/world"; diff --git a/src/ros_queued_subscribe.hh b/src/ros_queued_subscribe.hh index 6a674f98a94ab1c27539888185a9827b7082d9d1..d0593c5f393c68a8b877e2f818f9ddee075cf011 100644 --- a/src/ros_queued_subscribe.hh +++ b/src/ros_queued_subscribe.hh @@ -176,8 +176,9 @@ class RosQueuedSubscribe : public dynamicgraph::Entity { ros::NodeHandle& nh() { return nh_; } template <typename R, typename S> - void callback(boost::shared_ptr<dynamicgraph::SignalPtr<S, sigtime_t> > - signal, const R& data); + void callback( + boost::shared_ptr<dynamicgraph::SignalPtr<S, sigtime_t> > signal, + const R& data); template <typename R> void callbackTimestamp( diff --git a/src/ros_subscribe.hh b/src/ros_subscribe.hh index 21a8a09722b07a5f8598aed153f6802f85637a91..b828cb5d8998255949114f66a7ebebda2b8066e7 100644 --- a/src/ros_subscribe.hh +++ b/src/ros_subscribe.hh @@ -71,8 +71,9 @@ class RosSubscribe : public dynamicgraph::Entity { ros::NodeHandle& nh() { return nh_; } template <typename R, typename S> - void callback(boost::shared_ptr<dynamicgraph::SignalPtr<S, sigtime_t> > - signal, const R& data); + void callback( + boost::shared_ptr<dynamicgraph::SignalPtr<S, sigtime_t> > signal, + const R& data); template <typename R> void callbackTimestamp( diff --git a/src/ros_subscribe.hxx b/src/ros_subscribe.hxx index ff98e9e671ff680223343117059e34df6d1f2479..bafa8a34c41bf8bfe645609a6cf4a5c415eb3095 100644 --- a/src/ros_subscribe.hxx +++ b/src/ros_subscribe.hxx @@ -18,7 +18,8 @@ namespace dg = dynamicgraph; namespace dynamicgraph { template <typename R, typename S> void RosSubscribe::callback( - boost::shared_ptr<dynamicgraph::SignalPtr<S, sigtime_t> > signal, const R& data) { + boost::shared_ptr<dynamicgraph::SignalPtr<S, sigtime_t> > signal, + const R& data) { typedef S sot_t; sot_t value; converter(value, data); @@ -101,7 +102,8 @@ struct Add<std::pair<T, dg::Vector> > { RosSubscribe.bindedSignal()[signal] = bindedSignal; // Timestamp. - typedef dynamicgraph::SignalPtr<RosSubscribe::ptime, sigtime_t> signalTimestamp_t; + typedef dynamicgraph::SignalPtr<RosSubscribe::ptime, sigtime_t> + signalTimestamp_t; std::string signalTimestamp = (boost::format("%1%%2%") % signal % "Timestamp").str();