We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2cc0777 commit 2568e8cCopy full SHA for 2568e8c
ign_ros2_control/src/ign_system.cpp
@@ -644,8 +644,6 @@ hardware_interface::return_type IgnitionSystem::write(
644
ignition::gazebo::components::JointVelocityCmd({target_vel}));
645
} else if (!vel->Data().empty()) {
646
vel->Data()[0] = target_vel;
647
- } else if (!vel->Data().empty()) {
648
- vel->Data()[0] = target_vel;
649
}
650
651
0 commit comments