From 3fea6979e7d5b85d64904aeedbc60e84127fe952 Mon Sep 17 00:00:00 2001 From: Christoph Froehlich Date: Mon, 22 Apr 2024 14:30:59 +0000 Subject: [PATCH] Fix format --- gz_ros2_control/src/gz_system.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gz_ros2_control/src/gz_system.cpp b/gz_ros2_control/src/gz_system.cpp index 76495698..ac5cc8d1 100644 --- a/gz_ros2_control/src/gz_system.cpp +++ b/gz_ros2_control/src/gz_system.cpp @@ -287,8 +287,8 @@ bool GazeboSimSystem::initSim( if (it != hardware_info.mimic_joints.end()) { RCLCPP_INFO_STREAM( this->nh_->get_logger(), - "Joint '" << joint_name << "'is mimicking joint '" << - this->dataPtr->joints_[it->mimicked_joint_index].name << + "Joint '" << joint_name << "'is mimicking joint '" << + this->dataPtr->joints_[it->mimicked_joint_index].name << "' with multiplier: " << it->multiplier << " and offset: " << it->offset); } @@ -708,7 +708,7 @@ hardware_interface::return_type GazeboSimSystem::write( sim::components::JointVelocityCmd({velocity_sp})); } else if (!vel->Data().empty()) { vel->Data()[0] = velocity_sp; - } + } } return hardware_interface::return_type::OK;