def __init__(self, vrep_io, scene, motors, sync_freq=50., id=None):
        """
        :param vrep_io: vrep io instance
        :type vrep_io: :class:`~pypot.vrep.io.VrepIO`
        :param str scene: path to the V-REP scene file to start
        :param list motors: list of motors attached to the controller
        :param float sync_freq: synchronization frequency
        :param int id: robot id in simulator (useful when using a scene with multiple robots)

        """
        MotorsController.__init__(self, vrep_io, motors, sync_freq)

        self.id = id

        if scene is not None:
            vrep_io.load_scene(scene, start=True)
def __init__ ( self , vrep_io , scene , motors , sync_freq = 50. , id = None ) : MotorsController . __init__ ( self , vrep_io , motors , sync_freq ) self . id = id if scene is not None : vrep_io . load_scene ( scene , start = True )
:param vrep_io: vrep io instance
        :type vrep_io: :class:`~pypot.vrep.io.VrepIO`
        :param str scene: path to the V-REP scene file to start
        :param list motors: list of motors attached to the controller
        :param float sync_freq: synchronization frequency
        :param int id: robot id in simulator (useful when using a scene with multiple robots)