Skip to content

Commit 2c8da42

Browse files
docs: Correct formula in jount-coupling task
1 parent 678ded3 commit 2c8da42

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pink/tasks/joint_coupling_task.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,21 +22,21 @@ class JointCouplingTask(LinearHolonomicTask):
2222
2323
.. math::
2424
25-
\sum_{j \in J} r_j q_j
25+
\sum_{j \in J} r_j q_j = 0
2626
2727
where :math:`J` is a given set of joints the task is configured for,
2828
:math:`r_j` is the "ratio" associated with a joint :math:`j \in J` and
2929
:math:`q_j` is the current joint angle (in the configuration vector
3030
:math:`q`).
3131
32-
A simple use case of this task is:
32+
For instance, the humanoid Draco 3 examples uses this task to enforce:
3333
3434
.. math::
3535
3636
q_1 - q_2 = 0
3737
38-
where the two joints in :math:`J = {1, 2}` are coupled to rotate in
39-
opposite directions.
38+
where two joints :math:`J = \{1, 2\}` are coupled to share the same joint
39+
angle. The ratios are then :math:`r_1 = 1` and :math:`r_2 = -1`.
4040
4141
This task is a particular case of the more general
4242
:class:`pink.tasks.linear_holonomic_task.LinearHolonomicTask`.

0 commit comments

Comments
 (0)