Skip to content

Commit 2568e8c

Browse files
committed
Remove unnecessary block.
1 parent 2cc0777 commit 2568e8c

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

ign_ros2_control/src/ign_system.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -644,8 +644,6 @@ hardware_interface::return_type IgnitionSystem::write(
644644
ignition::gazebo::components::JointVelocityCmd({target_vel}));
645645
} else if (!vel->Data().empty()) {
646646
vel->Data()[0] = target_vel;
647-
} else if (!vel->Data().empty()) {
648-
vel->Data()[0] = target_vel;
649647
}
650648
}
651649
}

0 commit comments

Comments
 (0)