<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def set_joint_mode(self, ids):
 """ Sets the specified motors to joint mode. """

        self.set_control_mode(dict(zip(ids, itertools.repeat('joint'))))