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 2061af3 commit 05cbabeCopy full SHA for 05cbabe
abb_hardware_interface/src/abb_hardware_interface.cpp
@@ -258,7 +258,7 @@ CallbackReturn ABBSystemHardware::on_activate(const rclcpp_lifecycle::State& /*
258
{
259
size_t counter = 0;
260
RCLCPP_INFO(LOGGER, "Connecting to robot...");
261
- while (rclcpp::ok() && ++counter < NUM_CONNECTION_TRIES)
+ while (rclcpp::ok() && counter++ < NUM_CONNECTION_TRIES)
262
263
// Wait for a message on any of the configured EGM channels.
264
if (egm_manager_->waitForMessage(500))
0 commit comments