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 0d5a29e commit 6ecbff6Copy full SHA for 6ecbff6
src/ur/ur_driver.cpp
@@ -147,7 +147,7 @@ void UrDriver::init(const UrDriverConfiguration& config)
147
148
const control::PDControllerGains pd_gains = control::getPdGainsFromRobotType(robot_type);
149
std::stringstream pd_gains_ss;
150
- if (robot_version_.major == 5 && robot_version_.minor < 10)
+ if (robot_version_ < urcl::VersionInformation::fromString("5.10.0"))
151
{
152
// Structs are only available in URScript 5.10 and later. It isn't used pre 5.23, so we can safely set it to 0.
153
pd_gains_ss << 0;
0 commit comments