Skip to content

Commit 21a63e3

Browse files
urfeexurmahp
andauthored
Apply suggestions from code review
Co-authored-by: Mads Holm Peters <[email protected]>
1 parent f810771 commit 21a63e3

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

doc/architecture/reverse_interface.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ Direct torque control mode
9696
Direct torque control mode is available since PolyScope version 5.23.0 / 10.10.0. It allows to command
9797
joint torques directly to the robot.
9898

99-
.. note:: Target tprques are given **after** gravity compensation. A vector of zeros will hold the current position
99+
.. note:: Target torques are given **after** gravity compensation. A vector of zeros will hold the current position
100100
given that the payload is known to the controller.
101101

102102
.. warning:: Direct torque control is a very low-level command interface. Commanding high torques in

src/control/script_command_interface.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -228,8 +228,7 @@ bool ScriptCommandInterface::endToolContact()
228228

229229
bool ScriptCommandInterface::setFrictionCompensation(const bool friction_compensation_enabled)
230230
{
231-
// ToDo: Increase to 5.23.0 once released
232-
robotVersionSupportsCommandOrWarn(urcl::VersionInformation::fromString("5.22.0"),
231+
robotVersionSupportsCommandOrWarn(urcl::VersionInformation::fromString("5.23.0"),
233232
urcl::VersionInformation::fromString("10.10.0"), __func__);
234233
const int message_length = 2;
235234
uint8_t buffer[sizeof(int32_t) * MAX_MESSAGE_LENGTH];

0 commit comments

Comments
 (0)