This repository was archived by the owner on Oct 17, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +0
-4
lines changed Expand file tree Collapse file tree 2 files changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -140,7 +140,6 @@ GazeboRosControlPlugin::~GazeboRosControlPlugin()
140140// Overloaded Gazebo entry point
141141void 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 ());
Original file line number Diff line number Diff 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 ;
You can’t perform that action at this time.
0 commit comments