


-
A relation object is created and specified as a relation between velocities:
-
The constant coefficients that appear in the relation are created. The first constant term is created by:
-
The second coefficient and constant right hand side are created by:
-
The first term of relation (1) X ω_1 is added to the relation object:
The first argument is the joint object. The second argument defines the DOF (degrees of freedom) of the joint that are involved in the relation. Here,
0represents the rotation, which is the joint’s first and only DOF is the rotation. -
The second term and right hand side are introduced in the same manner:
-
The relation is added to the list of relations: