3aafaa7c8128ce8b799906bef4fc12a2e779d4a3,pybulletgym/envs/env_bases.py,BaseBulletEnv,_reset,#BaseBulletEnv#,34

Before Change


		return [seed]

	def _reset(self):
		print("self.isRender=")
		print(self.isRender)
		if self.physicsClientId<0:
			if self.isRender:
				self.physicsClientId = p.connect(p.GUI)

After Change


				self.physicsClientId = 0
			else:
				self.ownsPhysicsClient = True
				self.physicsClientId = p.connect(p.SHARED_MEMORY)
				if (self.physicsClientId<0):
					if (self.isRender):
						self.physicsClientId = p.connect(p.GUI)
					else:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 2

Instances


Project Name: benelot/pybullet-gym
Commit Name: 3aafaa7c8128ce8b799906bef4fc12a2e779d4a3
Time: 2018-05-02
Author: be.ellenberger@gmail.com
File Name: pybulletgym/envs/env_bases.py
Class Name: BaseBulletEnv
Method Name: _reset


Project Name: hanxiao/bert-as-service
Commit Name: dd3c13d51975d7ca569681dd19639473d19e8e85
Time: 2018-12-14
Author: hanhxiao@tencent.com
File Name: server/bert_serving/server/__init__.py
Class Name: BertWorker
Method Name: run


Project Name: OpenMined/Grid
Commit Name: 92bb41035940965a436897f16294b6b563117efc
Time: 2021-02-21
Author: ionesiojr@gmail.com
File Name: apps/domain/src/main/core/services/infra_service.py
Class Name:
Method Name: create_worker_msg