@@ -228,7 +228,8 @@ bool ScriptCommandInterface::endToolContact()
228228
229229bool ScriptCommandInterface::setFrictionCompensation (const bool friction_compensation_enabled)
230230{
231- robotVersionSupportsCommandOrWarn (urcl::VersionInformation::fromString (" 5.23.0" ),
231+ // ToDo: Increase to 5.23.0 once released
232+ robotVersionSupportsCommandOrWarn (urcl::VersionInformation::fromString (" 5.22.0" ),
232233 urcl::VersionInformation::fromString (" 10.10.0" ), __func__);
233234 const int message_length = 2 ;
234235 uint8_t buffer[sizeof (int32_t ) * MAX_MESSAGE_LENGTH];
@@ -253,7 +254,8 @@ bool ScriptCommandInterface::setFrictionCompensation(const bool friction_compens
253254
254255bool ScriptCommandInterface::setPDControllerGains (const urcl::vector6d_t * kp, const urcl::vector6d_t * kd)
255256{
256- robotVersionSupportsCommandOrWarn (urcl::VersionInformation::fromString (" 5.23.0" ),
257+ // ToDo: Increase to 5.23.0 once released
258+ robotVersionSupportsCommandOrWarn (urcl::VersionInformation::fromString (" 5.22.0" ),
257259 urcl::VersionInformation::fromString (" 10.10.0" ), __func__);
258260 const int message_length = 13 ;
259261 uint8_t buffer[sizeof (int32_t ) * MAX_MESSAGE_LENGTH];
@@ -287,7 +289,8 @@ bool ScriptCommandInterface::setPDControllerGains(const urcl::vector6d_t* kp, co
287289
288290bool ScriptCommandInterface::setMaxJointTorques (const urcl::vector6d_t * max_joint_torques)
289291{
290- robotVersionSupportsCommandOrWarn (urcl::VersionInformation::fromString (" 5.23.0" ),
292+ // ToDo: Increase to 5.23.0 once released
293+ robotVersionSupportsCommandOrWarn (urcl::VersionInformation::fromString (" 5.22.0" ),
291294 urcl::VersionInformation::fromString (" 10.10.0" ), __func__);
292295 const int message_length = 7 ;
293296 uint8_t buffer[sizeof (int32_t ) * MAX_MESSAGE_LENGTH];
0 commit comments