@@ -228,6 +228,8 @@ bool ScriptCommandInterface::endToolContact()
228228
229229bool ScriptCommandInterface::setFrictionCompensation (const bool friction_compensation_enabled)
230230{
231+ robotVersionSupportsCommandOrWarn (urcl::VersionInformation::fromString (" 5.23.0" ),
232+ urcl::VersionInformation::fromString (" 10.10.0" ), __func__);
231233 const int message_length = 2 ;
232234 uint8_t buffer[sizeof (int32_t ) * MAX_MESSAGE_LENGTH];
233235 uint8_t * b_pos = buffer;
@@ -251,6 +253,8 @@ bool ScriptCommandInterface::setFrictionCompensation(const bool friction_compens
251253
252254bool ScriptCommandInterface::setPDControllerGains (const urcl::vector6d_t * kp, const urcl::vector6d_t * kd)
253255{
256+ robotVersionSupportsCommandOrWarn (urcl::VersionInformation::fromString (" 5.23.0" ),
257+ urcl::VersionInformation::fromString (" 10.10.0" ), __func__);
254258 const int message_length = 13 ;
255259 uint8_t buffer[sizeof (int32_t ) * MAX_MESSAGE_LENGTH];
256260 uint8_t * b_pos = buffer;
@@ -283,6 +287,8 @@ bool ScriptCommandInterface::setPDControllerGains(const urcl::vector6d_t* kp, co
283287
284288bool ScriptCommandInterface::setMaxJointTorques (const urcl::vector6d_t * max_joint_torques)
285289{
290+ robotVersionSupportsCommandOrWarn (urcl::VersionInformation::fromString (" 5.23.0" ),
291+ urcl::VersionInformation::fromString (" 10.10.0" ), __func__);
286292 const int message_length = 7 ;
287293 uint8_t buffer[sizeof (int32_t ) * MAX_MESSAGE_LENGTH];
288294 uint8_t * b_pos = buffer;
0 commit comments