Skip to content

Commit bae79c9

Browse files
authored
Fix documentation of direct_torque example (UniversalRobots#467)
1 parent e8802f9 commit bae79c9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

doc/examples/direct_torque_control.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ It applies a sinusoidal torque to the 6th joint (index 5) while reading the join
1010
it make sure to
1111

1212
* have an instance of a robot controller running at the configured IP address (or adapt the
13-
address to your needs). On URSim torque commands don't have any effect.
13+
address to your needs). On URSim torque commands don't have any effect.
1414
* have PolyScope version 5.25.1 / 10.12.1 or later installed on the robot.
1515
* run it from the package's main folder (the one where the README.md file is stored), as for
1616
simplicity reasons it doesn't use any sophisticated method to locate the required files.
@@ -69,7 +69,7 @@ position for ``JOINT_INDEX`` is set to ``start_position`` and the robot is moved
6969
:linenos:
7070
:lineno-match:
7171
:start-at: // Once RTDE communication is started
72-
:end-at: instruction_executor->moveJ(g_joint_positions, 1.4, 1.04, 0.1);
72+
:end-at: instruction_executor->optimoveJ(g_joint_positions);
7373

7474
Robot control loop
7575
------------------

0 commit comments

Comments
 (0)