docs: def get_mockup_motor(self, motor):
          """ Gets the equivalent :class:`~pypot.primitive.primitive.MockupMotor`. """
          return next((m for m in self.robot.motors if m.name == motor.name), None)