From 8c00473fd7043eb22787ef8213a8bb980368ef11 Mon Sep 17 00:00:00 2001 From: Atsushi Watanabe Date: Mon, 25 Mar 2024 09:47:06 +0900 Subject: [PATCH] Apply code format --- src/ypspur_ros.cpp | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/ypspur_ros.cpp b/src/ypspur_ros.cpp index 07fb522..be67ccf 100644 --- a/src/ypspur_ros.cpp +++ b/src/ypspur_ros.cpp @@ -641,10 +641,13 @@ class YpspurRosNode { std::vector args = { - ypspur_bin_, - "-d", port_, - "--admask", ad_mask, - "--msq-key", std::to_string(key_) + ypspur_bin_, + "-d", + port_, + "--admask", + ad_mask, + "--msq-key", + std::to_string(key_), }; if (digital_input_enable_) args.push_back(std::string("--enable-get-digital-io")); @@ -1038,7 +1041,6 @@ class YpspurRosNode previous_joints_stamp_ = joint.header.stamp; } - for (unsigned int i = 0; i < joints_.size(); i++) { joint_trans[i].transform.rotation = tf2::toMsg(tf2::Quaternion(z_axis_, joint.position[i]));