# Path: pypot/dynamixel/io/abstract_io.py
# class DxlError(Exception):
#     """ Base class for all errors encountered using :class:`~pypot.dynamixel.io.DxlIO`. """
#     pass


import time
import logging
from .io.abstract_io import DxlError
from ..robot.controller import MotorsController


logger = logging.getLogger(__name__)


class DxlController(MotorsController):
    def __init__(self, io, motors, sync_freq, synchronous,
                 mode, regname, varname=None):
        MotorsController.__init__(self, io, motors, sync_freq)


# Path: pypot/dynamixel/io/abstract_io.py
# class DxlError(Exception):
#     """ Base class for all errors encountered using :class:`~pypot.dynamixel.io.DxlIO`. """
#     pass


# Path: pypot/dynamixel/controller.py
import time
import logging
from .io.abstract_io import DxlError
from ..robot.controller import MotorsController



logger = logging.getLogger(__name__)


class DxlController(MotorsController):
    def __init__(self, io, motors, sync_freq, synchronous,
                 mode, regname, varname=None):
        MotorsController.__init__(self, io, motors, sync_freq)


        self.ids = [m.id for m in self.working_motors]