From ea727f7dc5dc8a15b15e1c742638d3fbc1c0b920 Mon Sep 17 00:00:00 2001
From: "pre-commit-ci[bot]"
 <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Date: Fri, 23 Jun 2023 10:03:21 +0000
Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
---
 src/ros_publish.hxx         | 3 ++-
 src/ros_queued_subscribe.hh | 5 +++--
 src/ros_subscribe.hh        | 5 +++--
 src/ros_subscribe.hxx       | 6 ++++--
 4 files changed, 12 insertions(+), 7 deletions(-)

diff --git a/src/ros_publish.hxx b/src/ros_publish.hxx
index 5f8c6bf..252a47d 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 6a674f9..d0593c5 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 21a8a09..b828cb5 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 ff98e9e..bafa8a3 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();
 
-- 
GitLab