code: async def set_slave_params(self):
          '''Set origin and grid size for each slave environment.
  
          This method needs to be called before slave environments are populated
          and agents' and slave environments' neighbors are set.
          '''
          self._slave_origins = []
          cur_x = self.origin[0]
          for addr in self.addrs:
              new_origin = (cur_x, self.origin[1])
              await self.set_origin(addr, new_origin)
              await self.set_gs(addr, self._gs)
              self._slave_origins.append((new_origin, addr))
              new_x = cur_x + self.gs[0]
              cur_x = new_ync def set_slave_params(self):
          '''Set origin and grid size for each slave environment.
  
          This method needs to be called before slave environments are populated
          and agents' and slave environments' neighbors are set.
          '''
          self._slave_origins = []
          cur_x = self.origin[0]
          for addr in self.addrs:
              new_origin = (cur_x, self.origin[1])
              await self.set_origin(addr, new_origin)
              await self.set_gs(addr, self._gs)
              self._slave_origins.append((new_origin, addr))
              new_x = cur_x + self.gs[0]
              cur_x = new_x
docs: Set origin and grid size for each slave environment.
  
          This method needs to be called before slave environments are populated
          and agents' and slave environments' neighbors are set.