Skip to content

Commit

Permalink
Make depreaction warning for keepalive_counter a warning instead of e…
Browse files Browse the repository at this point in the history
…rror (#182)
  • Loading branch information
fmauch authored Sep 22, 2023
1 parent c3bead7 commit 9161d6b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/ur/ur_driver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -585,11 +585,11 @@ std::vector<std::string> UrDriver::getRTDEOutputRecipe()

void UrDriver::setKeepaliveCount(const uint32_t count)
{
URCL_LOG_ERROR("DEPRECATION NOTICE: Setting the keepalive count has been deprecated. Instead use the "
"RobotReceiveTimeout, to set the timeout directly in the write commands. Please change your code to "
"set the "
"read timeout in the write commands directly. This keepalive count will overwrite the timeout passed "
"to the write functions.");
URCL_LOG_WARN("DEPRECATION NOTICE: Setting the keepalive count has been deprecated. Instead use the "
"RobotReceiveTimeout, to set the timeout directly in the write commands. Please change your code to "
"set the "
"read timeout in the write commands directly. This keepalive count will overwrite the timeout passed "
"to the write functions.");
reverse_interface_->setKeepaliveCount(count);
}

Expand Down

0 comments on commit 9161d6b

Please sign in to comment.