Skip to content
This repository was archived by the owner on Oct 17, 2025. It is now read-only.

Commit 4d238cc

Browse files
committed
Cpplint
1 parent 88a501a commit 4d238cc

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

gazebo_ros2_control/src/gazebo_ros2_control_plugin.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,6 @@ GazeboRosControlPlugin::~GazeboRosControlPlugin()
140140
// Overloaded Gazebo entry point
141141
void GazeboRosControlPlugin::Load(gazebo::physics::ModelPtr parent, sdf::ElementPtr sdf)
142142
{
143-
144143
// Create and init a new Gazebo transport node
145144
impl_->transport_nh_ = boost::shared_ptr<gazebo::transport::Node>(new gazebo::transport::Node());
146145
impl_->transport_nh_->Init(parent->GetName());

gazebo_ros2_control/src/gazebo_system.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -481,7 +481,6 @@ void GazeboSystem::registerGazeboTopics(
481481
std::string initial_v = info.command_interfaces[i].initial_value;
482482

483483
if (if_name != "position" && if_name != "velocity" && if_name != "effort") {
484-
485484
auto & ref = this->dataPtr->gazebo_topic_cmd_.emplace_back(0.0);
486485

487486
this->dataPtr->command_interfaces_.emplace_back(
@@ -508,7 +507,6 @@ void GazeboSystem::registerGazeboTopics(
508507
std::string if_name = info.state_interfaces[i].name;
509508

510509
if (if_name != "position" && if_name != "velocity" && if_name != "effort") {
511-
512510
this->dataPtr->gazebo_topic_fbk_.emplace_back(0.0);
513511

514512
int idx = this->dataPtr->gazebo_topic_fbk_.size() - 1;
@@ -538,7 +536,6 @@ void GazeboSystem::registerGazeboTopics(
538536
std::string if_name = info.state_interfaces[i].name;
539537

540538
if (if_name != "position" && if_name != "velocity" && if_name != "effort") {
541-
542539
this->dataPtr->gazebo_topic_fbk_.emplace_back(0.0);
543540

544541
int idx = this->dataPtr->gazebo_topic_fbk_.size() - 1;

0 commit comments

Comments
 (0)