示例#1
0
    def __init__(self,
                 world,
                 name = "Link",
                 module = None,
                 cfg = None,
                 data = None,
                 **params):

        Box.__init__(self, name=name, **params)

        self.world = world
        self.module = module
        self.cfg = cfg
        self.data = data
        self.motor = {}

        self._configureBody()
        self._configureGeom()